Tomcat 3.2.1 does not seem to automatically reload arbitary Java Beans or Servlets. I 
found that
the web context will reload if the deployment descriptor "web.xml" as modified or 
"touched".
Also I found if the servlet was specifically mentioned in the "web.xml" then it will 
reload if
the class is changed too. It is weird I know. I too miss the automatic reloading of 
ApacheJServ.
And I don't know why if does not work for TOmcat too.

--
Peter Pilgrim
G.O.A.T
                    "the Greatest Of All Time"



---------------------------------------- Message History 
----------------------------------------


From: Andy Skinner <[EMAIL PROTECTED]>@java.sun.com> on 25/01/2001 09:18 PST

--<CUT>--

The archives/docs contain two main pieces of advice for those seeking to enable 
autoreloading of servlets under a specific Tomcat context.
i) Set the <Context reloadable="true"> attribute for your context.
ii) Ensure that the classpath used to start Tomcat doesn't include the path to your 
servlets.

Having (as far as I can see :-) followed this advice, I _still_ can't get 
autoreloading to work.

My environment:
Tomcat 3.2 (in standalone mode)
SunOS 5.6
CLASSPATH=.:${SERVLET_HOME} #$SERVLET_HOME is the path to the Servlet 2.2 classes
---<CUT>--




--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to