-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
None
Attached .zip contains the following EAR:
myapp.ear
– one.jar |
– two.jar |
Both contain the following EJB:
@Stateless
@Remote (Echo.class)
public class SimpleSLSB implements Echo
{
public void doNothing()
{ // do nothing } @Override
public String echo(String msg)
}
public interface Echo extends Serializable
{
String echo(String msg);
}
Fails to deploy with:
19:49:26,600 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=myapp.ear,jar=two.jar,name=SimpleSLSB,service=EJB3 state=Create: java.lang.RuntimeException: org.jboss.ejb3.common.registrar.spi.DuplicateBindException: Could not register org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory@1da1a47 under an already registered key, "ProxyFactory/myapp/SimpleSLSB/myapp/SimpleSLSB/remote" for EJB SimpleSLSB
at org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.createJndiReferenceBindingSet(JndiSessionRegistrarBase.java:253) [:1.0.11]
at org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:156) [:1.0.11]
at org.jboss.ejb3.session.SessionContainer.lockedStart(SessionContainer.java:223) [:1.7.17]
- is related to
-
JBAS-8754 EAR that deploys fine to AS 5.0, 5.1 and I believe also earlier AS 6's now fails with weird error
-
- Reopened
-