[jboss-dev-forums] [JBoss AS Development Deployment Framework] - Dynamic Deployment of a jar within a EAR/WAR
Dilip Ford
do-not-reply at jboss.com
Thu Nov 4 11:49:42 EDT 2010
Dilip Ford [http://community.jboss.org/people/dilipl] created the discussion
"Dynamic Deployment of a jar within a EAR/WAR"
To view the discussion, visit: http://community.jboss.org/message/569679#569679
--------------------------------------------------------------
For development purposes, I want to be able to "hot" deploy a jar within my EAR (The jar is contained in the WEb-INF/lib of the WAR within this EAR). The creation of the ear is a very complicated process and most times we are justchanging this jar.
I have deployed the app in the exploded format (in the deploy dir and tried various things to no avail. I have to restart the server for jboss to pick up these changes.
1) I tried replacing the jar (in web-inf/lib) and touching both and either of web.xml and application.xml. I get an error indicating "deployment failed" if the contents of the jar have changed
2) I tried using JMX by undeploying the app first, then copying the jar and deploying again. I get the same error.
We use Jboss 4.2. Any ideas?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/569679#569679]
Start a new discussion in JBoss AS Development Deployment Framework at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2072]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101104/c9f1aec3/attachment.html
More information about the jboss-dev-forums
mailing list