问题
Does Websphere Application Server (7.0, preferably) have a log for transaction manager? I'd like to see how and when transactions are started for my application's threads, whether and when they commit or rollback, etc.
回答1:
I would suggest to set logging for the package com.ibm.wsspi.uow
(maybe com.ibm.websphere.uow
and com.ibm.websphere.jtaextensions
too) to FINEST
(somewhere in your WebSphere administrative console). This should give you plenty information about what's going on.
Maybe the Spring Framework documentation about it's WebSphere-specific PlatformTransactionManager gives helpful background infos (packages, classes, jndi, etc.) too.
来源:https://stackoverflow.com/questions/7482122/where-are-websphere-as-transaction-manager-logs