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 » IBM MQ Java / JMS » Problem with Pub Sub JMS client

Post new topic  Reply to topic
 Problem with Pub Sub JMS client « View previous topic :: View next topic » 
Author Message
amoljoshi
PostPosted: Fri Dec 31, 2004 1:44 am    Post subject: Problem with Pub Sub JMS client Reply with quote

Newbie

Joined: 31 Dec 2004
Posts: 6

Hi,
We are currently in the process of evaluating the following combination for our production system.The software used was
# WAS5.1 Trial
# MQ 5.3 (MA0C patch for Pub Sub support).
After installing the Patch also have run the setup script MQJMS_
PSQ.mqsc and even confirmed that the broker for the APPServer Queue manager is running.
Have created the Topic connection factory and topics using WAS admin console.
Currently getting following errors
1. In app server log it says

[12/30/04 15:07:14:480 GMT+05:30] 3cf72199 JMSEmbeddedPr A MSGS0052I: Starting the Broker
[12/30/04 15:07:14:745 GMT+05:30] 3cf72199 BrokerManager E MSGS0255E: Broker Manager unable to attach to Queue Manager - unknown Queue
[12/30/04 15:07:14:745 GMT+05:30] 3cf72199 JMSService E MSGS0001E: Starting the JMS Server failed with exception: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2085

2. The JMS client dies with error

com.ibm.mq.jms.NoBrokerResponseException: MQJMS5053: *** No broker response. Please ensure that the broker is running. ***
at com.ibm.mq.jms.MQTopicSession.getBrokerResponse(MQTopicSession.java:1835)
at com.ibm.mq.jms.MQTopicPublisher.checkBrokerResponse(MQTopicPublisher.java:1444)
at com.ibm.mq.jms.MQTopicPublisher.publish(MQTopicPublisher.java:533)
at com.ibm.mq.jms.MQTopicPublisher.publish(MQTopicPublisher.java:592)
at JMSTester.main(JMSTester.java:128)

Am i missing any steps here?
Back to top
View user's profile Send private message
slaupster
PostPosted: Fri Dec 31, 2004 6:16 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 41

it sounds like you've got your products confused and are trying to use external MQ and embedded MQ at the same time.

Quote:
[12/30/04 15:07:14:480 GMT+05:30] 3cf72199 JMSEmbeddedPr A MSGS0052I: Starting the Broker
[12/30/04 15:07:14:745 GMT+05:30] 3cf72199 BrokerManager E MSGS0255E: Broker Manager unable to attach to Queue Manager - unknown Queue
[12/30/04 15:07:14:745 GMT+05:30] 3cf72199 JMSService E MSGS0001E: Starting the JMS Server failed with exception: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2085


The above quote is from your SystemOut.log and it shows WAS trying to start the embedded broker, but you are trying to use MQ pub/sub (ma0c). Basically, you want your own QMGR that you defined and ran the MQJMS_PSQ.masc file against to provide your JMS and not your embedded JMS server. If so, you should not have installed embedded messaging. At this point you can simply stop the JMSServer from being started when starting server1 by:

Application Servers -> server1 -> Server Components -> JMSServer -> change Initial State to "Stopped". After this the embedded JMS server will not attempt to start and you must do your JMS with the QMGR you have defined with ma0c in mind.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 31, 2004 11:01 am    Post subject: Reply with quote

Grand High Poobah

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

Why use MA0C ?

Get to MQ 5.3 CSD08 and you don't need the support pack.!
As for shutting down internal MQ it should not be necessary.
However the configuration in the management console must be right
Remove all your config under resources-- Webspher JMS
Set up all your config under resourcess -- Websphere MQ JMS
and make sure there is no naming (JNDI) conflict

Enjoy
Back to top
View user's profile Send private message Send e-mail
amoljoshi
PostPosted: Sun Jan 02, 2005 8:32 pm    Post subject: Reply with quote

Newbie

Joined: 31 Dec 2004
Posts: 6

hi
thanks for the replies...

As specified , i am using WAS5.1 trial.Embedded messaging does not get installed for a trial version.

Since the sequence of installation was
1. WMQ
2. Patch(MA0C)
3. WAS5.1 trial
During WAS installation , it detected the MQ installation and created the Queue Manager and the queues.

And the script was run as specified in the guide for using MQSeries using Java.

I am sorry if I have missed anything.
In short,we want to achieve the following.
# Pub - Sub support with MQ5.3
# MDB based architecture on WAS5.1 trial.

So what should be the ideal steps?
I am not very sure wheather the CSD patch is still available or now...

thanks
Amol
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Jan 04, 2005 6:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I think that you want to do what slaupster mentioned above. Don't start your embedded server. This will keep it from attempting to come up which appears to be part of your problem. The other thing to do is to manually create a qmgr and have it and its MA0C broker running. You can then define your JMS resources as WebSphere MQ resources and you should be good to go.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem with Pub Sub JMS client
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.