I imported the sample ds-jpa from SmartGWT 2.5p to test on jboss 5.
It import and built with no problem.
When I deploy to jboss 5 I get the following error:
Any pointers as to what does not work in the same jpa example and jboss 5?
It import and built with no problem.
When I deploy to jboss 5 I get the following error:
Code:
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You hav e not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named: ds at org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init(PersistenceUnitInfoImpl.java:124) at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:275) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke( ReflectMethodInfoImpl.java:150) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
Comment