Solved

Websphere Message Broker problem !!!

Posted on 2006-07-07
5
2,436 Views
Last Modified: 2013-12-10
I have a problem when using Websphere Broker V 6.0

import javax.jms.*; // JMS interfaces
import javax.naming.*; // Used for JNDI lookup of
import javax.naming.directory.*; // administered objects
import java.io.*; // Java IO classes
import java.util.*; // Java Util classes
import com.ibm.mq.jms.*;
public class PSDemo {
      
      public static void main(String args[]) {
            try{
                  System.out.println("Create topic connection factory....");
                  MQTopicConnectionFactory fact = new MQTopicConnectionFactory();
                  
                  TopicConnection conn = fact.createTopicConnection();
                  conn.start();
                  TopicSession sess = conn.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
                  
                  Topic rtTopic = sess.createTopic( "topic://Sport/Football/Spurs/Results" );
                                                                        
            }catch(JMSException ex){
                  System.out.println("Error occured:"+ex.getMessage());
                  
            }
            
      }
}

When run this application i found an error :

MQJMS1111: JMS1.1 The required Queues/Publish Subscribe services are not set up {0}

When I look up the meaning of this error :

MQJMS1111 JMS 1.1 : The required queues or publish/subscribe services are not set up: {0}.
                                 Explanation: The required WebSphere MQ setup for the messaging domain is not complete.

I've verified the broker is installed and running for the current queue manager .

Can you give me a solution.

Thanks for any help.
 
0
Comment
Question by:tuanbass
  • 2
5 Comments
 
LVL 3

Expert Comment

by:anumalas
ID: 17058126
Hi

Refer the article given by IBM that solves your problem :)

http://www-128.ibm.com/developerworks/websphere/techjournal/0502_woolf/0502_woolf.html

hope this will help :)
0
 

Author Comment

by:tuanbass
ID: 17063533
Thanks anumalas

Your article is used for W MQ version 5.3 but I am using Websphere MQ 6.0 and IBM Websphere Message Broker 6.0.
.Are there any documentation or installation guide for W Message Broker 6.0 ?

When I enter the command : dspmqbrk ,I have got this message :
"WebSphere MQ Publish/Subscribe broker for queue manager NC.QManager running"

But when i run program ,I've got the following error :
"MQJMS1111: JMS1.1 The required Queues/Publish Subscribe services are not set up {0 "

Please give me a soltution .

Many Thanks
0
 

Author Comment

by:tuanbass
ID: 17097364
I have got the answer. I forget to run this command :

   runmqsc queue_Manager_Name < "C:\Program Files\IBM\WebpsphereMQ\Java\bin\MQJMS_PSQ.mqsc"  :-)


Thanks
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 17634872
PAQed with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now