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. 

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. 

Doing it this way allows you the option to run multiple separate instances of TOMCAT using diferent classpaths. 

 

Please let me know if this helped. 

 

Al Torna

>From: "Gabriel Marti" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: jsp pages wont recompile automatically after reloading
>Date: Thu, 28 Jun 2001 14:20:49 -0400
>
>Hello, this is my first post, Im not sure if this is the subscription
>process, or the real deal. Anyhow my problem is that I cant get my jsp pages
>to recompile automatically, after ive made changes to them. If i rename the
>file, then obviosly it gets recompiled when i reload it in the browser. Also
>if i remove the .class file from the tomcat\work\localhost\workingdirectory,
>then it also works. This has really been bothering me. Here is what i use
>and have done:
>
>Tomcat 4 beta 5.
>JDK1.3.0_02
>IE5.5
>
>Withing my tomcat\conf\server.xml file i have added the following context:
>
>>reloadable="true">
>
>
>Here are my mappings in the autoexec:
>PATH=D:\jdk1.3.0_02\bin;%PATH%
>SET CATALINA_HOME=D:\tomcat
>SET CLASSPATH=
>%CLASSPATH%;D:\jdk1.3.0_02\jre\classes;D:\tomcat\common\lib\servlet.jar;D:\t
>omcat\bin\jdbc.jar
>SET JAVA_HOME=D:\jdk1.3.0_02
>
>Im not an expert at manipulating the bat files nor the xml files so alot of
>this stuff is new and confusing to me. Any help would be greatly
>appreciated. thanks
>
>Gabriel


Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to