Tuesday, May 1, 2012

WebLogic JTA and Hyperic

Generalities on JTA: http://en.wikipedia.org/wiki/Java_Transaction_API

Some explanation on the interaction between a Transaction Manager and a Resource Manager in WebLogic here

The interesting story is that in a WebLogic server there are a-plenty of JTA resources:



ACMEDataSource_mydomain
WLStore_mydomain_FileStore_auto_1
WLStore_mydomain_ACMECommonFileStore1
WLStore_mydomain_WseeFileStore_auto_1
WLStore_mydomain__WLS_myserver
WSATGatewayRM_myserver_mydomain
eis/AQ/aqSample
eis/activemq/Queue
eis/aqjms/Queue
eis/aqjms/Topic
eis/fioranomq/Topic
eis/jbossmq/Queue
eis/pramati/Queue
eis/sunmq/Queue
eis/tibjms/Queue
eis/tibjms/Topic
eis/tibjmsDirect/Queue
eis/tibjmsDirect/Topic
eis/webspheremq/Queue
eis/wls/Queue
eis/wls/Topic


they are coming from
* all XA Datasources (actually, probably only those who are being used in a DbAdapter connection factory)
* all Resource Adaptors (the eis/..... is the JNDI name of the "javax.resource.cci.ConnectionFactory" deployed
* all the file stores


the WSATGatewayRM is something related to Web Services Atomic Transactions (WSAT) http://docs.oracle.com/cd/E14571_01/web.1111/e13734/transaction.htm
... I see some entries related to WSAT in config\fmwconfig\policy-accessor-config.xml....
grep -r WSAT *
<interceptor name="ClientWSATInterceptor" class="oracle.j2ee.ws.client.transaction.ClientWSATInterceptor"
<interceptor name="ServerWSATInterceptor" class="oracle.j2ee.ws.server.transaction.ServerWSATInterceptor"

and they are part of the
<interceptor-chain name="SOAPServiceBindingInterceptorChain" class="oracle.integration.platform.common.SOAPBindingInterceptorChain">
and
<interceptor-chain name="SOAPReferenceBindingInterceptorChain" class="oracle.integration.platform.common.SOAPBindingInterceptorChain">

No comments: