[jboss-user] [JBoss Messaging] - Re: how to send message to remote server with http

ataylor do-not-reply at jboss.com
Thu Dec 20 04:29:14 EST 2007


anonymous wrote :  is docs/examples/http the same as jboss-messaging-1.4.0.SP3/examples/http? 

yes thats right.

The exception you are getting is because HttpNamingContextFactory  is not in the classpath. This gets picked up from jbossall-client.jar under the jboss installation. Make sure that you have JBOSS_HOME set correctly.

Also, there is a bug in the JBoss documentation, change jndi.properties to


  | java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
  | java.naming.provider.url=http://172.25.67.39:8080/invoker/JNDIFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114538#4114538

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114538



More information about the jboss-user mailing list