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 » JMS Transactions under weblogic

Post new topic  Reply to topic
 JMS Transactions under weblogic « View previous topic :: View next topic » 
Author Message
vnreddy
PostPosted: Sat May 03, 2003 7:05 am    Post subject: JMS Transactions under weblogic Reply with quote

Novice

Joined: 01 May 2003
Posts: 23
Location: UK

Hi all,

I am Narasimha Reddy working as a IBM-MQ Consultant since one and half year.It's very pleasure to join in this MQ group.

Here I have a strange situation with the transactions for MQ in weblogic 6.1 through JMS..

Here what I have done is:

1) Created and XAQCF and Q names for JNDI using JMSAdmin tool with XAQCF as in syncpoint YES mode..
2) Developed a MDB(message driver bean) which is listening to the MQ queue
3) If I specify the transaction type as 'required' in configuration scripts then the MDB is not invoking..If I specify the 'not suppored' then only MDB is firing!!

Here my problem is

1) If I want to roolback the message like using the function rollback() to the MQ queue it's not happening..
2) Is weblogic 6.1 supports transactiions for IBM-MQseries?...I know it does under websphere..?

Have any of you faced this kind of situvation?? Please help here of how to go about this..? Is anything missing here..Thanks..


Regards
Narasimha reddy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
mqonnet
PostPosted: Mon May 05, 2003 5:43 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Havent used this personally. But check to see if MQ can act as transaction co-ordinator with Weblogic. Which i doubt it would. In that case, Weblogic should co-ordinate the transactions and MQ should just be a participant. Check the manuals for more info on this.

Hope this helps.

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
middlewareonline
PostPosted: Mon May 05, 2003 8:59 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2001
Posts: 73

As far as I know -

1. Which service pack are you on in terms of Weblogic 6.1 ? There is a well-known issue of Weblogic MDB with MQSeries when you use transactions. It somehow gets into a loop and would be stuck. Check out bea's newsgroup.

2. Inside MDB you can NOt define your own transaction. The MDB's are container managed transaction only.

Raj
Back to top
View user's profile Send private message Visit poster's website
vnreddy
PostPosted: Tue May 06, 2003 6:12 am    Post subject: Reply with quote

Novice

Joined: 01 May 2003
Posts: 23
Location: UK

Here I am using Weblogic 6.1 only no service pack, Basically I am using the trail version of weblgic6.1.

In Bea newsgroup I have found one FAQ http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.ejb.ejb20&item=1268&utag=

It says that there is no way of getting transaction between weblogic and mqseries. The work around way is writing a start up class which will receive MQ series messages and puts them into Weblogic JMS queue.From there I can use the MDB.

But it's surprising me that, why these two products WLS and MQ are not in transaction..

Thanks allot for your time..

Regards
Narasimha reddy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
middlewareonline
PostPosted: Tue May 06, 2003 9:33 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2001
Posts: 73

What you said is below is NOT correct?

"But it's surprising me that, why these two products WLS and MQ are not in transaction.. "


The statement I made only applies to MDB's. MDB's are different breed of objects. They are java listener ( or observers) listenining on a thread - so implementing a transaction is bit of a pain there. You can NOT throw or return anything from MDB to inform container that the transaction that container started has to be rolled back or committed.

Raj
_________________
---------------------------------------------
IBM & SUN (J2EE) Certified Consultants,
http://www.MiddlewareOnline.com
A "SARVAM" Online Portal
http://www.SARVAM.com
---------------------------------------------
Back to top
View user's profile Send private message Visit poster's website
vnreddy
PostPosted: Wed May 07, 2003 12:30 am    Post subject: Reply with quote

Novice

Joined: 01 May 2003
Posts: 23
Location: UK

Yes Raj , my previous statement was vague...

Thanks for correcting me..


Regards
Narasimha reddy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS Transactions under weblogic
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.