<html><DIV>
<P><BR><BR></P>
<DIV></DIV>
<P>How are you starting tomcat? If you're starting it with startup.bat or
tomcat start, then the class paths are referenced inside the .bat files. Personally,
I keep all the class files, .JARs, ETC. inside the tomcat directory. The only environment
variable Tomcat uses is the for the JAVA_HOME. Other than that, everything else
is referenced by that instance. You can check your class path by typing tomcat env
within your \tomcat\bin directory. This will give you the classpath as THAT istance
will see it. </P>
<P>If you choose to start tomcat as a service (I'm assuming you're using NT looking
at what you have), then what ever classpaths you have in your bat files should be in the \tomcat\conf\wrapper.properties.
</P></DIV>
<P>Doing it this way allows you the option to run multiple separate instances of TOMCAT
using diferent classpaths. </P>
<DIV></DIV>
<P> </P>
<DIV></DIV>
<P>Please let me know if this helped. </P>
<DIV></DIV>
<P> </P>
<DIV></DIV>
<P>Al Torna<BR><BR></P>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>>From: "Gabriel Marti" <MARTIGABRIEL@HOTMAIL.COM>
<DIV></DIV>
<DIV></DIV>>Reply-To: tomcat-user@jakarta.apache.org
<DIV></DIV>
<DIV></DIV>>To: <TOMCAT-USER@JAKARTA.APACHE.ORG>
<DIV></DIV>
<DIV></DIV>>Subject: jsp pages wont recompile automatically after reloading
<DIV></DIV>
<DIV></DIV>>Date: Thu, 28 Jun 2001 14:20:49 -0400
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Hello, this is my first post, Im not sure if this is the subscription
<DIV></DIV>
<DIV></DIV>>process, or the real deal. Anyhow my problem is that I cant
get my jsp pages
<DIV></DIV>
<DIV></DIV>>to recompile automatically, after ive made changes to them.
If i rename the
<DIV></DIV>
<DIV></DIV>>file, then obviosly it gets recompiled when i reload it in
the browser. Also
<DIV></DIV>
<DIV></DIV>>if i remove the .class file from the tomcat\work\localhost\workingdirectory,
<DIV></DIV>
<DIV></DIV>>then it also works. This has really been bothering me. Here
is what i use
<DIV></DIV>
<DIV></DIV>>and have done:
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Tomcat 4 beta 5.
<DIV></DIV>
<DIV></DIV>>JDK1.3.0_02
<DIV></DIV>
<DIV></DIV>>IE5.5
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Withing my tomcat\conf\server.xml file i have added the following
context:
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>><CONTEXT path="/clan" docBase="D:/tomcat/webapps/clan" debug="5"
< DIV>>reloadable="true">
<DIV></DIV>
<DIV></DIV>> </CONTEXT>
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Here are my mappings in the autoexec:
<DIV></DIV>
<DIV></DIV>>PATH=D:\jdk1.3.0_02\bin;%PATH%
<DIV></DIV>
<DIV></DIV>>SET CATALINA_HOME=D:\tomcat
<DIV></DIV>
<DIV></DIV>>SET CLASSPATH=
<DIV></DIV>
<DIV></DIV>>%CLASSPATH%;D:\jdk1.3.0_02\jre\classes;D:\tomcat\common\lib\servlet.jar;D:\t
<DIV></DIV>
<DIV></DIV>>omcat\bin\jdbc.jar
<DIV></DIV>
<DIV></DIV>>SET JAVA_HOME=D:\jdk1.3.0_02
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Im not an expert at manipulating the bat files nor the xml
files so alot of
<DIV></DIV>
<DIV></DIV>>this stuff is new and confusing to me. Any help would be greatly
<DIV></DIV>
<DIV></DIV>>appreciated. thanks
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Gabriel
<DIV></DIV>
<DIV></DIV><br clear=all><hr>Get your FREE download of MSN Explorer
at <a href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>
|