3 Replies Latest reply: Oct 17, 2007 4:11 PM by Jose Muanis Castro RSS

    Unable to run Chp4 Example up and running

    Tulsi Rai Newbie

      Hello,
      Trying to get the chapter 4 example up and running but stuck with the following exception when JBoss startsup:

      17:26:21,540 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:jar=titan.jar,name=TravelAgentBean,service=EJB3
       State: NOTYETINSTALLED
       I Depend On:
       persistence.units:unitName=titan
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: persistence.units:unitName=titan
       State: NOTYETINSTALLED
       Depends On Me:
       jboss.j2ee:jar=titan.jar,name=TravelAgentBean,service=EJB3
      

      and then when runing the client, throws the following exception:
       [java] javax.naming.NameNotFoundException: TravelAgentRemote 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:296)
       [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.ejb.client.Client.main(Client.java:24)
      


      any suggestion as to what might have wrong and how I can fix it to get it up and running?
      Thanks.