Author |
Message
|
bamboozled_by_MQ |
Posted: Mon Oct 25, 2004 10:59 am Post subject: Queue Destination in WAS console |
|
|
Voyager
Joined: 07 Jan 2004 Posts: 75
|
I changed the TARGET CLIENT from JMS to MQ so my PTP jms pgm drops a message on xmitQ but I dont want it to send the MQrfh2 header because the the program on the remote side will be native MQ.
when I check the message in MQ explorer after I run my jms program, the message is there, but it has the MQRFH2
even though I apply my changes and save everytime,
I go back in, it is set again to JMS again!!
what is going wrong?
Last edited by bamboozled_by_MQ on Mon Oct 25, 2004 11:31 am; edited 1 time in total |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 25, 2004 11:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You do not ever want to write directly to XMIT queues. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bamboozled_by_MQ |
Posted: Mon Oct 25, 2004 11:27 am Post subject: |
|
|
Voyager
Joined: 07 Jan 2004 Posts: 75
|
okay
So If I want to send the message over to a remote system, I should put it on a remote queue def on the local and it figures out which XMITQ to use?
how does it figure that out?
but besides,
I changed it to a local queue just to test..
same thing, keeps reverting back to TARGET CLIENT JMS
why wont it save my MQ target client setting??
I am running WMQ server 5.3 csd 5
thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 25, 2004 11:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You don't write messages to XMITQs because messages on XMITQs need to have Transmission Queue Headers.
And it's much much much better to let MQSeries build these for you, either by using a cluster queue definition or a remote queue definition, than it is to try and write them yourself.
This is all in the documentation, somewhere.
As to why your WAS definition is not taking hold... are you restarting WAS inbetween? are you restarting your application, to cause it to reacquire it's connection? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Mon Oct 25, 2004 12:11 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
are you restarting WAS inbetween? are you restarting your application, to cause it to reacquire it's connection?
|
But JNDI definition is supposed to survive a restart.
I guess you are not saving it. Also you should apply WAS fix packs if you haven't done so. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 25, 2004 12:19 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
vennela wrote: |
But JNDI definition is supposed to survive a restart. |
Yes. I meant that the change might not take effect until WAS is restarted. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bamboozled_by_MQ |
Posted: Mon Oct 25, 2004 12:24 pm Post subject: |
|
|
Voyager
Joined: 07 Jan 2004 Posts: 75
|
im actually running everything through WSAD 5.
i am using the admin console.
I verified it is CSD 5 I stopped the server and wsad and started them back up too... |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 25, 2004 12:26 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Which Admin console? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bamboozled_by_MQ |
Posted: Mon Oct 25, 2004 12:46 pm Post subject: |
|
|
Voyager
Joined: 07 Jan 2004 Posts: 75
|
|
Back to top |
|
 |
vennela |
Posted: Mon Oct 25, 2004 12:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Answer the other two questions also
Are you doing Apply and Saves after changing?
Are you restarting your App/App Server? |
|
Back to top |
|
 |
bamboozled_by_MQ |
Posted: Mon Oct 25, 2004 12:59 pm Post subject: |
|
|
Voyager
Joined: 07 Jan 2004 Posts: 75
|
sorry vennela,
I forgot to say I have rebooted the server and restarted WSAD. have you seen this before? Do i need to go to a higher CSD?
i noticed something that may be of interest.
there are three configuration levels
CELL
NODE
SERVER
all my configs and changes are under Node, nothing under server
--
in the section below the GENERAL properties there is
WebSphere MQ Queue Connection Properties,
do I need to add the MQ qmgr and other properties? |
|
Back to top |
|
 |
vennela |
Posted: Mon Oct 25, 2004 2:25 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Well I tried to do that and I got the same problem.
Sorry for not trying before answering your question.
A restart on the App Server didn't help.
But I think you can code that property in your app.
JMSC.MQJMS_CLIENT_NONJMS_MQ
Search for that in the Java manual and see if it works.
Jeff might have some other work around. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 25, 2004 3:36 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay, let me see if I'm clear.
You are running the WebSphere Test Environment within WSAD. You are not using WSAD to connect to an external WAS.
Right?
You are then trying to configure properties of your JNDI/JMS provider using the regular WAS Admin console, rather than the appropriate server properties page in your server configuration.
Yes?
Let me play with it, likely tomorrow. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Mon Oct 25, 2004 7:00 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
You are running the WebSphere Test Environment within WSAD. |
YES
Quote: |
You are not using WSAD to connect to an external WAS.
|
I am not
Quote: |
You are then trying to configure properties of your JNDI/JMS provider using the regular WAS Admin console, |
YES |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 26, 2004 4:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Like I said, I'll try and play with it today.
What version of WSAD/WTE? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|