Hi,
I'm trying to do hotdeploy with jetty in a production environment. (to
avoid restart the container).
The first deploy it's ok, but the second when I update war and context
descriptor, fails when tries to do undeploy with the folllowing
message:
2008-06-17 12:38:43.025::INFO: Undeploy
/opt/jetty-6.1.10/contexts/myappweb.xml ->
org.mortbay.jetty.webapp.WebAppContext@506411{/,jar:file:/opt/jetty-6.1.10/webapps/myappweb.war!/}
2008-06-17 12:38:43.080:/:INFO: Destroying Spring FrameworkServlet 'grails'
[277186] spring.GrailsWebApplicationContext Closing
org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@aa10fc:
display name [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@aa10fc];
startup date [Tue Jun 17 12:34:06 CEST 2008]; parent:
org.springframework.web.context.support.XmlWebApplicationContext@1dc423f
2008-06-17 12:38:43.366::WARN: failed
org.mortbay.jetty.webapp.WebAppContext@506411{/,jar:file:/opt/jetty-6.1.10/webapps/myappweb.war!/}
java.lang.IllegalStateException: No thread-bound PluginManager
at org.codehaus.groovy.grails.plugins.PluginManagerHolder.currentPluginManager(PluginManagerHolder.java:53)
at org.codehaus.groovy.grails.web.context.GrailsContextLoader.closeWebApplicationContext(GrailsContextLoader.java:84)
at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:70)
at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:574)
...
...
2008-06-17 12:38:43.374::WARN: ContextDeployer$Scanner failed on
'/opt/jetty-6.1.10/contexts/myappweb.xml
And application stops responding. Can be a bug in PluginManager?
All works restarting container, but is not very useful to do hotdeploy :D
Thanks guys
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email