Fixes are available
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for AIX platforms
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for HP-UX platforms
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for Solaris platforms
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for Windows platforms
6.0.2: WebSphere Application Server V6.0 Refresh Pack 2 for Linux platforms
APAR status
Closed as program error.
Error description
The following code; try { queueSender.send(message); queueSession.commit(); fail("Exception expected"); } catch(JMSException e) { //e.printStackTrace(); } queueSender.close(); queueSession.close(); sends a message which (correctly) throws an exception when committed. The transaction is automatically rolled back but when queueSession.close is called, the following exception is (incorrectly) thrown... javax.jms.JMSException: CWSIA0053E: An exception was received during the call to the method JmsSessionImpl.close: com.ibm.websphere.sib.exception.SIIncorrectCallException: CWSIC1022E: An attempt has been made to call a method on a transaction object when the transaction has already been committed or rolled back..
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users using JMS queues and transactions * **************************************************************** * PROBLEM DESCRIPTION: Exception thrown on session close * * after rollback. * **************************************************************** * RECOMMENDATION: Apply this fix * **************************************************************** User code which tries to close a session where the transaction has already been rolled back will receive a JMSException indicating that the transaction has been rolled back.
Problem conclusion
This fix changes the behaviour of the close method so that the exception is no longer thrown if the transaction has been rolled back.
Temporary fix
Comments
APAR Information
APAR number
PK02938
Reported component name
PLAT MSG COM
Reported component ID
620400101
Reported release
100
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2005-03-23
Closed date
2005-04-25
Last modified date
2005-04-25
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
PLAT MSG COM
Fixed component ID
620400101
Applicable component levels
R100 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
19 October 2021