1 Reply Latest reply on Dec 31, 2007 4:23 AM by Jere Mäkelä

    Problem with EX05_1 & client_1

    Jere Mäkelä Newbie

      C:\Data\Downloads\Enterprise_JavaBeans_3.0\oreilly-ejb3-workbook_for_jboss404_GA\workbook\ex05_1>ant run.client_1
      Buildfile: build.xml

      prepare:

      compile:

      ejbjar:

      run.client_1:
      [java] javax.naming.NameNotFoundException: TravelAgentBean not bound
      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
      [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
      [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:585)
      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      [java] at sun.rmi.transport.Transport$1.run(Transport.java:153)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
      [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
      [java] at java.lang.Thread.run(Thread.java:595)
      [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
      [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
      [java] at com.titan.clients.Client_1.main(Client_1.java:19)

      BUILD SUCCESSFUL
      Total time: 1 second
      C:\Data\Downloads\Enterprise_JavaBeans_3.0\oreilly-ejb3-workbook_for_jboss404_GA\workbook\ex05_1>