On Mon, 7 Jan 2002, vijay wrote: > Can any one explain why TOMCAT webserver is not taking the > CLASSPATH defined in bash_profile. > > i've installed TOMCAT 4.0 on LINUX 7.0. When i start the server it takes the > following classpath > :/usr/local/jakarta/bin/bootstrap.jar:/usr/local/java/lib/tools.jar > > > instead of taking the CLASSPATH given in .bash_profile: > >CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip:$ORACLE_HOME/jdbc/lib/classes12.zip:$ORACLE_HOME/jdbc/lib/nls_charset11.zip:/usr/bin/JSDK2.0/lib/jsdk.jar:/usr/local/jakarta
How are you starting tomcat? Via a shell script? (That's probably the case, as I think that's the standard way to do it.) If so, what may matter is the CLASSPATH (and other environment variables) set up in that shell script, not in your shell's profile. So you may need to define the CLASSPATH there. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
