-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes you can use RMIInitialContextFactory to get the connection factory. I just modified the JMSChat program in the demo to use RMIInitialContext and I am able to get the factory and topic.
Are you running this client program from different machine from where the server is running? I tested running the jmsclient on the same machine where the orion is running. I hope there nothing difference in running locally and running on different machine. Post your code along with jndi.properties it may help in further debugging. - -kesav kumar - ----- Original Message ----- From: "Vidur Dhanda" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 8:19 AM Subject: RMI client accessing JMS Topic > Hello, > > Is it possible for a RMI client > (com.evermind.server.rmi.RMIInitialContextFactory) to access a JMS > TopicConnectionFactory? In my code, an ApplicationClient can access the > TopicConnectionFactory using the java:comp/env/jms context but an RMI > client hangs when it tries to access the same TopicConnectionFactory > through the jms/ context. > > In jms.xml, there is an entry for the TopicConnectionFactory as: > <topic-connection-factory location="jms/notificationFactory"/> > and the client code hangs on the call: > context.lookup("jms/notificationFactory") at RMIContext.lookup () [line > 92]. > > The context is the same context that is used for correctly accessing > other resources such as looking up EJBs. > > Thanks, > Vidur > > > -- > Vidur Dhanda > Epistemic Corporation > tel: 617/566-1252 > fax: 509/693-1248 > cell: 617/821-7115 > ICQ: 129193878 > [EMAIL PROTECTED] > www.epistemic.com > > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPJgV/wFy+fQ1CDihEQJ2egCfbl/2D3Tl3Dw0DVOvlSCu57Prw+gAoJIB SBn6CF71MoE/Lyf4acDp75hn =TB/t -----END PGP SIGNATURE-----