Hey,
the problem of Tomcat 5.0.x and Context autoreloading is very strange.
Only <Context path="/xx" docBase="xx" reloadable="true" orverride="true" .../> work.
or setup a <DefaultContext reloadable="true" />
The Tomcat 5.0.x context configuration is
a) create a StandardContext and load context.xml file
b) check with the o.a.c.startup.ContextConfig the Engine and Host DefaultContext as Contex.overide=false.
This call installDefaultContext and use the reloadble flag from host or engine.
Host load before Engine.
c) Loads conf/web.xml and WEB-INF/web.xml
Side effect from Context.overide=true is that some elements from defaultcontext setup
not interpreted. (very bad bad bad)
At Tomcat 5.5.x the world is very clear:
a) Create a StandardContext
b) Load the context.xml
global /conf/context.xml
host /conf/<engine>/<host>/context.xml.default
app /conf/<engine>/<host>/app.xml
c) Load web.xml with the same procedure at b)
global /conf/web.xml
host /conf/<engine>/<host>/web.xml.default
app /webapps/app/WEB-INF/web.xml or at war app.war!/WEB-INF/web.xmlI find the new 5.5 design/implementation is very good step.
regards Peter
Didier McGillis schrieb:
Thanks
From: "Steve Kirk" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Subject: RE: auto reload? Date: Thu, 28 Oct 2004 21:30:33 +0100
I think you might mean this?
<Context docBase="... myapp location ..." path="/myapp" reloadable="true">
You can put this line in server.xml (within the standard <Host> tag) or in
context.xml
For more details on <Context> and the reloadable attribute, see (for version
5.0.x):
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
> -----Original Message----- > From: Didier McGillis [mailto:[EMAIL PROTECTED] > Sent: Thursday 28 October 2004 21:24 > To: [EMAIL PROTECTED] > Subject: auto reload? > > > Sorry I am drawing a blank at the end of the day. > IS this what I enable to have a development environment > reload classes > automatically? > > And where do I enable this? > > _________________________________________________________________ > Powerful Parental Controls Let your child discover the best > the Internet has > to offer. > http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994& > DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines > Start enjoying all the benefits of MSNR Premium right now > and get the > first two months FREE*. > > > --------------------------------------------------------------------- > 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]
_________________________________________________________________
Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN� Premium right now and get the first two months FREE*.
--------------------------------------------------------------------- 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]
