[seam-issues] [JBoss JIRA] (JBSEAM-4922) Wrong class cast in org.jboss.seam.transaction.Transaction.getUserTransaction

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Mon Apr 2 06:14:47 EDT 2012


Marek Schmidt created JBSEAM-4922:
-------------------------------------

             Summary: Wrong class cast in org.jboss.seam.transaction.Transaction.getUserTransaction
                 Key: JBSEAM-4922
                 URL: https://issues.jboss.org/browse/JBSEAM-4922
             Project: Seam 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.3.0.BETA1
            Reporter: Marek Schmidt
            Assignee: Marek Schmidt
             Fix For: 2.3.0.BETA2


Attempting to get userTransaction on AS7 fails with the following exception:

{noformat}
12:04:29,681 ERROR [org.jboss.seam.async.AsynchronousExceptionHandler] (pool-11-thread-1) Exception thrown whilst executing asynchronous call: java.lang.ClassCastException: org.jboss.tm.usertx.client.ServerVMClie
ntUserTransaction cannot be cast to org.jboss.seam.transaction.UserTransaction
        at org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:95) [jboss-seam-2.3.0.Beta2-SNAPSHOT.jar:2.3.0.Beta2-SNAPSHOT]
        at org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:74) [jboss-seam-2.3.0.Beta2-SNAPSHOT.jar:2.3.0.Beta2-SNAPSHOT]
        at org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:47) [jboss-seam-2.3.0.Beta2-SNAPSHOT.jar:2.3.0.Beta2-SNAPSHOT]
{noformat}

--
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 seam-issues mailing list