[jboss-user] [IronJacamar] - Re: JCA Spec violation using resource-adapter in JBoss 7?
jsteidl
do-not-reply at jboss.com
Fri Mar 1 16:55:58 EST 2013
jsteidl [https://community.jboss.org/people/jsteidl] created the discussion
"Re: JCA Spec violation using resource-adapter in JBoss 7?"
To view the discussion, visit: https://community.jboss.org/message/800406#800406
--------------------------------------------------------------
I'm not sure exactly which log you're getting that from (it's from a different run than the last one), and anyways only the latest set of logs includes the intermediate file, so I'll just go with the essentially identical bit from the logs included with post #11:
out:MessageEndpoint.beforeDelivery(public abstract void javax.jms.MessageListener.onMessage(javax.jms.Message)) #4 @1362075179551..1362075179571
in:xaResourceWrapper0.setTransactionTimeout(300) -> true #4 @1362075179554..1362075179560
out:XAResource.setTransactionTimeout(300) -> true #4 @1362075179556..1362075179559
in:xaResourceWrapper0.start(xid3,0) #4 @1362075179562..1362075179570
out:XAResource.start(xid3,0) #4 @1362075179565..1362075179568
(The only difference from the instance you were looking at is the timestamps.)
As described in post #11, you can get a full stack trace for any given call. In this case you want to know how this is getting called:
in:xaResourceWrapper0.start(xid3,0) #4 @1362075179562..1362075179570
The easiest way to find that is to search the intermediate file (tempm.int) for the start time (1362075179562) until you locate the entry record for the in:XAResource.start #4 call:
OracleJMSConnector event: enter method
formal method: javax.transaction.xa.XAResource.start
call direction: in (OracleJMSConnector is callee)
call count: 4
currentThread: Thread[default-threads - 1,5,default-threads]
currentTimeMillis: 1362075179562
call stack:
weblogic.jms.ra.XAResourceWrapper.start(XAResourceWrapper.java:384)
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:636)
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:397)
org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.beforeDelivery(MessageEndpointInvocationHandler.java:110)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
org.jboss.as.ejb3.inflow.AbstractInvocationHandler.handle(AbstractInvocationHandler.java:60)
org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:136)
org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)
$Proxy9.beforeDelivery(Unknown Source)
weblogic.jms.ra.Provider.beforeDelivery(Provider.java:1460)
weblogic.jms.ra.EndpointListener.run(EndpointListener.java:315)
weblogic.jms.ra.EndpointThread.run(EndpointThread.java:143)
org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:218)
org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:806)
org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:826)
java.lang.Thread.run(Thread.java:722)
org.jboss.threads.JBossThread.run(JBossThread.java:122)
target:
formal type: javax.transaction.xa.XAResource
actual type: weblogic.jms.ra.XAResourceWrapper
classloader.toString: 'ModuleClassLoader for Module "deployment.wl-jms-ra.rar:main" from Service Module Loader'
interfaces:
interface: javax.transaction.xa.XAResource
classloader.toString: 'ModuleClassLoader for Module "javax.transaction.api:main" from local module loader @73d0a8dc (finder: local module finder @7fe3eeb (roots: /scratch/jleinawe/p4/w/src1212_17010b18_x86_64/bea/results/wls/functional/jms/jboss/modules,/scratch/jleinawe/p4/w/src1212_17010b18_x86_64/bea/results/wls/functional/jms/jboss/modules/system/layers/base))'
identityHashCode: 23175cbf
toString: 'weblogic.jms.ra.XAResourceWrapper at 23175cbf'
parameter #1:
formal type: javax.transaction.xa.Xid
actual type: com.arjuna.ats.jta.xa.XidImple
classloader.toString: 'ModuleClassLoader for Module "org.jboss.jts:main" from local module loader @73d0a8dc (finder: local module finder @7fe3eeb (roots: /scratch/jleinawe/p4/w/src1212_17010b18_x86_64/bea/results/wls/functional/jms/jboss/modules,/scratch/jleinawe/p4/w/src1212_17010b18_x86_64/bea/results/wls/functional/jms/jboss/modules/system/layers/base))'
interfaces:
interface: java.io.Serializable
classloader is null
interface: javax.transaction.xa.Xid
classloader.toString: 'ModuleClassLoader for Module "javax.transaction.api:main" from local module loader @73d0a8dc (finder: local module finder @7fe3eeb (roots: /scratch/jleinawe/p4/w/src1212_17010b18_x86_64/bea/results/wls/functional/jms/jboss/modules,/scratch/jleinawe/p4/w/src1212_17010b18_x86_64/bea/results/wls/functional/jms/jboss/modules/system/layers/base))'
identityHashCode: 3447fc7
Xid value:
formatID: 131077 (0x20005)
gtid: 00000000000000000000ffff0ae5bb875709964c512f9df90000001d31 (29 bytes)
bqual: 00000000000000000000ffff0ae5bb875709964c512f9df90000001e0000000000000000 (36 bytes)
toString: '< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0ae5bb87:5709964c:512f9df9:1d, node_name=1, branch_uid=0:ffff0ae5bb87:5709964c:512f9df9:1e, subordinatenodename=null, eis_name=unknown eis name >'
parameter #2:
type: int
value: 0
related:
in:javax.resource.spi.ResourceAdapter.endpointActivation #1
in:weblogic.jms.ra.api.DestinationSetListener.add #1
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/800406#800406]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130301/abd056b4/attachment-0001.html
More information about the jboss-user
mailing list