-
1. Re: ConnectionFactory not bound Exception... - Noobie
jaikiran Jul 16, 2007 3:48 PM (in response to galrub)Can you post the exception stacktrace?
-
2. Re: ConnectionFactory not bound Exception... - Noobie
galrub Jul 17, 2007 2:00 AM (in response to galrub)here is the stacktrace:
--------------------------
javax.naming.NameNotFoundException: ConnectionFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at LookUptest.main(LookUptest.java:24) -
3. Re: ConnectionFactory not bound Exception... - Noobie
galrub Jul 17, 2007 2:06 AM (in response to galrub)from what I can find on the net, it's seems that because nether it the datasources are in the global namespaces.... even thou that when trying a lookup for "QueueConnectionFactory" I get the same stacktrace with ConnectionFactory not bound... so it's not clear to if the namespaces are the problem or something else
by the way, how do we move them datasources to global namespaces? -
4. Re: ConnectionFactory not bound Exception... - Noobie
jaikiran Jul 18, 2007 4:08 PM (in response to galrub)The ConnectionFactory is bound to the global jndi namespace. Looking up "ConnectionFactory" should have returned you the connection factory. Is that all you see in the exception stacktrace or is there more in the stacktrace? If so, please post the entire exception stacktrace
by the way, how do we move them datasources to global namespaces?
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient
Make sure you read the note mentioned in bold, there. -
5. Re: ConnectionFactory not bound Exception... - Noobie
galrub Jul 19, 2007 5:14 AM (in response to galrub)Yep... thats all I get
is there anyway to get a list of the jndi namespaces from the standalone? if so I will send it on this topic, maybe it can help.
THX -
6. Re: ConnectionFactory not bound Exception... - Noobie
galrub Jul 19, 2007 5:15 AM (in response to galrub)...from A standalone... sry