For Programmers: Free Programming Magazines  


Home > Archive > Java Help > April 2005 > Tomcat won't reload apps unles I turn off and on..









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Tomcat won't reload apps unles I turn off and on..
Frances Del Rio

2005-04-24, 3:57 pm

I put this in tomcat\conf\server.xml..

<DefaultContext reloadable="true"/>

but still, if I make a change to a servlet and compile Tomcat will not
reflect changes unless I turn it off and on again.. this is extremely
annoying... (version is 5.0.27.. on W2k..)

(I put this same line in server.xml on server where my website is, and
it works fine, I hit reload once on browser and Tomcat always reloads
from newly-uploaded classes w/no problem, don't know why this won't work
locally on my machine..)

thank you....... Frances


ckwiguno@gmail.com

2005-04-24, 8:57 pm

Sometimes you should wait a few seconds before the class got
loaded...It happens to me...

Frances Del Rio

2005-04-25, 8:58 pm

ckwiguno@gmail.com wrote:
> Sometimes you should wait a few seconds before the class got
> loaded...It happens to me...
>



I guess I do... although sometimes it simply won't reload until I turn
off and on again.. (which happens to me on windows both at home and at
work.. but not on my webiste on unix.. maybe Tomcat reloads better on
unix..)
thank you for your response.. Frances


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com