Saturday, June 16, 2012

wlsbjmsrpDataSource

The right configuration for wlsbjmsrpDataSource is:

"Supports Global Transactions" ENABLED
"Logging Last Resource" ENABLED

If you set "One-Phase Commit" ENABLED, this leads to this error message:

Exception occurred during commit of transaction Name=NewJMSMessagePoller.ReportingMDB,Xid=BEA1-76E0B53E352F1F5F1C3A(131923607)
,Status=Rolled back. [Reason=javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-
phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or Emula
teTwoPhaseCommit for the Data Source = wlsbjmsrpDataSourceGL],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds
left=60,XAServerResourceInfo[WLStore_osbpr1do_FileStore_auto_1]=(ServerResourceInfo[WLStore_osbpr1do_FileStore_auto_1]=(state=rolled
back,assigned=osbpr1ms1),xar=WLStore_osbpr1do_FileStore_auto_1599741968,re-Registered = false),XAServerResourceInfo[wlsbjmsrpDataSour
ceGL_osbpr1do]=(ServerResourceInfo[wlsbjmsrpDataSourceGL_osbpr1do]=(state=rolledback,assigned=osbpr1ms1),xar=weblogic.jdbc.wrapper.JT
SEmulateXAResourceImpl@42f8ac2b,re-Registered = false),SCInfo[osbpr1do+osbpr1ms1]=(state=rolledback),properties=({weblogic.transactio
n.name=NewJMSMessagePoller.ReportingMDB, weblogic.jdbc.remote.wlsbjmsrpDataSourceGL=t3://nesoa2-osbpr1ms1.acme.com:8001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=osbpr1ms1+nesoa2-osbpr1ms1.acme.com:8001+osbpr1do+t3+, XA
Resources={WLStore_osbpr1do__WLS_osbpr1ms1, eis/activemq/Queue, wlsbjmsrpDataSourceGL_osbpr1do, eis/fioranomq/Topic, eis/jbossmq/Queu
e, WLStore_osbpr1do_FileStore_auto_1, WSATGatewayRM_osbpr1ms1_osbpr1do, SOADataSource_osbpr1do, eis/webspheremq/Queue, eis/AQ/aqSampl
e, WLStore_osbpr1do_NesoaCommonFileStore1, WLStore_osbpr1do_FileStorePerfStore1, eis/aqjms/Queue, NESOADataSource_osbpr1do, eis/tibjm
s/Queue, eis/sunmq/Queue, eis/pramati/Queue, eis/tibjms/Topic, WLStore_osbpr1do_WseeFileStore_auto_1, SOAXADataSource_osbpr1do, eis/A
pps/Apps, eis/wls/Queue, eis/tibjmsDirect/Topic, eis/wls/Topic, eis/aqjms/Topic, eis/tibjmsDirect/Queue},NonXAResources={})],Coordina
torURL=osbpr1ms1+nesoa2-osbpr1ms1.acme.com:8001+osbpr1do+t3+): weblogic.transaction.RollbackException: Could not prepare resourc
e 'wlsbjmsrpDataSourceGL_osbpr1do

No comments: