activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From moonbird <moonb...@ymail.com>
Subject Deployment failure with JBoss and ActiveMQ 5.3
Date Wed, 23 Sep 2009 12:01:08 GMT

Hi,

I have a an eclipse Java Enterprise project, which consists of a ejb-project
and a dynamic-web-project.
My web-project needs the ActiveMQ client library to connect to the
middleware. So I copied the activemq-all-5.3.jar to the folder WEB-INF/lib
and starteted the EAR deployment to my JBoss 5 AS.
During the deployment I get the following error stack trace:

13:38:32,642 INFO  [PersistenceUnitDeployment] Starting persistence unit
persistence.unit:unitName=App2.ear/App2Web.war#activemq
13:38:32,643 ERROR [AbstractKernelController] Error installing to Start:
name=persistence.unit:unitName=App2.ear/App2Web.war#activemq state=Create
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You
have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled
persistence context named: activemq
	at
org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:124)

...
...
...

13:38:34,225 WARN  [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "persistence.unit:unitName=App.ear/App2Web.war#activemq" 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
non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named:
activemq

The application runs very well, I get no runtime exceptions.

What is the meaning of this error message ? What am I doing wrong ? Is this
a activemq bug ? Is it a problem of JBoss ?


Thank you very much!


-- 
View this message in context: http://www.nabble.com/Deployment-failure-with-JBoss-and-ActiveMQ-5.3-tp25531099p25531099.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message