This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes Rollback transaction in MQ(CORBA TRANSACTION_ROLLEDBACK) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Rollback transaction in MQ(CORBA TRANSACTION_ROLLEDBACK)" Watch "Rollback transaction in MQ(CORBA TRANSACTION_ROLLEDBACK)" New topic
Author

Rollback transaction in MQ(CORBA TRANSACTION_ROLLEDBACK)

nakul agarwal
Greenhorn

Joined: Jun 29, 2012
Posts: 1
Dear All,

I am using IBM websphere version 6.0.2.15 on which i am hitting muliple webservices(number of max users working at a time is around 120) and while hitting webservices i am facing an issue that the webservice request xml is printed in the MQlogs of the server but the same request is not reaching to the middleware server but i have one more application module of the application system on different app server that is easily accessing all the webservices from the same MQ server at the same time.

The request flow is:
Application Websphere server --->MQServer-->Middleware Server-->Main System(that process the request and sends back the response)

The issue is resolved when the application websphere sever instance is restarted but after sometime(or next day) the same issue re-occurs and is resolved again when the appserver instance is restarted, the appserver is on clustered environment.

The error that i am getting in the System Error Logs is:-
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction marked rollbackonly vmcid: 0x0 minor code: 0 completed: No

Also if on checking the MQ logs the request sent is found in the MQ logs but before response xml from middleware comes a time out error is seen for every webservice

Due to the same all the webservices are going down only for one application system but all other systems using the same MQ server are getting the proper response and are working fine.

Please advice any solution for the above error whether the problem is in Application server/MQ Server/Application System Code...
OR
Is there any way that we can find the exact cause for the issue?

Please suggest...
Nischit Shetty
Greenhorn

Joined: Feb 21, 2007
Posts: 25
Hi Nakul - In all probabilities you are using App server MQ connection pooling right?
Can you please let me know the configuration that you have made on MQ connection pooling?
While publishing and subscribing messages, are you using sync messaging?
What is the time out period?
Do you send reply queue name along with correlation id or you create a dynamic reply queue at runtime?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Rollback transaction in MQ(CORBA TRANSACTION_ROLLEDBACK)