|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS initial context factory |
« View previous topic :: View next topic » |
Author |
Message
|
skol |
Posted: Wed Dec 20, 2006 12:22 pm Post subject: JMS initial context factory |
|
|
Apprentice
Joined: 05 Apr 2006 Posts: 38
|
I'm trying to define a JMSOutput node in V6.0.0.2 Broker and toolkit that needs to publish a message on a JMS provider offered up by ActiveMQ (bundled in a vendor product). I put the relevent ActiveMQ jars in MQSI/classes and cycled the broker, but when I run a message through the flow, the JMSOutput node throws an error saying it is unable to instantiate the org.activemq.jndi.ActiveMQInitialContextFactory class that I configured into the node for the context factory. Where can I find the call stack and other diagnostics for the NamingException so I can see what the nested exception is? Displaying the exception in the debugger doesn't show why it can't instantiate.
This is my first exposure to JMS in the broker, and I haven't had much luck finding doc to help me diagnose this exception. Any pointers, or even a sample JMS flow that outputs to an ActiveMQ JMS node would be appreciated.
Thanks in advance... _________________ Steve |
|
Back to top |
|
 |
EddieA |
Posted: Wed Dec 20, 2006 4:56 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
What platform is this, as where you put the ActiveMQ jar file differs.
You have to use com.sun.jndi.fscontext.RefFSContextFactory as the Initial Context Factory, and then point to an ActiveMQ Bindings file.
And to save you the grief of trying to find any reference to Bindings files on the ActiveMQ web site: here.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
skol |
Posted: Thu Dec 21, 2006 5:18 am Post subject: |
|
|
Apprentice
Joined: 05 Apr 2006 Posts: 38
|
Thank you! This should get me going. _________________ Steve |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|