[jboss-user] [JNDI/Naming/Network] - javax.naming.NoInitialContextException trying to connect to
scott.stark@jboss.org
2007-08-06
I have a simple setup where I am trying to connect to a remote JMS queue using a MDB. Jboss and JDK versions are Jboss 4.0.4GA and JDK 1.4.2_11 respectively. I have configured the MDB Jboss instance as well as the queue host where the JMSProvider is configured (the default JbossMQ provider) as per the JBoss documentation
But when I try to start the JBoss where the MDB is deployed I get this as JBoss is starting up. This exception comes during the deployment of the MDB. The MDB does get deployed properly but the server keeps retrying to connect to the remote JMS provider (default every 10 seconds) and this exception is repeated.
I would greatly appreciate if anybody has faced this issue and resolved it. If you can guide me as to where I may has a misconfiguration that would be great as well.
The JMS provider is configured in the jms-ds.xml as follows -
<!-- Configuration for a Remote JMS Provider to access to queue object on a remote machine through it's JNDI -->
ABC-JMSProvider org.jboss.jms.jndi.JNDIProviderAdapter <!-- The queue connection factory --> XAConnectionFactory <!-- The topic factory --> XAConnectionFactory
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071409#4071409
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071409 _______________________________________________ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user