activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hema Natarajan <hema_natara...@mindtree.com>
Subject Problem in Configuring JBoss 4.2 with external ActiveMQ 5.1
Date Fri, 23 May 2008 11:16:45 GMT

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-tp17423590s2354p17423590.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message