Title: Nachricht
Alex,
 
IMHO this JBOss.net bug has been fixed in 3.2beta ....
 
CGJ
 
-----Urspr�ngliche Nachricht-----
Von: Alexey Yudichev [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 5. Dezember 2002 14:35
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] .wsr service inside ear cannot be redeployed?

In Jboss 3.0.4 I have an ear application deployed. application.xml is

<?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">

<application>
  <display-name>MMS</display-name>
  <module>
    <ejb>MMSEjb.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>mms.war</web-uri>
      <context-root>mms</context-root>
    </web>
  </module>
  <module>
    <java>MMSEjb.wsr</java>
  </module>
</application>

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:


2002-12-05 15:27:49,292 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e08508f9{ url="" href="" target=_blank>file:/C:/usr/local/java/jboss-3.0.4/server/default/deploy/80_MMS.ear/, deployedLastModified=1039084084390 }

org.jboss.deployment.DeploymentException: attempting to redeploy a depoyed module! file:/C:/usr/local/java/jboss-3.0.4/server/default/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:760)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:752)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        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.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy4.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:561)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212)

        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225)

        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202)

Please provide a workaround if it exists.

###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/

Reply via email to