Author |
Message
|
shirish |
Posted: Mon Nov 08, 2004 1:29 am Post subject: Weblogic Messaging Bridge and MQSeries Issue |
|
|
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 |
|
 |
shirish |
Posted: Mon Nov 08, 2004 1:32 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Nov 08, 2004 5:51 am Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Mon Nov 08, 2004 9:07 am Post subject: |
|
|
 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 |
|
 |
shirish |
Posted: Mon Nov 08, 2004 10:42 pm Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Tue Nov 09, 2004 10:09 pm Post subject: |
|
|
 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 |
|
 |
marinmqseries |
Posted: Sun Oct 21, 2007 9:32 pm Post subject: Mq bindings with weblogic |
|
|
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 |
|
 |
|