JBoss Community

persistence.xml does not deploy

created by ora7 in Datasource Configuration - View the full discussion

Hello

 

I have configured a PhysicsDS datasource. It can be deployed, the database is created.

I try to use it in my persistence.xml. But it does not deploy.

I get the error:

 

DEPLOYMENTS MISSING DEPENDENCIES:

Deployment "persistence.unit:unitName=physics.ear/physics-ejb.jar#physicsdb" is missing the following dependencies:

Dependency "jboss.jca:name=PhysicsDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=PhysicsDS,service=DataSourceBinding' **")

 

DEPLOYMENTS IN ERROR:

Deployment "jboss.jca:name=PhysicsDS,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=PhysicsDS,service=DataSourceBinding' **

 

at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(

) [:2.2.2.GA]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Must I add more information in the persistence.xml? I does not  understand it. Is it meaning a datasourcebinbding property is missing?

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community