[seam-issues] [JBoss JIRA] (SEAMPERSIST-80) CMT vanishes when using Servlets and Seam Persistence

Fab Mars (JIRA) jira-events at lists.jboss.org
Sun Dec 30 23:47:08 EST 2012


     [ https://issues.jboss.org/browse/SEAMPERSIST-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fab Mars updated SEAMPERSIST-80:
--------------------------------

    Attachment: TestEjbWeb.zip


the example
                
> CMT vanishes when using Servlets and Seam Persistence
> -----------------------------------------------------
>
>                 Key: SEAMPERSIST-80
>                 URL: https://issues.jboss.org/browse/SEAMPERSIST-80
>             Project: Seam Persistence
>          Issue Type: Bug
>    Affects Versions: 3.1.0.Final
>         Environment: Win7, Glassfish 3.1.2.2, Mojarra 2.1.14, Weld 1.1.8, Seam 3.1.0
>            Reporter: Fab Mars
>              Labels: cmt, ejb, seam, servlet, transaction
>         Attachments: TestEjbWeb.zip
>
>
> When Seam Persistence/transaction is installed and calling from a SERVLET an EJB business method that performs em.persist/merge, tranasaction management is gone, thus statements are not executed.
> I read carefully these:
> http://docs.jboss.org/seam/3/persistence/latest/reference/en-US/html/persistence.html#d0e68
> [i]By default seam will attempt to look up java:comp/UserTransaction from JNDI [b](or alternatively retrieve it from the EJBContext if a container managed transaction is active)[/b].[/i]
> ==>This is obviously not correct if you try with the attached example.
> I tried to use a SMPC, to no avail.
> Then I read this https://community.jboss.org/thread/178844
> Without much hope, I tired to use ?cid=#{conversation.id} witht he servelt URL, to no avail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list