Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10944

MultipleDefinitionsOfSameBusinessInterfaceUnitTestCase fails due to deployment failures

    XMLWordPrintable

    Details

    • Release Notes Docs Status:
      Not Required
    • Docs QE Status:
      NEW

      Description

      MultipleDefinitionsOfSameBusinessInterfaceUnitTestCase fails on deployment with AmbiguousEjbReferenceException

      test output:

      Error Message
      
      TestBean not bound
      
      Stacktrace
      
      javax.naming.NameNotFoundException: TestBean not bound
      	at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
      	at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
      	at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
      	at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
      	at org.jnp.server.NamingServerGuard.lookup(NamingServerGuard.java:76)
      	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
      	at sun.rmi.transport.Transport$1.run(Transport.java:177)
      	at sun.rmi.transport.Transport$1.run(Transport.java:174)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
      	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:722)
      	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
      	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
      	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
      	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      	at sun.proxy.$Proxy0.lookup(Unknown Source)
      	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:753)
      	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
      	at javax.naming.InitialContext.lookup(InitialContext.java:411)
      	at org.jboss.ejb3.test.ejbthree1122.unit.MultipleDefinitionsOfSameBusinessInterfaceUnitTestCase.internalTestRemoteView(MultipleDefinitionsOfSameBusinessInterfaceUnitTestCase.java:109)
      	at org.jboss.ejb3.test.ejbthree1122.unit.MultipleDefinitionsOfSameBusinessInterfaceUnitTestCase.testTestStatelessRemoteEjb(MultipleDefinitionsOfSameBusinessInterfaceUnitTestCase.java:58)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                soul2zimate Chao Wang
                Reporter:
                soul2zimate Chao Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: