0 Replies Latest reply on Apr 4, 2002 6:02 PM by grokita

    documentation example problem

    grokita

      I'm trying to deploy the cmp2-example.ear file for the CMP2.0 documentation. The file is the deploy directory, but seems like it is not deployed. (The JNDI names are not bound. See the error message.) What is the problem?

      C:\code\ejb\cmp-example>ant test
      Buildfile: build.xml

      prepare:

      compile:

      test:
      [junit] .E.E.E.E.E.F.E.E.E.E.E.E.E.E.E
      [junit] Time: 0.42
      [junit] There were 14 errors:
      [junit] 1) test_dvo(org.jboss.docs.cmp2.commerce.CommerceTest)
      [junit] javax.naming.NameNotFoundException: EJBTestRunner not bound
      [junit] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.j
      ava:250)
      [junit] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:226)
      [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:136)
      [junit] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:365)
      [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      [junit] at javax.naming.InitialContext.lookup(InitialContext.java:350)
      [junit] at net.sourceforge.junitejb.EJBTestCase.getEJBTestRunner(EJBTestCase.java:162)
      [junit] at net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:110)
      [junit] at net.sourceforge.junitejb.EJBTestCase.run(EJBTestCase.java:96)
      [junit] 2) test_getOrdersShippedToCA(org.jboss.docs.cmp2.commerce.CommerceTest)
      [junit] javax.naming.NameNotFoundException: EJBTestRunner not bound
      [junit] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.j
      ava:250)
      [junit] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:226)
      [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:136)
      [junit] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:365)
      [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      [junit] at javax.naming.InitialContext.lookup(InitialContext.java:350)
      [junit] at net.sourceforge.junitejb.EJBTestCase.getEJBTestRunner(EJBTestCase.java:162)
      [junit] at net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:110)
      [junit] at net.sourceforge.junitejb.EJBTestCase.run(EJBTestCase.java:96)
      [junit] 3) test_getStatesShipedTo(org.jboss.docs.cmp2.commerce.CommerceTest)