wsr: DeploymentException: attempting to redeploy a depoyed m
lexus Feb 12, 2003 5:00 AMI've got a month-old cvs snapshot of Jboss_3_0 branch.
There's an ear application with application.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<display-name>MMS</display-name>
MMSEjb.jar
<web-uri>mms.war</web-uri>
<context-root>mms</context-root>
MMSEjb.wsr
It is deployed without any errors and MMSEjb.wsr module is working properly. If I touch application.xml (My ear is actually a subdirectory in "deploy" directory) re-deployment stops while attempting to re-deploy MMSEjb.wsr. If I comment it out in application.xml, the app is redeployed normally. The following is the exception in server.log:
2003-02-12 11:42:55,304 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/usr/local/java/jboss/server/thunder/deploy/80_MMS.ear/MMSEjb.wsr
org.jboss.deployment.DeploymentException: attempting to redeploy a depoyed module! file:/C:/usr/local/java/jboss/server/thunder/deploy/80_MMS.ear/MMSEjb.wsr
at org.jboss.net.axis.server.AxisService.create(AxisService.java:504)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:758)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
at org.jboss.deployment.MainDeployer.redeploy(MainDeployer.java:381)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:227)
at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:196)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:183)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:78)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:280)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:553)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1656)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:549)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1606)
at org.mortbay.http.HttpServer.service(HttpServer.java:862)
at org.jboss.jetty.Jetty.service(Jetty.java:497)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:752)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:769)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:202)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)