[jboss-user] [JBoss Seam] - Re: JBoss Seam JTA transactions
breako
do-not-reply at jboss.com
Wed Nov 28 09:01:06 EST 2007
Thanks for that - it makes sens as my components.xml had an entry
| <transaction:entity-transaction entity-manager="#{em}"/>
|
I remove this line and all works fine.
Just to let people know my components.xml is
| <?xml version="1.0" encoding="UTF-8"?>
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:persistence="http://jboss.com/products/seam/persistence"
| xmlns:transaction="http://jboss.com/products/seam/transaction"
| xmlns:security="http://jboss.com/products/seam/security"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation=
| "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
| http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
| http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd
| http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
| http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
|
| <core:manager conversation-timeout="120000"
| concurrent-request-timeout="500"
| conversation-id-parameter="cid"/>
|
|
| <persistence:entity-manager-factory name="bookingDatabase"/>
|
| <persistence:managed-persistence-context name="em"
| auto-create="true"
| entity-manager-factory="#{bookingDatabase}"/>
| <security:identity authenticate-method="#{authenticator.authenticate}"/>
|
| </components>
|
Enjoy.
My next challenge is to get Seam working with JTA in Tomcat! I might take questions in a separate thread :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108476#4108476
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108476
More information about the jboss-user
mailing list