0 Replies Latest reply on Oct 9, 2002 11:32 AM by Luis N. Polasek

    Two ejb modules in the same application

    Luis N. Polasek Newbie

      Hi all...

      I´m having trouble to deploy that has 2 ejb modules and 1 web module. The application.xml for this 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">

      <display-name>callCenter.ear</display-name>


      si-consultasvarias.jar


      si-cliente-ejb.jar



      <web-uri>callCenter-web.war</web-uri>
      <context-root>/desarrollo</context-root>




      But when jBoss starts I got:

      18:25:27,898 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@536057aa{ url=file:/D:/prog/jboss-3.0.2/server/default/deploy/callCenter.ear/, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: error in create of EjbModule: file:/D:/prog/ jboss-3.0.2/server/default/deploy/callCenter.ear/si-consultasvarias.jar; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EjbModule,url=file%/D%/prog/jboss-3.0.2/server/default/deploy/ callCenter.ear/si-consultasvarias.jar already registered.)

      How can I solve this ?

      Thanks in advance...