Solved

Websphere Message Broker problem !!!

Posted on 2006-07-07
5
2,463 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JDBC error in Apache tomcat 6 253
When Does RestAdapter establishes HttpConnection 5 221
splunk tool 1 69
Logs to delete in Windows VCenter server ? 11 773
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

861 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