Assuming you run tomcat:
When you enable "reloadable='true'" in your Context the
whole webapp should restart every time a class is changed.
Once in a while i get unpredictable behaviour like
webapp doesnt restart, or hangs during restart or even
VM exits.
I never figured out, what my container complains about,
but in general i'm happy with "reloadable='true'" during
development. For production it would be a very bad idea
to enable this feature ;-)
I heard rumours about the possibility with tomcat to
only reload the changed resources while keeping the webapp
up and running, but i never found the howto...
regards, hussayn
Robert Simmons wrote:
Nope .. didn't work. Still has the old class cached. I hope I don have to
redeploy the whole damn thing every time I update a class.
-- Robert
----- Original Message -----
From: "Niclas Hedhman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 27, 2003 9:20 AM
Subject: Re: Getting a generator class to reload.
On Monday 27 January 2003 16:21, Robert Simmons wrote:
I am working to create a custom generator and I have deployed my WAR in
exploded format. The problem is that now when I change the class file that
the generator uses, cocoon keeps using the old class file. How can I get
the classloader in cocoon to reload the class?
When that happens, I touch the sitemap. Always works.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>