-
Today I have purchased your book...great works.
I recommend it to everyone!
Ciao.
Gigi.
2009-11-03 15:52:19 UTC in OpenXava
-
Hi Xavier.
Summarize:
**Step 0:** create a valid jboss DS under ....deploy/myds-ds.xml
**Step 1:** modify OX WEB-INF/classes/META-INF/persistence.xml:
<!-- JBoss + PortgreSQL -->
<persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>...
2009-09-24 08:30:43 UTC in OpenXava
-
Hi Javier.
Thanks for yuor answer.
After introduction of transaction-type="RESOURCE_LOCAL", the error for persistence unit "default" is:
Deployment "persistence.unit:unitName=#default" is in error due to the following reason(s): java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence
for persistence unit "junit":
Deployment...
2009-09-04 09:55:25 UTC in OpenXava
-
Hi All.
When I start JBOSS 5.1.0 with a my new OX 3.1.4 app (i have already configured persistence.xml), i have the follow error:
DEPLOYMENTS IN ERROR:
Deployment "persistence.unit:unitName=#default" is in error due to the following reason(s): java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled...
2009-09-03 12:56:20 UTC in OpenXava