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 » Using MQ 5.3 as a Foreign JMS Provider for WebLogic 8.1

Post new topic  Reply to topic
 Using MQ 5.3 as a Foreign JMS Provider for WebLogic 8.1 « View previous topic :: View next topic » 
Author Message
ptazbaz
PostPosted: Wed Apr 14, 2004 3:43 pm    Post subject: Using MQ 5.3 as a Foreign JMS Provider for WebLogic 8.1 Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 29

Hello,

I am trying to configure MQ 5.3 as a foreign JMS provider for WebLogic 8.1 and I am running into an MQ error:

MQJE001: An MQException occurred: Completion Code 2, Reason 2059
Socket connection attempt refused due to LOCAL_ADDRESS_PROPERTY restrictions.
javax.naming.NamingException: MQJMS1006: invalid value for localAddress: 'null'
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:352)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:336)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at QueueSend.init(QueueSend.java:52)
at QueueSend.main(QueueSend.java:93)

The steps I took were as follows:

1. Registered a MQQueConnectionFactory and MQQueue with the file based JNDI Provider using the JMSAdmin tool.

2. Mapped those entries in WebLogic as remote JNDI names in the WebLogic Foreign JMS Providers tab.

3. Defined the local JNDI names in WebLogic that refer to the remote JNDI names pointing to MQ 5.3

4. Used a Java client running on WebLogic to invoke the WebLogic JNDI connection to the Foreign JMS Provider(MQ 5.3). It appears as if it is able to pass through and tries to connect to MQ 5.3, but then that error message appears. WebLogic and MQ are on two different servers in this example.

Any input is much appreciated.

Thanks.

Paul
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Apr 15, 2004 5:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I've never dealt with WebLogic. I did just check on of my local TCF definitions, and it has this:

LOCALADDRESS()

for its local address. Is it possible that you have one set to "null" and that is the problem?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
vennela
PostPosted: Thu Apr 15, 2004 6:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
WebLogic and MQ are on two different servers in this example.

This also means you are client connecting. So, you should also make sure your MQ listener is running
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ksenthil
PostPosted: Wed Mar 29, 2006 12:36 am    Post subject: Local address Reply with quote

Newbie

Joined: 29 Mar 2006
Posts: 1

Any solution for this problem?

Any help would be appreciated

thanks
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 29, 2006 3:54 am    Post subject: Reply with quote

Grand High Poobah

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

Can you access MQ using the file base JNDI from outside of Weblogic (pojo JMS) running on the same server as Weblogic? (same compiler, same version of java etc...)?
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 » IBM MQ Java / JMS » Using MQ 5.3 as a Foreign JMS Provider for WebLogic 8.1
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.