| Author |
problem running examples for Enterprise Java bean 3.0 by o'reilly
|
wong sheena
Greenhorn
Joined: Apr 07, 2007
Posts: 23
|
|
hi all,
i have problem running the example exercise 4.2 on page 544.
im running on jboss-4.0.5.GA.
the error message is as follows:
run.client:
[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(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a: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(TCPTranspor
t.java:466)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:707)
[java] at java.lang.Thread.run(Thread.java:595)
[java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:247)
[java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.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:62
5)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:58
7)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
[java] at com.titan.clients.Client.main(Client.java:19)
thanks. any suggestion are welcome!
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3673
|
|
|
Are your EJBs bound to the application server's JNDI name-space successfully when the server starts?
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
wong sheena
Greenhorn
Joined: Apr 07, 2007
Posts: 23
|
|
i dont think so.
how could i check?
from this console?
http://localhost:8080/jmx-console
from the console.
i could not find the remote interface too
thanks for your reply.
|
 |
 |
|
|
subject: problem running examples for Enterprise Java bean 3.0 by o'reilly
|
|
|