tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto Torna Jr." <alto...@hotmail.com>
Subject Re: jsp pages wont recompile automatically after reloading
Date Thu, 01 Jan 1970 00:00:00 GMT
<html><DIV>
<P><BR><BR></P>
<DIV></DIV>
<P>How are you starting tomcat?&nbsp; If you're starting it with startup.bat or
tomcat start, then the class paths are referenced inside the .bat files.&nbsp; Personally,
I keep all the class files, .JARs, ETC. inside the tomcat directory.&nbsp; The only environment
variable Tomcat uses is the for the JAVA_HOME.&nbsp; Other than that, everything else
is referenced by that instance.&nbsp; You can check your class path by typing tomcat env
within your \tomcat\bin directory.&nbsp; This will give you the classpath as THAT istance
will see it.&nbsp; </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.&nbsp;
</P></DIV>
<P>Doing it this way allows you the option to run multiple separate instances of TOMCAT
using diferent classpaths.&nbsp; </P>
<DIV></DIV>
<P>&nbsp;</P>
<DIV></DIV>
<P>Please let me know if this helped.&nbsp; </P>
<DIV></DIV>
<P>&nbsp;</P>
<DIV></DIV>
<P>Al Torna<BR><BR></P>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: "Gabriel Marti" <MARTIGABRIEL@HOTMAIL.COM>
<DIV></DIV>
<DIV></DIV>&gt;Reply-To: tomcat-user@jakarta.apache.org 
<DIV></DIV>
<DIV></DIV>&gt;To: <TOMCAT-USER@JAKARTA.APACHE.ORG>
<DIV></DIV>
<DIV></DIV>&gt;Subject: jsp pages wont recompile automatically after reloading

<DIV></DIV>
<DIV></DIV>&gt;Date: Thu, 28 Jun 2001 14:20:49 -0400 
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV></DIV>
<DIV></DIV>&gt;Hello, this is my first post, Im not sure if this is the subscription

<DIV></DIV>
<DIV></DIV>&gt;process, or the real deal. Anyhow my problem is that I cant
get my jsp pages 
<DIV></DIV>
<DIV></DIV>&gt;to recompile automatically, after ive made changes to them.
If i rename the 
<DIV></DIV>
<DIV></DIV>&gt;file, then obviosly it gets recompiled when i reload it in
the browser. Also 
<DIV></DIV>
<DIV></DIV>&gt;if i remove the .class file from the tomcat\work\localhost\workingdirectory,

<DIV></DIV>
<DIV></DIV>&gt;then it also works. This has really been bothering me. Here
is what i use 
<DIV></DIV>
<DIV></DIV>&gt;and have done: 
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV></DIV>
<DIV></DIV>&gt;Tomcat 4 beta 5. 
<DIV></DIV>
<DIV></DIV>&gt;JDK1.3.0_02 
<DIV></DIV>
<DIV></DIV>&gt;IE5.5 
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV></DIV>
<DIV></DIV>&gt;Withing my tomcat\conf\server.xml file i have added the following
context: 
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV></DIV>
<DIV></DIV>&gt;<CONTEXT path="/clan" docBase="D:/tomcat/webapps/clan" debug="5"
< DIV>&gt;reloadable="true"&gt; 
<DIV></DIV>
<DIV></DIV>&gt; </CONTEXT>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV></DIV>
<DIV></DIV>&gt;Here are my mappings in the autoexec: 
<DIV></DIV>
<DIV></DIV>&gt;PATH=D:\jdk1.3.0_02\bin;%PATH% 
<DIV></DIV>
<DIV></DIV>&gt;SET CATALINA_HOME=D:\tomcat 
<DIV></DIV>
<DIV></DIV>&gt;SET CLASSPATH= 
<DIV></DIV>
<DIV></DIV>&gt;%CLASSPATH%;D:\jdk1.3.0_02\jre\classes;D:\tomcat\common\lib\servlet.jar;D:\t

<DIV></DIV>
<DIV></DIV>&gt;omcat\bin\jdbc.jar 
<DIV></DIV>
<DIV></DIV>&gt;SET JAVA_HOME=D:\jdk1.3.0_02 
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV></DIV>
<DIV></DIV>&gt;Im not an expert at manipulating the bat files nor the xml
files so alot of 
<DIV></DIV>
<DIV></DIV>&gt;this stuff is new and confusing to me. Any help would be greatly

<DIV></DIV>
<DIV></DIV>&gt;appreciated. thanks 
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV></DIV>
<DIV></DIV>&gt;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>

Mime
View raw message