Fab Mars created SEAMPERSIST-80:
-----------------------------------
Summary: 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
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
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues