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 » WMB v6, WLS 9.2, and JMSOutput Nodes

Post new topic  Reply to topic
 WMB v6, WLS 9.2, and JMSOutput Nodes « View previous topic :: View next topic » 
Author Message
deimos
PostPosted: Sun Mar 02, 2008 4:45 pm    Post subject: WMB v6, WLS 9.2, and JMSOutput Nodes Reply with quote

Newbie

Joined: 02 Mar 2008
Posts: 4

Ok, I have this problem and I'm hoping someone can help me. Let's start wit h the software specs. I am using WMB v6.0.0.5 with WMQ v6.0.2.2. I had to downgrade WMB from 6.0.0.6 to 6.0.0.5 after discovering some unexplained errors. I am also using BEA WebLogic Server 9.2 MP2. Now, the situation. I am working on a project that requires the configuration of a JMSOutput node that targets the WLS instances. The workflow is quite simple. It takes a message from the MQ JMS network (SYSTEM.BROKER.DEFAULT.STREAM) and sends it to the JMSOutput node. The node is configured for the Pub/Sub domain (topic jndi in WLS is T2 and the connection factory is TCF2). Now, for what we know. From the event viewer, the JMSOutput Node makes a successful connection to the WLS jndi space. But this is where we start to encounter problems. Apparently, even after ensuring the publication topic is configured for the JMSOutput node, it creates a QueueSession and tries to send a message to the topic, hence the error "Destination must be a queue." From the WMB documentation, the creation of a QueueSession or TopicSession is determined from the JMS Basic configuration which consists of either Queue Destination or Publication Topic. I have the publication topic set to T2. Finally, what I've tried. My main focus has been trying to get the JMSOutput node to create a TopicSession. To this end, I have tried many configurations for T2:

T2
jndi://T2
jndi:\\T2
topic://T2
topic:\\T@
jms://T2?topic=true (notation from MULE)
jms:\\T2?topic=true
jndi://topic:T2
jndi:\\topic:t2

*Note: I've also tried the same configurations for TCF2.

Some of these work, but most end with "Destination must be a queue". Yes, I have ensured that T2 in WLS 9.2 is a topic and the classpath has been setup properly. If this configuration wasn't set properly, then the Event Viewer wouldn't show a successful JMS connection to WLS. I should also note that WLS 9.2 is JMS 1.1 compliant and runs in a Java 5 JVM. My WMB instance is running Java 5 which has been verified. Does anyone have any ideas on what the problem might be or how I could proceed in making the JMSOutput node create a TopicSession instead of a QueueSession?

Thanks in advance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Mar 02, 2008 5:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

That is probably because your JNDI setup for TCF2 is (or is cast to) a queue connection factory and not a topic connection factory....

Check your JMSOutput node parameters and make sure that you are set up for a topic connection factory....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
deimos
PostPosted: Sun Mar 02, 2008 5:15 pm    Post subject: Reply with quote

Newbie

Joined: 02 Mar 2008
Posts: 4

Actually, WLS uses the JMS 1.1 connection factory notation.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Mar 02, 2008 5:18 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

deimos wrote:
Actually, it is a connection factory. It is using the JMS 1.1 notation.


Sure but what does the JMSOutput node think it is?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
deimos
PostPosted: Sun Mar 02, 2008 5:26 pm    Post subject: Reply with quote

Newbie

Joined: 02 Mar 2008
Posts: 4

Thanks for the quick response. Where in the JMSOutput node properties do I check to see if it is set for a topic connection factory as opposed to a queue connection factory? I am using WMB toolkit 6.0.2
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Mar 03, 2008 9:27 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Publication Topic vs. Destination Queue.

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
deimos
PostPosted: Mon Mar 03, 2008 9:32 am    Post subject: Reply with quote

Newbie

Joined: 02 Mar 2008
Posts: 4

I set the Publication Topic to T2, but it still creates a QueueSession. Is there a specific jndi notation I could set to force a TopicSession? I reason I ask it that WLS is configure to use the generic ConnectionFactory object and does not specifically target a Topic or Queue ConnectionFactory. Does the JNDI administered object have to be of type TopicConnectionFactory or QueueConnectionFactory explicitly? Or can the JMS Client employed by the JMSOutput node properly use the ConnectionFactory reference to create a topic or queue specific reference? More specifically, can the JMSOutput node cast the ConnectionFactory reference into TopicConnectionFactory or does the JNDI administered object need to be of type TopicConnectionFactory?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 03, 2008 12:43 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

It would certainly help if the connection object was of type Topic connection factory, however from the document it should work if you just supply a neutral ConnectionFactory...

Open a PMR....


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB v6, WLS 9.2, and JMSOutput Nodes
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.