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 Thu, 02 Oct 2003 16:21:09 GMT
Ok, thanks.

Steven Cunningham
Database Management Group
Liberty Mutual


-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] 
Sent: Thursday, October 02, 2003 12:08 PM
To: Tomcat Users List
Subject: RE: Classes not recompiling - Have to restart Tomcat



Howdy,
There's the same ease IMHO.  If you have to pick, restart tomcat I
suppose, as it's better to test from a clean start of the server than a
reload, especially if you have reloading problems.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Cunningham, Steven [mailto:Steven.Cunningham@LibertyMutual.com]
>Sent: Thursday, October 02, 2003 12:05 PM
>To: Tomcat Users List
>Subject: RE: Classes not recompiling - Have to restart Tomcat
>
>Anyone? :(
>
>Steven Cunningham
>Aspiring J-Developer
>
>
>-----Original Message-----
>From: Cunningham, Steven
>Sent: Thursday, October 02, 2003 9:06 AM
>To: Tomcat Users List
>Subject: RE: Classes not recompiling - Have to restart Tomcat
>
>
>So which would be quicker/easier?
>Restarting tomcat (which is handled by Eclipse, so 1 button press) or 
>compiling the classes myself and hope tomcat picks them up?
>
>Steven Cunningham
>Aspiring J-Developer
>
>
>-----Original Message-----
>From: Seth Rubin [mailto:srubin@thoughtprocess.com]
>Sent: Wednesday, October 01, 2003 4:39 PM
>To: Tomcat Users List
>Subject: RE: Classes not recompiling - Have to restart Tomcat
>
>
>I wouldn't think so, but I don't know firsthand.  I started with 
>v4.1.24, where Tomcat would automatically pick up my recompiled
classes.
>Then I went to 4.1.27 where I experienced the aforementioned problem.
>
>-- Seth Rubin
>   ThoughtProcess Technology LLC
>
>-----Original Message-----
>From: Cunningham, Steven [mailto:Steven.Cunningham@LibertyMutual.com]
>Sent: Wednesday, October 01, 2003 4:25 PM
>To: Tomcat Users List
>Subject: RE: Classes not recompiling - Have to restart Tomcat
>
>
>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
>
>
>---------------------------------------------------------------------
>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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
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