[jboss-jira] [JBoss JIRA] Commented: (JBAS-7434) org.jboss.test.cluster.defaultcfg.clusteredentity

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Nov 16 20:57:41 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494921#action_12494921 ] 

Brian Stansberry commented on JBAS-7434:
----------------------------------------

Created a separate test for this, org.jboss.test.jpa.test.ScopedWithCacheUnitTestCase that fails with JTS, ok with the standard setup. Failure stack trace is as above.

The test simply:

1) deploys and ear with an isolated classloader including 
2) deploy a persistence unit w/ 2LC enabled (HashtableCacheProvider) 
3) invokes on an SLSB which, inside a tx, tries to 
4) insert an entity w/ an @Lob field

In 2) the second level cache is relevant because stack trace above shows failure happening during disassembly of an entity for storage in the cache.
In 3) I use the SLSB just to a) provide a remote interface for the test driver and b) mark transaction demarcation trivial.

The thread that fails is an org.jacorb.poa.RequestProcessor. Whatever is submitting a task to that thread is either not setting the tcl (JTS bug) or whatever synchronization etc it calls into is supposed to set the tcl and isn't (hibernate bug).

> org.jboss.test.cluster.defaultcfg.clusteredentity
> -------------------------------------------------
>
>                 Key: JBAS-7434
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7434
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Shelly McGowan
>            Assignee: Brian Stansberry
>             Fix For: JBossAS-6.0.0.M1
>
>
> EntityQueryUnitTestCase
> EntityQueryRedeployUnitTestCase
> OptimisticEntityQueryRedeployUnitTestCase
> OptimisticEntityQueryUnitTestCase
> ProvidedPrefixEntityQueryUnitTestCase
> The above tests are failing in the testsuite with JTS enabled with javax.transaction.RollbackException
> See:
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.x-testSuite-JTS/lastBuild/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list