7.1.1-Final: Confusing error message. "Missing dependency" on datasource which is present?
bcantrick May 29, 2012 1:49 PMI'm seeing the following in the server log:
11:14:13,017 INFO [org.jboss.as.server.deployment] (MSC service thread 1-24) JBAS015876: Starting deployment of "testcase.war"
11:14:16,775 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry jaxp-api.jar in "/home/bcantrick/jboss/jboss-as-7.1.1.Final/standalone/deployments/testcase.war/WEB-INF/lib/saaj-api.jar" does not point to a valid jar for a Class-Path reference.
[9 lines removed]
11:14:16,794 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry xsdlib.jar in "/home/bcantrick/jboss/jboss-as-7.1.1.Final/standalone/deployments/testcase.war/WEB-INF/lib/msv.jar" does not point to a valid jar for a Class-Path reference.
11:14:17,344 WARN [org.jboss.as.server.deployment] (MSC service thread 1-17) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'
11:14:18,686 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010403: Deploying JDBC-compliant driver class com.microsoft.sqlserver.jdbc.SQLServerDriver (version 3.0)
11:14:18,851 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [app/datasources/appPoolTx]
11:14:19,119 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "testcase.war" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.testcase.testcase.env.mainPoolTxjboss.naming.context.java.app.testcase.datasources.appPoolTxMissing[jboss.naming.context.java.module.testcase.testcase.env.mainPoolTxjboss.naming.context.java.app.testcase.datasources.appPoolTx]"]}
11:14:19,205 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010409: Unbound data source [app/datasources/appPoolTx]
11:14:19,313 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment testcase.war in 194ms
11:14:19,321 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java.app.testcase.datasources.appPoolTx (missing) dependents: [service jboss.naming.context.java.module.testcase.testcase.env.mainPoolTx]
11:14:19,329 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.testcase.testcase.env.mainPoolTxjboss.naming.context.java.app.testcase.datasources.appPoolTxMissing[jboss.naming.context.java.module.testcase.testcase.env.mainPoolTxjboss.naming.context.java.app.testcase.datasources.appPoolTx]"]}}}
The part I can't figure out is the dependency error message. I've parsed it out thusly:
{"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.naming.context.java.module.testcase.testcase.env.mainPoolTx
jboss.naming.context.java.app.testcase.datasources.appPoolTx
Missing
[jboss.naming.context.java.module.testcase.testcase.env.mainPoolTx
jboss.naming.context.java.app.testcase.datasources.appPoolTx]
"]}
I can't tell for certain what this is supposed to mean. Is this telling me that env.mainPoolTx depends on datasources.appPoolTx? Or the other way around? Or is this trying to tell me that both env.mainPoolTx and datasources.appPoolTx depend on... themselves?
If env.mainPoolTx depends on datasources.appPoolTx (which is what I intended), why is there an error? The logs clearly show that "Bound data source [app/datasources/appPoolTx]" happens before the error. Any dependency that env.mainPoolTx has on datasources.appPoolTx would seem to be satisfied.
Am I missing something obvious here?
-
server.log.zip 2.0 KB