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 » Weblogic Binding Files

Post new topic  Reply to topic
 Weblogic Binding Files « View previous topic :: View next topic » 
Author Message
ashley5
PostPosted: Tue Feb 28, 2006 1:47 am    Post subject: Weblogic Binding Files Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Tue Feb 28, 2006 8:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mvic
PostPosted: Tue Feb 28, 2006 9:22 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

vennela wrote:
I don't know what binding files you are talking about.

Neither do I - this is probably a Weblogic thing (?)

ashley5, have you also asked in a Weblogic support forum? If not, it might be a good idea to do so... (I think we are keen to help, but perhaps we are short on Weblogic skills...?)

Google gives a few possibilities : http://www.google.co.uk/search?q=weblogic+forum

And, on the subject of your question : http://www.google.co.uk/search?q=weblogic+mq+%22binding+file%22
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 28, 2006 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
ashley5
PostPosted: Wed Mar 01, 2006 11:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Mar 02, 2006 3:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
ashley5
PostPosted: Tue Jun 13, 2006 6:42 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Jun 13, 2006 6:47 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Don't use MS0N.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/jms77h1.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ashley5
PostPosted: Tue Jun 13, 2006 11:47 pm    Post subject: Reply with quote

Novice

Joined: 20 Feb 2006
Posts: 14

jefflowrey wrote:
Don't use MS0N.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/jms77h1.htm

Will this also apply to MQ 5.3?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 14, 2006 2:57 am    Post subject: Reply with quote

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
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 » Weblogic Binding Files
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.