0 Replies Latest reply on Nov 30, 2002 10:41 AM by Dan Weimer

    Already Deployed Exception

    Dan Weimer Newbie

      Hello everyone,

      I'm deploying an ear file that has a testEJB.jar and some number of .war files in it. My application.xml lists each of these modules

      The .ear file is in the deploy directory. When starting, I get an exception stating the EJB instance already exists...

      Can someone please offer some suggestions?

      Thanks,
      Dan


      10:43:23,408 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@54b468af{ url=file:/C:/projects/corej2
      ee/software/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/webDemoApp.ear, depl
      oyedLastModified=0 }
      org.jboss.deployment.DeploymentException: error in create of EjbModule: file:/C:
      /projects/corej2ee/software/jboss-3.0.4_tomcat-4.1.12/server/default/tmp/deploy/
      server/default/deploy/webDemoApp.ear/91.webDemoApp.ear-contents/testEJB.jar; - n
      ested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:se
      rvice=EjbModule,url=file%/C%/projects/corej2ee/software/jboss-3.0.4_tomcat-4.1.1
      2/server/default/tmp/deploy/server/default/deploy/webDemoApp.ear/91.webDemoApp.e
      ar-contents/testEJB.jar already registered.)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:381)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:752)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:752)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:752)