3 Replies Latest reply on May 15, 2011 8:23 AM by Mark Paluch

    Two .war deploy to Jboss as final error

    kitto pang Newbie

       

      Two .war deploy to Jboss as final error, and if deploy each one .war to jboss as final is ok.

      here is list of the error message:

       

      15:38:54,815 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

      DaoBean/remote - EJB3.x Default Remote Business Interface
      DaoBean/remote-cn.xh.ejb.beans.remote.DaoRemote - EJB3.x Remote Business Interface
      DaoBean/local - EJB3.x Default Local Business Interface
      DaoBean/local-cn.xh.ejb.beans.local.DaoLocal - EJB3.x Local Business Interface

      15:38:54,815 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.j2ee:jar=xh.war,name=DaoBean,service=EJB3 state=Create: java.lang.RuntimeException: Could not bind Reference Class Name: Proxy for: cn.xh.ejb.beans.remote.DaoRemote
      Type: ProxyFactoryKey
      Content: ProxyFactory/xh/DaoBean/DaoBean/remote
      Type: EJB Container Name
      Content: jboss.j2ee:jar=xh.war,name=DaoBean,service=EJB3
      Type: Proxy Factory is Local
      Content: false
      Type: Remote Business Interface
      Content: cn.xh.ejb.beans.remote.DaoRemote
      Type: Remoting Host URL
      Content: socket://localhost:3873/?timeout=300000
      into JNDI at "DaoBean/remote"
      at org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:939) [:1.0.11]
      at org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:919) [:1.0.11]
      at org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:908) [:1.0.11]
      at org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:159) [:1.0.11]
      at org.jboss.ejb3.session.SessionContainer.lockedStart(SessionContainer.java:223) [:1.7.17]
      at org.jboss.ejb3.session.SessionSpecContainer.lockedStart(SessionSpecContainer.java:725) [:1.7.17]
      at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:1105) [:1.7.17]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
      at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.GA]
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.GA]
      at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.GA]

       

      ..............................

       

      Caused by: javax.naming.NameAlreadyBoundException: remote

      at org.jnp.server.NamingServer.bind(NamingServer.java:209) [:5.0.5.Final]

      at org.jnp.server.NamingServer.bind(NamingServer.java:167) [:5.0.5.Final]

      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:652) [:5.0.5.Final]

      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:613) [:5.0.5.Final]

      at org.jboss.util.naming.Util.bind(Util.java:105) [jboss-common-core.jar:2.2.17.GA]

      at org.jboss.util.naming.Util.bind(Util.java:91) [jboss-common-core.jar:2.2.17.GA]

      at org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:934) [:1.0.11]

      ... 106 more

       

                 Why ? Thanks.