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 and MQ JMS

Post new topic  Reply to topic
 Weblogic and MQ JMS « View previous topic :: View next topic » 
Author Message
tapak
PostPosted: Thu Jul 06, 2006 1:39 pm    Post subject: Weblogic and MQ JMS Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 06, 2006 7:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
tapak
PostPosted: Fri Jul 07, 2006 7:01 am    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Fri Jul 07, 2006 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Fri Jul 07, 2006 3:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Fri Jul 07, 2006 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Sat Jul 08, 2006 5:02 am    Post subject: Reply with quote

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
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 and MQ JMS
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.