You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Allistair Crossley <Al...@QAS.com> on 2004/09/22 17:25:08 UTC
RE: Deploy of single class into reloadable context throws
LifecycleException with no recovery
Hey no problem :)
It's interesting that I cannot produce the same problem on my local instance of Tomcat; this was on the production server I was referrring to. The only difference between the two is that the production instance has no JSPs - they are all precompiled, but that's it .. they are both reloadable contexts.
I will have a go at your fix on the production server after hours for obvious reasons!
Cheers!
Allistair
> -----Original Message-----
> From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
> Sent: 22 September 2004 16:08
> To: Tomcat Users List
> Subject: RE: Deploy of single class into reloadable context throws
> LifecycleException with no recovery
>
>
>
> Hi,
>
> >One of our web applications has context reload="true" set so that we
> can
> >deploy single class patches (side question: is there a better way of
> hot-
> >deploying single-class patching?)
>
> You could turn off reloadable and instead use the Manager app
> to reload
> your webapps. It's not necessarily better, there are pros and cons.
> Especially for development, your approach is fine.
>
> >Tomcat never recovers from this and we have to restart the service.
> >
> >INFO: Reloading this Context has started
> >22-Sep-2004 10:02:25 org.apache.catalina.core.StandardContext reload
> >SEVERE: Cannot find message associated with key
> >standardContext.stoppingContext
>
> Hmm, I wonder if the resource is missing. Yup, sure like it. That's
> probably me being careless ;(
>
> Quick workaround: take $CATALINA_HOME/server/lib/catalina.jar, unpack
> it, edit org/apache/catalina/core/LocalStrings.properties, add a line
> for standardContext.stoppingContext to the file with whatever message
> you want, repack jar, put back in $CATALINA_HOME/server/lib, restart
> server. Let us know if that fixes the problem.
>
> Proper solution: I'll open a Bugzilla ticket for this and fix it right
> away, so that CVS and future Tomcat releases don't have this problem.
>
> Sorry about that, and thanks for reporting it.
>
> Yoav
>
>
>
> 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
>
>
<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org