3 Replies Latest reply on Apr 6, 2002 2:38 PM by Chris Evans

    Monson-Haefel example with latest JBoss-Tomcat

    Chris Evans Newbie

      I am trying to get the EJB cruise-liner example from
      the book by Monson-Haefel working with jboss-3.0.0beta
      and tomcat-4.0.2. The port for this example is
      described in the online JBoss manual at:
      http://www.jboss.org/online-manual/HTML/ch14.html#d0e12038

      I have gotten to the point of compiling and running
      the clients. To get this far, the changes I have
      had to make for JBoss 3.0 were to (1) change references
      in the build.xml files from ejb.xml to jboss-j2ee.xml
      and to change $JBOSS_HOME to $JBOSS_DIST.

      I am getting the following error:
      sh jbossRunClient.sh com.titan.cabin.Client_1
      /usr/local/pkg/jboss-3.0.0beta/client/jboss-j2ee.jar:/usr/local/pkg/jboss-3.0.0beta/client/jndi.jar:/usr/local/pkg/jboss-3.0.0beta/client/jta-spec1_0_1.jar:/usr/local/pkg/jboss-3.0.0beta/client/jboss-client.jar:/usr/local/pkg/jboss-3.0.0beta/client/jnp-client.jar:.
      javax.naming.NameNotFoundException: comp not bound
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:365)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      at javax.naming.InitialContext.lookup(InitialContext.java:350)
      at com.titan.cabin.Client_1.main(Client_1.java:17)


      What does this mean, and how do I fix it? Thanks.

      Chris Evans