hi

I am trying to setup a JMS Bridge between JBoss 7.2 and Artemis 2.4. There is 
an error instantiating 
org.apache.activemq.artemis.jndi.ActiveMQInitialConnectionFactory, but there is 
not much detail.  Probably I am doing something wrong.  Does anyone know how to 
get more error detail out of JBoss ?

This bridge uses a module I built myself from artemis jars.  When I add the 
jetty-all jar from Artemis to the module, the error changes. Then it seems to 
try to use the InitialContext from Jetty, because jetty-jndi has JNDI 'stuff' 
in it as well.  I am guessing I should make my module use 'JBoss Naming', but 
how?

thanks

22:17:12 WARN  (ServerService Thread Pool -- 50) org.hornetq.jms.server 
HQ122012: Failed to connect JMS Bridge: javax.naming.NamingException: 
JBAS011843: Failed instantiate InitialContextFactory 
org.apache.activemq.artemis.jndi.ActiveMQInitialConnectionFactory from 
classloader ModuleClassLoader for Module "org.activemq.artemis:main" from local 
module loader @74960bfa (finder: local module finder @42721fe (roots: 
C:\me\p\jboss-as-7.2.0.Final\modules,C:\me\p\jboss-as-7.2.0.Final\modules\system\layers\base))
at 
org.jboss.as.naming.InitialContextFactoryBuilder.createInitialContextFactory(InitialContextFactoryBuilder.java:64)
 [jboss-as-naming-7.2.0.Final.jar:7.2.0.Final]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681) 
[rt.jar:1.8.0_162]
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) 
[rt.jar:1.8.0_162]
at javax.naming.InitialContext.init(InitialContext.java:244) [rt.jar:1.8.0_162]
at javax.naming.InitialContext.<init>(InitialContext.java:216) 
[rt.jar:1.8.0_162]
at 
org.hornetq.jms.bridge.impl.JNDIFactorySupport.createObject(JNDIFactorySupport.java:55)
 [hornetq-jms-server-2.3.0.CR1.jar:]
at 
org.hornetq.jms.bridge.impl.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:40)
 [hornetq-jms-server-2.3.0.CR1.jar:]
at 
org.hornetq.jms.bridge.impl.JMSBridgeImpl.setupJMSObjects(JMSBridgeImpl.java:1144)
 [hornetq-jms-server-2.3.0.CR1.jar:]
at org.hornetq.jms.bridge.impl.JMSBridgeImpl.start(JMSBridgeImpl.java:353) 
[hornetq-jms-server-2.3.0.CR1.jar:]
at 
org.jboss.as.messaging.jms.bridge.JMSBridgeService.startBridge(JMSBridgeService.java:99)
 [jboss-as-messaging-7.2.0.Final.jar:7.2.0.Final]
at 
org.jboss.as.messaging.jms.bridge.JMSBridgeService$1.run(JMSBridgeService.java:78)
 [jboss-as-messaging-7.2.0.Final.jar:7.2.0.Final]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[rt.jar:1.8.0_162]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[rt.jar:1.8.0_162]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_162]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to