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 » MSG DON'T APPEAR ON JMS DESTINATIONS WHEN SENT FROM WAS v5.x

Post new topic  Reply to topic
 MSG DON'T APPEAR ON JMS DESTINATIONS WHEN SENT FROM WAS v5.x « View previous topic :: View next topic » 
Author Message
gbveu8
PostPosted: Wed Aug 09, 2006 6:41 am    Post subject: MSG DON'T APPEAR ON JMS DESTINATIONS WHEN SENT FROM WAS v5.x Reply with quote

Newbie

Joined: 09 Aug 2006
Posts: 5

MESSAGES DON'T APPEAR ON JMS DESTINATIONS WHEN SENT FROM APPLICATION RUNNING INSIDE OF WAS 5.X

Environment set up:

- WebSphere Application Server (WAS) v5.1 installed on AIX
- MQ Client support on AIX
- MQ server installed on Z/OS main frame with REQ and REPLY queues

The situation:

- Session EJB (not MDB) running in WAS invokes a JMS PUT program and put a message on the REQ queue and then invokes a GET program to wait for a reply on the CorelID for a time limit.

The problem:

- The message does not appear on the REQ queue until the GET JMS program has timed out and the EJB return.

Things tried with no affect:

- Wrote and tried successfully with individual PUT and GET JMS programs.
- Made sure all objects in PUT program are nullified before invoking PUT program.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 09, 2006 6:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You aren't committing your request.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
gbveu8
PostPosted: Wed Aug 09, 2006 7:02 am    Post subject: Reply with quote

Newbie

Joined: 09 Aug 2006
Posts: 5

thanks for the quick response jefflowrey! Sorry, I should have mentioned that was something I have also tried. WAS complaint something about global transaction as I opened the SESSION with TRANSACTION = FALSE;
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 09, 2006 7:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you don't receive an exception from your send, and the message is not on the queue, then you haven't committed it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
gbveu8
PostPosted: Wed Aug 09, 2006 7:23 am    Post subject: Reply with quote

Newbie

Joined: 09 Aug 2006
Posts: 5

The following ERROR message is what I got when doing a commit with the SESSION object (transaction=TRUE): "Method not permitted in global transaction".

Have I missed something out?
Is QueueSession the only object I need to/can do commit on?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 09, 2006 12:36 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

gbveu8 wrote:
The following ERROR message is what I got when doing a commit with the SESSION object (transaction=TRUE): "Method not permitted in global transaction".

Have I missed something out?
Is QueueSession the only object I need to/can do commit on?

Yes you missed the part in the manual where it is stated that WAS ignores the QueueSession settings for transactionality and enforces what has been set at the EJB method level.
You need to call a different method on the EJB and set it to not support transactionality for the send.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MSG DON'T APPEAR ON JMS DESTINATIONS WHEN SENT FROM WAS v5.x
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.