I think the probable solution lies here in the deployed rar getting the context and looking up for the JBoss JMS provider. In case of the Jboss App server this is done by JNDI Provider Adapter given as in the ds.xml
| | <mbean code="org.jboss.jms.jndi.JMSProviderLoader" | name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"> | <attribute name="ProviderName">DefaultJMSProvider</attribute> | <attribute name="ProviderAdapterClass"> | org.jboss.jms.jndi.JNDIProviderAdapter | </attribute> | <!-- The combined connection factory --> | <attribute name="FactoryRef">XAConnectionFactory</attribute> | <!-- The queue connection factory --> | <attribute name="QueueFactoryRef">XAConnectionFactory</attribute> | <!-- The topic factory --> | <attribute name="TopicFactoryRef">XAConnectionFactory</attribute> | <!-- Access JMS via HAJNDI --> | <attribute name="Properties"> | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=localhost:1100 | </attribute> | </mbean> | | If I am correct, how could the same be done in the 3rd party Application Servers? Does the rar gets the context from the MBean by any chance? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864880#3864880 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864880 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
