Author |
Message
|
tapak |
Posted: Thu Jul 06, 2006 1:39 pm Post subject: Weblogic and MQ JMS |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Can we configure JMS COnnection Factories and Queue Destinations in Weblogic similar to the way we do in Websphere Application Server . Also what is the best practice to set up JMS QUeue Connection Factories . Is it better to setup up at the Application Server (Weblogic or Websphere ) using the admin interface of the Application Server or to set up at the MQ Series Server using the JMS Administration tool .
Any links on how to configure jms Connection factories for weblogic .
Thanks ,Deepak _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jul 06, 2006 7:12 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The JMS Administration Tool doesn't create any objects in the MQ Series Server, unless you are using a specific support pack that provides a specific JNDI context.
There has been a good bit of discusssion here about how to configure WebLogic to use MQ - including links to specific documentation from the WebLogic manuals that tell you how to do this in a step by step manner.
happy searching! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tapak |
Posted: Fri Jul 07, 2006 7:01 am Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Hi Jeff ,
Thank you for the reply . I could find info on configuring the JMS Server using JMS Administration tool and the jms providers pdf from weblogic site. The pdf says toi configure using JMS Admin tool. THis utility comes with MQ5.3 Server and Client version . Earlier we had to install the MA 88 pack for the JMS admin tool..
In Websphere Application Server , we can configure the Connection factories through WAS Admin console instead of using JMS administration tool which comes with MQ . My question was that , In weblogic can we do the same from Admin Console . I see that we can configure a JMS Server in Weblogic . But can we configure the connection factories to connect to MQ using the default JMS provider provided by Weblogic.
Thanks <Deepak _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
vennela |
Posted: Fri Jul 07, 2006 10:25 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Deepak:
I am going to tell what Jeff already told you:
I am not sure about WebLogic, but with WAS5 and above, using JMSAdmin to create JNDI resources for MQ is not possible. Atleast, it is not easy to figure out how to do it and it is not documented anywhere. In WAS4 we could do it, but later, we cannot do it.
It is better to create those using WAS admin console or any scripting that WAS provides. Now coming to WebLogic, I have not worked with it but I am almost sure that JMSAdmin can directly do it. Anyway, try your luck |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 07, 2006 3:27 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Vennela - with WAS5.x and later, it is possible to create JNDI definitions using JMS Admin. The reason you don't want to do it, though, is that those objects are created in a non-persistent namespace. That means that they go away when you restart the WAS server!
If the official WebLogic documentation says to create a bindings file using JMS Admin, then that is what you should do and they have a good reason for telling you to do that - I'd guess that whatever webconsole they have for creating JNDI objects probably doesn't support the MQ specific information necessary to connect to MQ! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Fri Jul 07, 2006 10:45 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
jefflowrey wrote: |
Vennela - with WAS5.x and later, it is possible to create JNDI definitions using JMS Admin. The reason you don't want to do it, though, is that those objects are created in a non-persistent namespace. That means that they go away when you restart the WAS server!
|
I agree
In my intial days I posted the same question
http://www.mqseries.net/phpBB2/viewtopic.php?t=11831&highlight=jmsadmin+was5
I can't find the other post but somebody mentioned that to use JMSAdmin, he needed atleast half of the WAS jars. I forgot about the non-persistency though. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Jul 08, 2006 5:02 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Oh, sure. In order to connect to the WAS JNDI context, you need at least a WAS Application Client install.
That's what the app client is for, basically, to allow apps running on machines that are not running WAS to connect to the server. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|