[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Need to hot deploy static content from WAR file
Wakebrad
do-not-reply at jboss.com
Sun Jul 26 18:43:31 EDT 2009
Thanks for the direction. I have worked on it for quite a few more hours with still little luck. I looked at that Exploded Deployment page and it seems so simple but doesn't really have clearly defined steps.
I also tried to install JBoss tools about 10 times - each getting some dependency error. I installed about 4 other different projects to resolve the dependencies but still couldn't get JBoss Tools to install.
Is there perhaps a step by step guide to getting exploded deployment to work?
I tried copying the war directory out of the temp folders into the deploy folder similar to the jmx-console.war folder but now I get an exception at deployment:
Unable to register deployment mbean jboss.web.deployment:war=/myapp
javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.web.deployment:war=/myapp",type=Component already registered.
Here is my deployment descriptor. I don't know if I need to make changes to that as well:
<?xml version="1.0" encoding="UTF-8"?>
| <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
| <display-name>myapp</display-name>
| <module id="WebModule_1247710630169">
| <web>
| <web-uri>myapp.war</web-uri>
| <context-root>/myapp</context-root>
| </web>
| </module>
| </application>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246072#4246072
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246072
More information about the jboss-user
mailing list