Diego Rivera [
http://community.jboss.org/people/diego_rivera] created the discussion
"Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException"
To view the discussion, visit:
http://community.jboss.org/message/583351#583351
--------------------------------------------------------------
More news, tested with an XA DataSource - still no luck
Help?
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<datasources>
<xa-datasource>
<xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
<xa-resource-timeout>0</xa-resource-timeout>
<xa-datasource-property
name="ServerName">localhost</xa-datasource-property>
<xa-datasource-property
name="DatabaseName">mydb</xa-datasource-property>
<xa-datasource-property
name="User">mydb</xa-datasource-property>
<xa-datasource-property
name="Password">mydb</xa-datasource-property>
<track-connection-by-tx/>
<no-tx-separate-pools/>
<jndi-name>MyDS</jndi-name>
<use-java-context>true</use-java-context>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<check-valid-connection-sql>select
1</check-valid-connection-sql>
<metadata>
<type-mapping>PostgreSQL 8.0</type-mapping>
</metadata>
<min-pool-size>8</min-pool-size>
<max-pool-size>32</max-pool-size>
<idle-timeout-minutes>30</idle-timeout-minutes>
<prefill>true</prefill>
</xa-datasource>
</datasources>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/583351#583351]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]