Trying to start a bean on JBoss AS 7 got this error:
15:55:51,252 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "dodsr.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"dodsr.ear/dodsr.jar#DoDSRMGR\"jboss.naming.context.java.DoDSRDSMissing[jboss.persistenceunit.\"dodsr.ear/dodsr.jar#DoDSRMGR\"jboss.naming.context.java.DoDSRDS]"]}
Can someone please explain what this means? What do I have to configure to get this thing to run?
Also, this line in the log:
15:55:51,287 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java.DoDSRDS (missing) dependents: [service jboss.persistenceunit."dodsr.ear/dodsr.jar#DoDSRMGR"]
What is this trying to tell me that I have done wrong?
Following your last question, I can guess the problem is that in your persistence.xml file you are referring to a JTA Data Source named java:/DoDSRDS
.
The server logs are telling you that it doesn't have a JDBC Datasource with that name. Check in your Jboss admin console in the JDBC Data Sources section to see if your resurce's name is correct. You should have a JDBC Data Source named DoDSRDS
.
Also, You are using the format java:/DoDSRDS
. I don't have much knowledge about Jboss resource naming but after reading other related posts I think the correct format for your resource name should be java:jboss/DoDSRDS
. Try using this format in the persistence.xml file and see if it works.