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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
>>
>>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to