Author |
Message
|
ashley5 |
Posted: Tue Feb 28, 2006 1:47 am Post subject: Weblogic Binding Files |
|
|
Novice
Joined: 20 Feb 2006 Posts: 14
|
Hi There,
The Developers I work with use Weblogic to connect to MQ. Now they work with Bindings files, and they were wondering if there was a way of "automatically" creating a binding file. The idea is to centralise it (with me), but they were wondering if there was a way quickly add/change/remove Queue information within the Binding file.
Also, we had a problem with JMS messages on MQ queues a while back. We fixed this programatically, but the developer was wondering if it was possible to put something in the Binding file that would prevent the JMS messages going to the MQ queue, instead of having it in his code.
Help with either (or a link to a post that I missed in my searches), would be greatly appreciated.
***Edit***
I do remember seeing a post about creating binding files, but a) I couldn't get it to work, and b) I haven't found it again with my searches... |
|
Back to top |
|
 |
vennela |
Posted: Tue Feb 28, 2006 8:34 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I don't know what binding files you are talking about.
If you are talking about bindings files created by JMSAdmin, the JMS Administered objects file, then there is a support pack called MS0N, that will help you in this regard. |
|
Back to top |
|
 |
mvic |
Posted: Tue Feb 28, 2006 9:22 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 28, 2006 7:30 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And remember the JMSAdmin information can be scripted...
You don't have to enter it manually... _________________ MQ & Broker admin |
|
Back to top |
|
 |
ashley5 |
Posted: Wed Mar 01, 2006 11:32 pm Post subject: |
|
|
Novice
Joined: 20 Feb 2006 Posts: 14
|
Thanks for your responses. Since I know nothing about Weblogic (or JMS Binidng files), maybe I'm missing the boat on this story. I've already started on a Weblogic forum, but on the off chance it's JMSAdmin that I need, I've attached one of the bindings from the bindings file below.
#SubmissionQueue QueueConnectionFactory
MQJMS/Factory/MQConnectionFactory/ClassName=com.ibm.mq.jms.MQQueueConnectionFactory
MQJMS/Factory/MQConnectionFactory/FactoryName=com.ibm.mq.jms.MQQueueConnectionFactoryFactory
MQJMS/Factory/MQConnectionFactory/RefAddr/0/Type=VER
MQJMS/Factory/MQConnectionFactory/RefAddr/0/Content=2
MQJMS/Factory/MQConnectionFactory/RefAddr/0/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/1/Type=TRAN
MQJMS/Factory/MQConnectionFactory/RefAddr/1/Content=1
MQJMS/Factory/MQConnectionFactory/RefAddr/1/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/2/Type=QMGR
MQJMS/Factory/MQConnectionFactory/RefAddr/2/Content=QM_Submit
MQJMS/Factory/MQConnectionFactory/RefAddr/2/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/3/Type=HOST
MQJMS/Factory/MQConnectionFactory/RefAddr/3/Content=10.0.0.17
MQJMS/Factory/MQConnectionFactory/RefAddr/3/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/4/Type=PORT
MQJMS/Factory/MQConnectionFactory/RefAddr/4/Content=2444
MQJMS/Factory/MQConnectionFactory/RefAddr/4/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/5/Type=CHAN
MQJMS/Factory/MQConnectionFactory/RefAddr/5/Content=DEV.SVRCONN
MQJMS/Factory/MQConnectionFactory/RefAddr/5/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/6/Type=CCS
MQJMS/Factory/MQConnectionFactory/RefAddr/6/Content=819
MQJMS/Factory/MQConnectionFactory/RefAddr/6/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/7/Type=SPAG
MQJMS/Factory/MQConnectionFactory/RefAddr/7/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/7/Content=false
MQJMS/Factory/MQConnectionFactory/RefAddr/8/Type=UCP
MQJMS/Factory/MQConnectionFactory/RefAddr/8/Content=true
MQJMS/Factory/MQConnectionFactory/RefAddr/8/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/9/Type=PINT
MQJMS/Factory/MQConnectionFactory/RefAddr/9/Content=5000
MQJMS/Factory/MQConnectionFactory/RefAddr/9/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/10/Type=MBS
MQJMS/Factory/MQConnectionFactory/RefAddr/10/Content=10
MQJMS/Factory/MQConnectionFactory/RefAddr/10/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/11/Type=TM
MQJMS/Factory/MQConnectionFactory/RefAddr/11/Content=SYSTEM.DEFAULT.MODEL.QUEUE
MQJMS/Factory/MQConnectionFactory/RefAddr/11/Encoding=String
MQJMS/Factory/MQConnectionFactory/RefAddr/12/Type=MRET
MQJMS/Factory/MQConnectionFactory/RefAddr/12/Content=1
MQJMS/Factory/MQConnectionFactory/RefAddr/12/Encoding=String
#SubmissionQueueOUT Queue
MQJMS/Queue/SubmissionQueueOUT/FactoryName=com.ibm.mq.jms.MQQueueFactory
MQJMS/Queue/SubmissionQueueOUT/ClassName=com.ibm.mq.jms.MQQueue
MQJMS/Queue/SubmissionQueueOUT/RefAddr/0/Type=VER
MQJMS/Queue/SubmissionQueueOUT/RefAddr/0/Content=1
MQJMS/Queue/SubmissionQueueOUT/RefAddr/0/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/1/Type=EXP
MQJMS/Queue/SubmissionQueueOUT/RefAddr/1/Content=-2
MQJMS/Queue/SubmissionQueueOUT/RefAddr/1/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/2/Type=PRI
MQJMS/Queue/SubmissionQueueOUT/RefAddr/2/Content=-2
MQJMS/Queue/SubmissionQueueOUT/RefAddr/2/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/3/Type=PER
MQJMS/Queue/SubmissionQueueOUT/RefAddr/3/Content=-2
MQJMS/Queue/SubmissionQueueOUT/RefAddr/3/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/4/Type=CCS
MQJMS/Queue/SubmissionQueueOUT/RefAddr/4/Content=1208
MQJMS/Queue/SubmissionQueueOUT/RefAddr/4/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/5/Type=TC
MQJMS/Queue/SubmissionQueueOUT/RefAddr/5/Content=0
MQJMS/Queue/SubmissionQueueOUT/RefAddr/5/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/6/Type=ENC
MQJMS/Queue/SubmissionQueueOUT/RefAddr/6/Content=273
MQJMS/Queue/SubmissionQueueOUT/RefAddr/6/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/7/Type=QU
MQJMS/Queue/SubmissionQueueOUT/RefAddr/7/Content=SUBMISSION.OUT
MQJMS/Queue/SubmissionQueueOUT/RefAddr/7/Encoding=String
MQJMS/Queue/SubmissionQueueOUT/RefAddr/8/Type=QMGR
MQJMS/Queue/SubmissionQueueOUT/RefAddr/8/Content=QM_Submit
MQJMS/Queue/SubmissionQueueOUT/RefAddr/8/Encoding=String |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 02, 2006 3:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
That doesn't look like the .bindings content as displayed by JMSAdmin. _________________ MQ & Broker admin |
|
Back to top |
|
 |
ashley5 |
Posted: Tue Jun 13, 2006 6:42 am Post subject: |
|
|
Novice
Joined: 20 Feb 2006 Posts: 14
|
fjb_saper wrote: |
That doesn't look like the .bindings content as displayed by JMSAdmin. |
So how do you create the binding files? I've looked as the text document that came with MS0N from IBM, but I don't seem to be able to create one. All it seems to want to do is write to the Queue Manager.
I've looked at http://www.mqseries.net/phpBB2/viewtopic.php?t=3690&sid=40a626970e1ba0884c467265e3e5c726 and couldn't get that to work, as that seems to require Visual Age Java. All I have is a standard MQ 5.3 Installation, with CSD 12 on two environments, Solaris and Windows XP. I've got MS0N and am using JMSADMINGUI (on the ZP box) to set up my JMS settings for the queues, on both environments.
If anyone could tell me how to create a JMS Bindings file, I'd be most appreciative. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 13, 2006 6:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
ashley5 |
Posted: Tue Jun 13, 2006 11:47 pm Post subject: |
|
|
Novice
Joined: 20 Feb 2006 Posts: 14
|
Will this also apply to MQ 5.3? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 14, 2006 2:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
ashley5 wrote: |
Will this also apply to MQ 5.3? |
Pretty much. There is also a similar section in the same manual for v5.3 - which is still available online. It's in a slightly different part of the manual (I think it's an appendix?), though. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|