Solved

Websphere Message Broker problem !!!

Posted on 2006-07-07
5
2,475 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
When Does RestAdapter establishes HttpConnection 5 226
script fails when run under WebSphere with SSL enabled 1 595
Problem to refer to codes 10 124
JKS to store upstart data 2 119
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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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