• 1 reply
  • Latest Post - ‏2012-01-06T13:39:00Z by evantanski
1 Post

Pinned topic jboss5 ear deploy error

‏2011-11-07T07:13:22Z |
Hi, I am deploying an ear on jboss5 and getting below error. If anyone is having any solution to resolve this, please let me know.

java.lang.RuntimeException: Specification violation http://EJB3 JPA - You have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named: GSPersistenceUnit
at org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init>(
at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
Updated on 2012-01-06T13:39:00Z at 2012-01-06T13:39:00Z by evantanski
  • evantanski
    6 Posts

    Re: jboss5 ear deploy error

    Why you're using this very dusty jboss_2_4.dtd .Since you're using JBoss AS 5.1, I'd recommend using the moderner jboss_5_1.xsd schema instead.