Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50488
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 4 Jan 2011 16:56:58 +0000 (16:56 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 4 Jan 2011 16:56:58 +0000 (16:56 +0000)
Update classpath required when using jsvc and add a note regarding server VMs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1055101 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/changelog.xml
webapps/docs/setup.xml

index cbdb441..32028d3 100644 (file)
       <update>
         Improve documentation of database connection factory. (rjung)
       </update>
+      <fix>
+        <bug>50488</bug>: Update classpath required when using jsvc and add a
+        note regarding server VMs. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Other">
index 303f2ac..f07ff7e 100644 (file)
 
 <source>
     cd $CATALINA_HOME
-    ./bin/jsvc -cp ./bin/bootstrap.jar \
+    ./bin/jsvc -cp ./bin/bootstrap.jar:./bin/tomcat-juli.jar \
         -outfile ./logs/catalina.out -errfile ./logs/catalina.err \
         org.apache.catalina.startup.Bootstrap
 </source>
 
+    <p>You may also need to specify <code>-jvm server</code> if you JVM defaults
+       to using a server VM rather than a client VM. This has been observed on
+       OSX.</p>
+
     <p>jsvc has other useful parameters, such as <code>-user</code> which 
        causes it to switch to another user after the daemon initialization is
        complete. This allows, for example, running Tomcat as a non privileged