Here's some good info. http://activemq.apache.org/integrating-apache-activemq-with-jboss.html
Joe Hema Natarajan wrote: > > Hi, > I am looking for the steps to configure JBoss with external ActiveMQ. > Please provide us. > > We tried the following and it gave the exception as follows. > > Modified jndi.properties file like... > > # DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING > # > #java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory > #java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces > > java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory > > java.naming.provider.url=tcp://172.22.37.98:61616 > connectionFactoryNames = connectionFactory, queueConnectionFactory, > topicConnectionFactry > # register some queues in JNDI using the form > # queue.[jndiName] = [physicalName] > queue.MyQueue = example.MyQueue > > > And changed the port numbers in jboss-service.xml files. > > Exception we got is... > > javax.naming.NamingException: scheme java not recognized > at > org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:211) > at javax.naming.InitialContext.lookup(InitialContext.java:351) > at org.jnp.server.NamingBeanImpl.start(NamingBeanImpl.java:148) > > Please do provide us some solution for this. > > Thanks in advance. > Hema > -- View this message in context: http://www.nabble.com/Problem-in-Configuring-JBoss-4.2-with-external-ActiveMQ-5.1-tp17423590s2354p17512101.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.