Good Morning,

I have an application I am attempting to deploy under Tomcat5 (5.5.23
from CentOS 5.4) that requires a specific CLASSPATH and
LD_LIBRARY_PATH be set. I don't seem to be having any problems setting
the LD_LIBRARY_PATH (just added a line to tomcat5.conf), but am having
a heck of a time getting the CLASSPATH set.

With no line in the file mentioning CLASSPATH, no environmental
variable named CLASSPATH is being set (according to a JSP page I
created that prints the environmental variables).  If I add
CLASSPATH=/some/jar:some/other/jar to the file, however, the following
is set:

CLASSPATH= 
/usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar

It doesn't matter what value for CLASSPATH I assign in tomcat5.conf,
the above is still the CLASSPATH that makes its way to my application.

I have unsuccessfully trolled the documentation and am running out of
ideas.  The application is running fine under Oracle Application
Server's OC4J and under Tomcat5 under Windoze, but I haven't been able
to set the CLASSPATH to get this to work under Linux (which is what I
would like to deploy).

Can anybody assist?

Thanks!

Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to