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 » Archives - All » Configuring questions..

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 Configuring questions.. « View previous topic :: View next topic » 
Author Message
jnsunkersett
PostPosted: Fri May 07, 2004 1:22 pm    Post subject: Configuring questions.. Reply with quote

Newbie

Joined: 07 May 2004
Posts: 3

Hi,

I am new to MQ visual edit.
Using ver 1.2.0

Following the included tutorial, I created a "Queue Manager Access" profile.
I gues I can use any name. Need not hv any relation to queue names or...

In that I cud not figure out what "Queue manager Name" to give.

I am using WSAD5 as my development env with "Embedded messaging" as my JMS Server. I do not have WebsphereMQ installed on my box.

So pls cud you tell me what I shud specify for QueueManager

In my Websphere Test Env configuration I specificied :
QueueConnectionFactory, WASQueueEntries, Queues and ListenerPorts.

thks
g1
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri May 07, 2004 10:13 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3258
Location: London, ON Canada

Hi,

I have not used the embedded messaging with WAS but you must have given the queue manager a name.

Look in the JNDI tree for the QCF (QueueConnectionFactory) that you are using and what is the value of the 'Queue Manager' attribute in the QCF?

Hope that helps.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
jnsunkersett
PostPosted: Mon May 10, 2004 4:58 am    Post subject: Reply with quote

Newbie

Joined: 07 May 2004
Posts: 3

Hi,

The QCF (QueueConnectionFactory) does not seem to have an attribute for 'Queue Manager'.

I have uploaded the image to
http://photos.yahoo.com/jnsunkersett, in the 'Forums' album, there is only 1 jpg

PS:
[img]http://f1.pg.photos.yahoo.com/ph/jnsunkersett/detail?.dir=/e917&.dnm=4adc.jpg[/img]
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon May 10, 2004 7:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3258
Location: London, ON Canada

Hi,

For your 'OfflineQCF' (I think that is the name - it's hard to read), open up the properties window and look for either 'QMGR' or 'Queue Manager Name'. But I don't what you will find because you are using 'javax.jms.QueueConnectionFactory'. Note: MQ Visual Edit is not designed to work with native JMS.

If you use 'com.ibm.mq.jms.MQQueueConnectionFactory' for your QCF then I know for sure that you will find the correct information.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
jnsunkersett
PostPosted: Mon May 10, 2004 8:18 am    Post subject: Reply with quote

Newbie

Joined: 07 May 2004
Posts: 3

Got it configured!

FYI. This is how I did it.

Start the server (or local WebSphere test environ)
In a command prompt go to the \bin folder of MQ install directory.

Execute the command: dspmq

This will show you the name for your queue manager. e.g. WAS_localhost_server1

Then execute: runmqsc <<specify-name-of-the-QM-found above>>
and then execute display qlocal ('*') - this will give u the queue names

With this information
Fill in the dialog boxes of MQVisual Edit as appropriate.

PS: Keep the "Remote Parameters" block QM profile blank - do not choose 'Set default'

thks
G1
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon May 10, 2004 8:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3258
Location: London, ON Canada

Hi,

Actually, I did not know that the embedded version included the dspmq command. That definitely makes life easier.

Also, you do not need to get a list of queues from outside of MQ Visual Edit because once you have the queue manager configured, all you need to do is click the List button on the Open Queue window to get the list of queues.

Lastly, I will give a little clarification on the Remote Paramters. WMQ supports 2 ways for a client application to connect to a queue manager: client and binding mode.
    -When your application is running on the same box as the queue manager, then you can use binding mode. The WMQ API calls will use JNI and be much, much faster.
    -When your application is NOT running on the same box as the queue manager (i.e. different box) then you MUST code hostname/IP, Port number and Channel Name for your application to successfully connect to the queue manager. This is called client mode.

In your case, you are running the application (i.e. MQ Visual Edit) on the same box as where the queue manager is running. Therefore, you ONLY need to specify the queue manager name in the MQ Visual Edit's 'Queue Manager Access Profile' window.

In the future, if you wish to have MQ Visual Edit connect to a remote queue manager, then you will need to fill in the Remote Parameters on the 'Queue Manager Access Profile' window.

Regards,
Roger Lacroix
Capitalware Inc.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » Archives - All » Configuring questions..
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.