Hi,
In the process of getting to run jBoss and Tomcat in the same JVM like mentioned on 
the "Running Tomcat with jBoss" page I came across a problem newbie users will 
certainly come across.
I downloaded the latest cvs-sources-zip from jBoss and have build from there.
I downloaded the latest milestone build from Tomcat (v3.2-beta2).
I set the variables TOMCAT_HOME, SERVLETAPI_HOME and made sure the CLASSPATH contains 
the tools.jar and Tomcat still wouldn't come up.
The reason is that the run.sh script in the ../jboss/dist/bin folder contains :
CLASSPATH=$CLASSPATH:$TOMCAT_HOME/classes
however the jar files for Tomcat are located in the $TOMCAT_HOME/lib folder.
So changing :
CLASSPATH=$CLASSPATH:$TOMCAT_HOME/classes
to :
CLASSPATH=$CLASSPATH:$TOMCAT_HOME/lib
is the solution.

Keep up the good work
A happy new contributor joining jBoss

Werner Ramaekers
CTO - Shift@
www.shiftat.com


Reply via email to