[infinispan-issues] [JBoss JIRA] (ISPN-2132) CLONE - Getting java.lang.StackOverflowError in org.infinispan.transaction.xa.TransactionXaAdapter.toString(TransactionXaAdapter.java:215)
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Mon Jul 9 07:02:12 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704924#comment-12704924 ]
Dan Berindei commented on ISPN-2132:
------------------------------------
Galder, maybe we should avoid calling the TM's Transaction.toString() from our TransactionXaAdapter?
We expose the TransactionXaAdapter to the TM, so it kind of makes sense for the TM to call our toString() implementation in their TransactionImpl.toString() (even though it seems only Weblogic does it).
> CLONE - Getting java.lang.StackOverflowError in org.infinispan.transaction.xa.TransactionXaAdapter.toString(TransactionXaAdapter.java:215)
> ------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-2132
> URL: https://issues.jboss.org/browse/ISPN-2132
> Project: Infinispan
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 5.0.1.FINAL, 5.1.5.FINAL
> Environment: Weblogic Server 10.3.5 running on Windows
> Reporter: Paul Jackson
> Assignee: Mircea Markus
> Fix For: 5.2.0.ALPHA2, 5.2.0.FINAL
>
>
> Hi,
> I am getting a StackOverFlowError when I call remote EJB's that return an exception. The EJBs are running in Weblogic configured to use the LLR XA transaction optimization. We are currently using version 5.0.1-FINAL. I have tried the latest 5.1.5-FINAL version and the problem still occurs.
> The top of the stacktrace is:
> javax.ejb.EJBException: EJB encountered System Exception: : java.lang.StackOverflowError
> at java.lang.Integer.toUnsignedString(Integer.java:245)
> at java.lang.Integer.toHexString(Integer.java:174)
> at weblogic.transaction.internal.XAResourceHelper.xidToString(XAResourceHelper.java:26)
> at weblogic.transaction.internal.XAResourceHelper.xidToString(XAResourceHelper.java:21)
> at weblogic.transaction.internal.XidImpl.toString(XidImpl.java:151)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuffer.append(StringBuffer.java:219)
> at weblogic.transaction.internal.TransactionImpl.toString(TransactionImpl.java:965)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuilder.append(StringBuilder.java:115)
> at org.infinispan.transaction.LocalTransaction.toString(LocalTransaction.java:159)
> at org.infinispan.transaction.xa.LocalXaTransaction.toString(LocalXaTransaction.java:66)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuilder.append(StringBuilder.java:115)
> at org.infinispan.transaction.xa.TransactionXaAdapter.toString(TransactionXaAdapter.java:214)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuffer.append(StringBuffer.java:219)
> at weblogic.transaction.internal.XAServerResourceInfo.toString(XAServerResourceInfo.java:151)
> at weblogic.transaction.internal.TransactionImpl.toString(TransactionImpl.java:985)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuilder.append(StringBuilder.java:115)
> at org.infinispan.transaction.LocalTransaction.toString(LocalTransaction.java:159)
> at org.infinispan.transaction.xa.LocalXaTransaction.toString(LocalXaTransaction.java:66)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuilder.append(StringBuilder.java:115)
> at org.infinispan.transaction.xa.TransactionXaAdapter.toString(TransactionXaAdapter.java:214)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuffer.append(StringBuffer.java:219)
> at weblogic.transaction.internal.XAServerResourceInfo.toString(XAServerResourceInfo.java:151)
> at weblogic.transaction.internal.TransactionImpl.toString(TransactionImpl.java:985)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuilder.append(StringBuilder.java:115)
> at org.infinispan.transaction.LocalTransaction.toString(LocalTransaction.java:159)
> at org.infinispan.transaction.xa.LocalXaTransaction.toString(LocalXaTransaction.java:66)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuilder.append(StringBuilder.java:115)
> at org.infinispan.transaction.xa.TransactionXaAdapter.toString(TransactionXaAdapter.java:214)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list