[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1239) http example should use JNDI via HTTP
David Smiley (JIRA)
jira-events at lists.jboss.org
Mon Feb 25 16:55:42 EST 2008
http example should use JNDI via HTTP
-------------------------------------
Key: JBMESSAGING-1239
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1239
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.4.0.SP3
Reporter: David Smiley
Assigned To: Tim Fox
The http example uses the http connector to for JMS transport. However, the example is using the typical JNDI configuration which is jnp's protocol. Instead, a complete HTTP transport should be used, even for JNDI. To fix this, simply change jndi.properties to this:
java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
java.naming.provider.url=http://localhost:8080/invoker/JNDIFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list