ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMS initial context factory

Post new topic  Reply to topic
 JMS initial context factory « View previous topic :: View next topic » 
Author Message
skol
PostPosted: Wed Dec 20, 2006 12:22 pm    Post subject: JMS initial context factory Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Dec 20, 2006 4:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
skol
PostPosted: Thu Dec 21, 2006 5:18 am    Post subject: Reply with quote

Apprentice

Joined: 05 Apr 2006
Posts: 38

Thank you! This should get me going.
_________________
Steve
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMS initial context factory
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.