Hi!
I'm using JBoss AS 4.0.4.GA with Hibernate 3.2.0 CR2 and I'm unable to set the TransactionStrategy from jboss-service.xml.
The error is:
org.jboss.deployment.DeploymentException: No Attribute found with name: TransactionStrategy
My jboss-service.xml is:
<?xml version="1.0" encoding="UTF-8"?> <server> <mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.erp:name=ErpSessionFactory"> <attribute name="DatasourceName">java:/DefaultDS</attribute> <attribute name="Dialect"> org.hibernate.dialect.PostgreSQLDialect </attribute> <attribute name="SessionFactoryName"> java:/hibernate/ErpSessionFactory </attribute> <attribute name="TransactionStrategy"> org.hibernate.transaction.CMTTransactionFactory</attribute> <attribute name="TransactionManagerLookupStrategy"> org.hibernate.transaction.JBossTransactionManagerLookup</attribute> <!-- <attribute name="Hbm2ddlAuto">create-drop</attribute> --> <attribute name="ShowSqlEnabled">true</attribute> </mbean> </server>
hi guido
I have the same problem now, years later.
do you remember how to solve it?
I can't make transactions to work with hibernate MBEAN definition in hibernate-service.xml on jboss.
do you have any clues?
thanks
nicolas