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 » Queue Destination in WAS console

Post new topic  Reply to topic Goto page 1, 2  Next
 Queue Destination in WAS console « View previous topic :: View next topic » 
Author Message
bamboozled_by_MQ
PostPosted: Mon Oct 25, 2004 10:59 am    Post subject: Queue Destination in WAS console Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 25, 2004 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message
bamboozled_by_MQ
PostPosted: Mon Oct 25, 2004 11:27 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 25, 2004 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Oct 25, 2004 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Mon Oct 25, 2004 12:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
bamboozled_by_MQ
PostPosted: Mon Oct 25, 2004 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 25, 2004 12:26 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Which Admin console?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bamboozled_by_MQ
PostPosted: Mon Oct 25, 2004 12:46 pm    Post subject: Reply with quote

Voyager

Joined: 07 Jan 2004
Posts: 75

the external console through IE.
http://localhost:9090/admin/
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Oct 25, 2004 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bamboozled_by_MQ
PostPosted: Mon Oct 25, 2004 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Oct 25, 2004 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Mon Oct 25, 2004 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Oct 25, 2004 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Tue Oct 26, 2004 4:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » Queue Destination in WAS console
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.