[jboss-user] [JBoss Messaging Users] - Re: Destination COnfiguration issue with Jboss 5 and Messagi

amira88 do-not-reply at jboss.com
Sat Dec 5 08:16:51 EST 2009


"PeterJ" wrote : Yashendra, it would help if you told us exactly what you did. 
  | 
  | Also, see if this helps: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224936#4224936
  | 
  | The instructions that abdujaparov and I posted are for switching DefaultDS to use a MySQL database, but setting up JMS is a subset of that. The only additional step you need to take, if you are not replacing DefaultDS, is to change all references to DefaultDS in the mysql-persistence-service.xml file to the JNDI name you used in mysql-ds.xml.
Hi Mr Peter,
i'm developping an ejb3 application and i was having errors in the starting of the project but i fortunly fix it :
But when i run the client class i get this errors:



  | 08:08:44,525 DEBUG TimedSocketFactory:87 - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0
  | javax.naming.NameNotFoundException: HotelTestBean not bound
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
  | 	at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
  | 	at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
  | 	at sun.rmi.transport.Transport$1.run(Unknown Source)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
  | 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
  | 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
  | 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  | 	at java.lang.Thread.run(Unknown Source)
  | 	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
  | 	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
  | 	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  | 	at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
  | 	at javax.naming.InitialContext.lookup(Unknown Source)
  | 	at de.laliluna.library.ClientA.main(ClientA.java:32)
  | Exception in thread "main" java.lang.RuntimeException: javax.naming.NameNotFoundException: HotelTestBean not bound
  | 	at de.laliluna.library.ClientA.main(ClientA.java:38)
  | Caused by: javax.naming.NameNotFoundException: HotelTestBean not bound
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
  | 	at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
  | 	at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
  | 	at sun.rmi.transport.Transport$1.run(Unknown Source)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
  | 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
  | 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
  | 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  | 	at java.lang.Thread.run(Unknown Source)
  | 	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
  | 	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
  | 	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  | 	at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
  | 	at javax.naming.InitialContext.lookup(Unknown Source)
  | 	at de.laliluna.library.ClientA.main(ClientA.java:32)
  | 
I don't know the cause i put all my classes in this forum link:

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269135#4269135
Thank you for help!!! it's very urgent i have to complete for  this Monday
Regards


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269136#4269136

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269136



More information about the jboss-user mailing list