Sometimes when shutting down Websphere there are database locks not released. As a result, when WAS is restarted nobody can work because of these locks, that must be removed manually by the DBA.
It's a Java web application, transactions are XA and the database is Oracle. All the transactional code has a try catch finally and the transaction commit/rollback is done in the finally. I suspect that WAS do not enter the finally clause.