tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cunningham, Steven" <Steven.Cunning...@LibertyMutual.com>
Subject RE: Classes not recompiling - Have to restart Tomcat
Date Wed, 01 Oct 2003 20:25:02 GMT
Well, I'm running 4.1.12
Would that apply or has anyone had problems with that version?

Steven Cunningham
Database Management Group
Liberty Mutual


-----Original Message-----
From: Seth Rubin [mailto:srubin@thoughtprocess.com] 
Sent: Wednesday, October 01, 2003 4:23 PM
To: Tomcat Users List
Subject: RE: Classes not recompiling - Have to restart Tomcat


In my experience, you do have to recompile your own classes...

As for class reloading, Tomcat would automatically pick up my recompiled
classes until 4.1.27, which would spit out all sorts of errors instead,
and I'd have to restart.

I recently perused
http://www.apache.org/dist/jakarta/tomcat-4/binaries/,
and saw they added a hotfix which solved the problem.
Get 4.1.27-hotfix-22096 from there or a mirror site, and uncompress it
into your tomcat directory.

-- Seth

-----Original Message-----
From: David Rees [mailto:dbr@greenhydrant.com]
Sent: Wednesday, October 01, 2003 3:56 PM
To: Tomcat Users List
Subject: RE: Classes not recompiling - Have to restart Tomcat


On Wed, October 1, 2003 1at 2:49 pm, Shapira, Yoav sent the following
>>From: Cunningham, Steven [mailto:Steven.Cunningham@LibertyMutual.com]
>>
>>Hi, I'm fairly new to tomcat, and though I'm not sure why, but tomcat 
>>won't recompile my classes while I'm working. I have to manually 
>>restart tomcat each time I want it to compile.
>>
>>Now a couple notes:
>>
>>Reloadable is set to true.
>>JSP's recompile just fine when saved.
>>
>>Anyone have any ideas?
>
> Are there any errors in the tomcat log?

I didn't know that Tomcat would compile classes for you...  I always
compile classes myself and then let the automatic class reloading pick
up the changes.

In practice, however, I have had problems with Tomcat noticing the
changed classes as well, so I usually set reloadable to false and then
manually reload the context using the manager webapp when I want to
reload classes.

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message