2 Replies Latest reply on Jun 16, 2015 2:50 PM by kaiomaxi

    Error deploying two web applications (WAR) in JBoss AS 6.1.0 with Seam 2.2.1 (javax.naming.NameAlreadyBoundException: local) [solved]

    cacelis

      Hi to everyone.

       

      I have a problem when I try to deploy two Web Applications in JBoss AS 6.1.0.

       

      The error is as follow:

       

       

      09:12:22,786 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "jboss.j2ee:jar=MyApp.war,name=EjbSynchronizations,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:jar=MyApp.war,name=EjbSynchronizations,service=EJB3" (should be in state "Installed", but is actually in state "**ERROR**")
        Deployment "jboss.j2ee:jar=MyApp.war,name=TimerServiceDispatcher,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:jar=MyApp.war,name=TimerServiceDispatcher,service=EJB3" (should be in state "Installed", but is actually in state "**ERROR**")
      
      DEPLOYMENTS IN ERROR:
        Deployment "jboss.j2ee:jar=MyApp.war,name=TimerServiceDispatcher,service=EJB3" is in error due to the followingreason(s): **ERROR**, javax.naming.NameAlreadyBoundException: local
        Deployment "jboss.j2ee:jar=MyApp.war,name=EjbSynchronizations,service=EJB3" is in error due to the following reason(s): **ERROR**, javax.naming.NameAlreadyBoundException: local
      
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.2.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.2.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.1.0.Final]
              at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.1.0.Final]
              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]
              at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
              at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
      

       

       

      Working in Windows 7 with:

       

      --> JBoss Developer Studio 5.0.0.Beta1

      --> JBoss AS 6.1.0.Final

      --> Seam 2.2.1.Final

       

       

      Hope you can help me.

      Thanks, in advance.