[jboss-user] [Installation, Configuration & Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa

amira88 do-not-reply at jboss.com
Fri Dec 4 18:53:11 EST 2009


"Wolfgang Knauf" wrote : Hi,
  | 
  | see http://www.jboss.org/community/wiki/EJB3relationships and search for your error message "cannot simultaneously fetch multiple bags".
  | 
  | Hope this helps
  | 
  | WolfgangtHANK U MR KNAUF:
all this error disappeared but when i run the client class i have this errors:

  | 18:21:20,877 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 ClientBeans.ClientA.main(ClientA.java:54)
  | Exception in thread "main" java.lang.RuntimeException: javax.naming.NameNotFoundException: HotelTestBean not bound
  | 	at ClientBeans.ClientA.main(ClientA.java:64)
  | 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 ClientBeans.ClientA.main(ClientA.java:54)
  | 
Help PLEASE!!!
THANK YOU SOOOOO  MUCH!!

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

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



More information about the jboss-user mailing list