Author |
Message
|
elecktra |
Posted: Wed Aug 31, 2011 6:10 pm Post subject: Message between weblogic and MQ |
|
|
Novice
Joined: 16 Aug 2011 Posts: 14
|
Hi,
I'm doing to integrate webloic and mq for sending/receive message. I want to know what kind of message I need to sent/receive between weblogic and MQ. is there any explanation about the message between weblogic and Mq (e.g Message type, file type, or message character) |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Aug 31, 2011 7:20 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You can set up MQ as foreign JMS provider in Weblogic.
After that it works like a standard JMS provider (with the MQ quirks).
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
elecktra |
Posted: Wed Aug 31, 2011 7:26 pm Post subject: |
|
|
Novice
Joined: 16 Aug 2011 Posts: 14
|
even though I can set up to send/receive between these two, is there any restrictions about the message which send from mq. something like message type message content or the file which includes those messages |
|
Back to top |
|
 |
Vitor |
Posted: Thu Sep 01, 2011 4:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
elecktra wrote: |
something like message type message content or the file which includes those messages |
If you're using JMS you have access to the JMS message types and the content they support.
Neither JMS not WMQ uses files in any way that's accessible to the application. In terms of the files used internally, there are OS restrictions on maximum file size you might need to be aware of & the usual points on available space, log file size and so forth. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
elecktra |
Posted: Sun Sep 04, 2011 7:21 pm Post subject: |
|
|
Novice
Joined: 16 Aug 2011 Posts: 14
|
Hi fjb_saper,
i have followed some links which demostrates step by step configuration for sending/receiving message between weblogic and mq which are on different machines. but i still cannot get any msg and it doesn't seem working. you have any suggestion or other configuration steps for it?
thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Sep 04, 2011 10:03 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
elecktra wrote: |
Hi fjb_saper,
i have followed some links which demostrates step by step configuration for sending/receiving message between weblogic and mq which are on different machines. but i still cannot get any msg and it doesn't seem working. you have any suggestion or other configuration steps for it?
thanks |
It would be nice if you had copied the links.
First you need to determine whether you need 2 phase commit or not.
Second you need to look very carefully at the logs, and check out the exceptions and specify here what the completion code and reason code are...
(You'll find those if you print out the linked exception that may be attached to the JMSException).
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
elecktra |
Posted: Mon Sep 05, 2011 12:10 am Post subject: |
|
|
Novice
Joined: 16 Aug 2011 Posts: 14
|
i need to deploy MDB java file on weblogic server right? If so, I am stuck here. it's kinda EJB project? so i need to deploy that ejb project on weblogic server to make it work for sending/receiving message? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 05, 2011 3:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
elecktra wrote: |
i need to deploy MDB java file on weblogic server right? If so, I am stuck here. it's kinda EJB project? so i need to deploy that ejb project on weblogic server to make it work for sending/receiving message? |
Get help from your friendly J2EE programmer
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
elecktra |
Posted: Mon Sep 05, 2011 6:48 pm Post subject: testing connection |
|
|
Novice
Joined: 16 Aug 2011 Posts: 14
|
Hi,
so b4 I got over deploying that ejb, i want to test the connection between weblogic and mq. how can i test it?
thanks
 |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 05, 2011 7:36 pm Post subject: Re: testing connection |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
elecktra wrote: |
Hi,
so b4 I got over deploying that ejb, i want to test the connection between weblogic and mq. how can i test it?
thanks
 |
JNDI setup and bindings occurring during application server startup: check the startup logs. This is not a guarantee, as soon as you try to put or get a message, you may still get a JMSException... and of course what you need most at that time is the linked exception.
Moving to Java/JMS forum
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|