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 Messaging Bridge and MQSeries Issue

Post new topic  Reply to topic
 Weblogic Messaging Bridge and MQSeries Issue « View previous topic :: View next topic » 
Author Message
shirish
PostPosted: Mon Nov 08, 2004 1:29 am    Post subject: Weblogic Messaging Bridge and MQSeries Issue Reply with quote

Newbie

Joined: 08 Nov 2004
Posts: 3

Hi All,

I am trying to create a weblogic messaging bridge to connect to MQ Queue

The MQ Server and weblogic server are on different machines .

I have been provided with a .bindings file , through which i am trying to access QCF but at the time of WLS Server startup the messaging bridge throws exception , javax.Naming.NameNotFoundException for Queue connection Factory

Kindly provide some help ..Thx in advance

Regards,
Shirish
Back to top
View user's profile Send private message
shirish
PostPosted: Mon Nov 08, 2004 1:32 am    Post subject: Reply with quote

Newbie

Joined: 08 Nov 2004
Posts: 3

Just to add on ..
I installed MQ and weblogic on the same m/c and the standard example provided by weblogic to connect to MQ using messaging bridge
and it works fine.

Regards,
Shirish
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 08, 2004 5:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

NameNotFound means that your QCF hasn't been bound, or that the name of the QCF is not what you think it is.

Look in your WLS log for the section that indicates what is happening when the naming server is starting up and binding names. If the QCF is incorrect in some way, the name may not be bound, and thus not available later.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Nov 08, 2004 9:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi Shirish,

It sounds like you missed a step. Before you create the 'Bridges', you MUST create the 'JMS Bridge Destination'.

When you create the 'JMS Bridge Destination', it has a property called 'Connection URL'. This is where you specify the directory to your MQJNDI tree. i.e.
/apps/jndi/appABC/mqjndi

Hence the .bindings file is located at /apps/jndi/appABC/mqjndi/.bindings

You will also specify the QCF and Queue for the bean to use (from the MQ JNDI file).

Then you will configure the 'Bridge' to use that particular 'JMS Bridge Destination'.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
shirish
PostPosted: Mon Nov 08, 2004 10:42 pm    Post subject: Reply with quote

Newbie

Joined: 08 Nov 2004
Posts: 3

Hi ,

I was able to solve the issue by running MQ and WLS on the same box .
So I havent missed any step of not configuring destinations or so.

At the time of deployment of messaging bridge I get this error.
How ever I am able to post messages using MQJMS API

Regards,
Shirish
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Nov 09, 2004 10:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

At my client site, we have WLI, WLS & MQ each installed on seperate boxes. The WLI & WLS boxes have MQ client with ETC and you have to be careful how you configure your domains.

First configure each JMS Bridge Destination and then each Bridge for each bean. If you want to use MQ JNDI then you CANNOT use any of the defaults that WebLogic provides!!!!!

Also, the URL must have the triple slashes (double then single is for the file path). i.e.
Connection URL=file:///apps/jndi/appABC/mqjndi
But this path MUST be local to the WebLogic box and not the MQ Server.

Why don't you list your fields for 1 JMS Bridge Destination and 1 Bridge and then we can review your values.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
marinmqseries
PostPosted: Sun Oct 21, 2007 9:32 pm    Post subject: Mq bindings with weblogic Reply with quote

Newbie

Joined: 21 Oct 2007
Posts: 8
Location: na

Hi sirish,
Could you please provide me the steps to connect with mq from weblogic jms.I have weblogic and mq installed in the same machine.Thanks in advance
Cheers
Marin
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Weblogic Messaging Bridge and MQSeries Issue
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.