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 » creating QueueCOnnectionFactory

Post new topic  Reply to topic
 creating QueueCOnnectionFactory « View previous topic :: View next topic » 
Author Message
wmq_guy
PostPosted: Fri Dec 10, 2004 10:00 am    Post subject: creating QueueCOnnectionFactory Reply with quote

Acolyte

Joined: 21 Oct 2004
Posts: 50

i am using this wsadmin script to try to create a MQ queue connection factory on WAS5
Code:

set newjmsp [$AdminConfig getid /Cell:cellname/Node:nodename/JMSProvider:JMSP1/]




I beleieve I am not getting the newjmsp populated and it is null resulting in an error.

How would I set this correctly?
Back to top
View user's profile Send private message
slaupster
PostPosted: Mon Dec 13, 2004 5:53 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 41

JMSP1 is not a valid JMSProvider. If wsadmin type :

Code:
$AdminConfig list JMSProvider


output is something like:

wsadmin>$AdminConfig list JMSProvider
"WebSphere JMS Provider(cells/rampant/nodes/rampant/servers/server1:resources.xml#builtin_jmsprovider)"
"WebSphere JMS Provider(cells/rampant/nodes/rampant:resources.xml#builtin_jmsprovider)"
"WebSphere JMS Provider(cells/rampant:resources.xml#builtin_jmsprovider)"
"WebSphere MQ JMS Provider(cells/rampant/nodes/rampant/servers/server1:resources.xml#builtin_mqprovider)"
"WebSphere MQ JMS Provider(cells/rampant/nodes/rampant:resources.xml#builtin_mqprovider)"
"WebSphere MQ JMS Provider(cells/rampant:resources.xml#builtin_mqprovider)"


to get a list - there are 2 types:

1) WebSphere JMS Provider, with 3 scopes, server, node and cell
2) WebSphere MQ JMS Provider, again with 3 scopes...

from your code it looks like you are trying to get at the node scope level of the JMSProvider, so for each different type you need, using my cell and node name:

wsadmin>$AdminConfig getid "/Cell:rampant/Node:rampant/JMSProvider:WebSphere JMS Provider"

output =

"WebSphere JMS Provider(cells/rampant/nodes/rampant:resources.xml#builtin_jmsprovider)"

see the way I used it in createMQQCF proc I gave you the other day. It sounds like you need decide whether you want WebSphere JMS or WebSphere MQ JMS. If you have an MQ license go with the later, otherwise you must go with the former.

[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » creating QueueCOnnectionFactory
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.