Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.naming.NameNotFoundException: TravelAgentBean not bound  RSS feed

Pepa Cefalu
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to deploy my FirstBeans from Enterprise JavaBeans 3.0. I am using Jboss, remote debugging with Eclipse and ant. when I issue the command ant run.client, I get the error bellow and cannot find any way to solve it by means of the above listed book. Could you please help?

My project has been created in, the bin directory in my directory structure (C:\Users\Pepa\Downloads\JEE Class\FirstBeans\build) contains FirstBeansTitan.jar. I have also imported C:\Users\Pepa\Downloads\JEE Class\FirstBeans\build\FirstBeansTitan.jar into "FirstBeanTitan" referenced libraries by Java Build Path of the propject properties. Additionally, I have place FirstBeansTitan.jar into C:\jboss-6.1.0.Final\server\default\deploy\applications and MySQL-ds.xml into C:\jboss-6.1.0.Final\server\default\deploy. The jndi database name is MySqlTitanDS



javax.naming.NameNotFoundException: TravelAgentBean not bound.

[java] javax.naming.NameNotFoundException: TravelAgentBean not bound
[java] at org.jnp.server.NamingServer.getBinding(

[java] at org.jnp.server.NamingServer.getBinding(

[java] at org.jnp.server.NamingServer.getObject(
[java] at org.jnp.server.NamingServer.lookup(
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
[java] at java.lang.reflect.Method.invoke(
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
[java] at sun.rmi.transport.Transport$
[java] at Method)
[java] at sun.rmi.transport.Transport.serviceCall(
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCP
[java] at sun.rmi.transport.tcp.TCPTransport$
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
[java] at java.util.concurrent.ThreadPoolExecutor$
[java] at
[java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
[java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
[java] at sun.rmi.server.UnicastRef.invoke(
[java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
[java] at org.jnp.interfaces.NamingContext.lookup(
[java] at org.jnp.interfaces.NamingContext.lookup(
[java] at javax.naming.InitialContext.lookup(
[java] at titan.clients.Client.main(

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!