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 » General IBM MQ Support » .bindings

Post new topic  Reply to topic
 .bindings « View previous topic :: View next topic » 
Author Message
silentflute
PostPosted: Mon Jun 30, 2008 5:17 am    Post subject: .bindings Reply with quote

Apprentice

Joined: 14 Jul 2004
Posts: 32

Hello, first let me say upfront that I'm a JMS newbie, so I might be asking a basic question, but have researched and cannot find an answer.

Using the JMSAdmin utility, I have created a provider using:

PROVIDER_URL=123.456.78.90:1414/MY.JMS.SVRCONN

I know that if I created a provider using:

PROVIDER_URL=file:/my/bindings/directory

there would be a .bindings file in /my/bindings/directory.

Using a the client queue manager details in the provider URL, does a .bindings file get created and what directory is it created in?

My environment is WMQ version 6 and AIX 5.3


Thank You!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 30, 2008 7:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
PROVIDER_URL=hostname:1414/svrconnchannelname

This is not a recommended method and only suitable for experienced users who know all the caveats. It will require as well the use of support packs (one of which is MS0B). Note as well that you cannot use this with the file JNDI as initial Context provider class.

This method does not use a static JNDI repository but rather uses the QMGR's command server to dynamically query the qmgr on JNDI requests.

For newbies I would suggest you go with the filesystem JNDI setup, and a file URL like "file:///drive:/absolute path"

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
silentflute
PostPosted: Mon Jun 30, 2008 10:36 am    Post subject: .bindings Reply with quote

Apprentice

Joined: 14 Jul 2004
Posts: 32

fjb,

Thanks for the information. For this project, we are using the ME01 and MS0B supportpacs, so the context factory is set to:


INITIAL_CONTEXT_FACTORY=com.ibm.mq.jms.context.WMQInitialContextFactory

I can enter the commands one by one inactivity, but having problem using a scp script. Would you happen to have a sample one.


Thanks again!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 30, 2008 12:45 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

No sample a hand but it should be pretty simple to work out...

Like I said, your setup does not really give the same experience as a true JNDI setup as it is way more dynamic than static. This is one of the reasons why I suggested a file JNDI setup.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » .bindings
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.