<div dir="ltr"><div><div>This deferentially looks like a bug, code should be resolving model against AttributeDefintions defined in GlobalModulesDefinition<br><br></div>Can you create jira for this so it can be tracked.<br>
<br>--<br></div>tomaz<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 10:36 PM, Frank Langelage <span dir="ltr"><<a href="mailto:frank.langelage@osnanet.de" target="_blank">frank.langelage@osnanet.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<span title="ee/src/main/java/org/jboss/as/ee/structure/GlobalModuleDependencyProcessor.java">Today's
changes to
ee/src/main/java/org/jboss/as/ee/structure/GlobalModuleDependencyProcessor.java
cause problems for me.<br>
</span><br>
Especally these lines<br>
<table>
<tbody>
<tr>
<td>- boolean annotations = module.get(ANNOTATIONS).isDefined() ? module.get(ANNOTATIONS).asBoolean() : false;
</td>
</tr>
<tr>
<td>
- boolean services = module.get(SERVICES).isDefined() ? module.get(SERVICES).asBoolean() : true;
</td>
</tr>
<tr>
<td>
- boolean metaInf = module.get(META_INF).isDefined() ? module.get(META_INF).asBoolean() : false;
</td>
</tr>
<tr>
<td>
+ boolean annotations = module.get(ANNOTATIONS).asBoolean();
</td>
</tr>
<tr>
<td>
+ boolean services = module.get(SERVICES).asBoolean();
</td>
</tr>
<tr>
<td>
+ boolean metaInf = module.get(META_INF).asBoolean();
</td>
</tr>
</tbody>
</table>
<span title="ee/src/main/java/org/jboss/as/ee/structure/GlobalModuleDependencyProcessor.java"><br>
In deployments folder I have JDBC-drivers (ojdbc6.jar,
ifxjdbc_all.jar, sqljdbc4.jar) and a Datasource definition file
(DefaultDS-ds.xml) and for those I see<br>
22:27:34,851 ERROR [org.jboss.msc.service.fail#startFailed]
MSC000001: Failed to start service
jboss.deployment.unit."DefaultDS-ds.xml".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."DefaultDS-ds.xml".STRUCTURE: JBAS018733:
Failed to process phase STRUCTURE of deployment "DefaultDS-ds.xml"<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_17]<br>
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_17]<br>
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]<br>
Caused by: java.lang.IllegalArgumentException<br>
at org.jboss.dmr.ModelValue.asBoolean(ModelValue.java:66)<br>
at org.jboss.dmr.ModelNode.asBoolean(ModelNode.java:248)<br>
at
org.jboss.as.ee.structure.GlobalModuleDependencyProcessor.deploy(GlobalModuleDependencyProcessor.java:65)<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
... 5 more<br>
<br>
22:27:35,798 ERROR [org.jboss.msc.service.fail#startFailed]
MSC000001: Failed to start service
jboss.deployment.unit."ifxjdbc_all.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ifxjdbc_all.jar".STRUCTURE: JBAS018733:
Failed to process phase STRUCTURE of deployment "ifxjdbc_all.jar"<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_17]<br>
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_17]<br>
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]<br>
Caused by: java.lang.IllegalArgumentException<br>
at org.jboss.dmr.ModelValue.asBoolean(ModelValue.java:66)<br>
at org.jboss.dmr.ModelNode.asBoolean(ModelNode.java:248)<br>
at
org.jboss.as.ee.structure.GlobalModuleDependencyProcessor.deploy(GlobalModuleDependencyProcessor.java:65)<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
... 5 more<br>
<br>
22:27:36,118 ERROR [org.jboss.msc.service.fail#startFailed]
MSC000001: Failed to start service
jboss.deployment.unit."sqljdbc4.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."sqljdbc4.jar".STRUCTURE: JBAS018733: Failed
to process phase STRUCTURE of deployment "sqljdbc4.jar"<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_17]<br>
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_17]<br>
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]<br>
Caused by: java.lang.IllegalArgumentException<br>
at org.jboss.dmr.ModelValue.asBoolean(ModelValue.java:66)<br>
at org.jboss.dmr.ModelNode.asBoolean(ModelNode.java:248)<br>
at
org.jboss.as.ee.structure.GlobalModuleDependencyProcessor.deploy(GlobalModuleDependencyProcessor.java:65)<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
... 5 more<br>
<br>
22:27:36,920 ERROR [org.jboss.msc.service.fail#startFailed]
MSC000001: Failed to start service
jboss.deployment.unit."ojdbc6.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ojdbc6.jar".STRUCTURE: JBAS018733: Failed
to process phase STRUCTURE of deployment "ojdbc6.jar"<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]<br>
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_17]<br>
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_17]<br>
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]<br>
Caused by: java.lang.IllegalArgumentException<br>
at org.jboss.dmr.ModelValue.asBoolean(ModelValue.java:66)<br>
at org.jboss.dmr.ModelNode.asBoolean(ModelNode.java:248)<br>
at
org.jboss.as.ee.structure.GlobalModuleDependencyProcessor.deploy(GlobalModuleDependencyProcessor.java:65)<br>
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[jboss-as-server-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]<br>
... 5 more<br>
<br>
...<br>
<br>
22:27:38,617 INFO [org.jboss.as.server#handleResult] JBAS018559:
Deployed "sqljdbc4.jar" (runtime-name : "sqljdbc4.jar")<br>
22:27:38,619 INFO [org.jboss.as.server#handleResult] JBAS018559:
Deployed "ojdbc6.jar" (runtime-name : "ojdbc6.jar")<br>
22:27:38,620 INFO [org.jboss.as.server#handleResult] JBAS018559:
Deployed "ifxjdbc_all.jar" (runtime-name : "ifxjdbc_all.jar")<br>
22:27:38,621 INFO [org.jboss.as.server#handleResult] JBAS018559:
Deployed "DefaultDS-ds.xml" (runtime-name : "DefaultDS-ds.xml")<br>
22:27:38,625 INFO [org.jboss.as.controller#release] JBAS014774:
Service status report<br>
JBAS014777: Services which failed to start: service
jboss.deployment.unit."ojdbc6.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ojdbc6.jar".STRUCTURE: JBAS018733: Failed
to process phase STRUCTURE of deployment "ojdbc6.jar"<br>
service jboss.deployment.unit."sqljdbc4.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."sqljdbc4.jar".STRUCTURE: JBAS018733: Failed
to process phase STRUCTURE of deployment "sqljdbc4.jar"<br>
service jboss.deployment.unit."ifxjdbc_all.jar".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ifxjdbc_all.jar".STRUCTURE: JBAS018733:
Failed to process phase STRUCTURE of deployment "ifxjdbc_all.jar"<br>
service jboss.deployment.unit."DefaultDS-ds.xml".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."DefaultDS-ds.xml".STRUCTURE: JBAS018733:
Failed to process phase STRUCTURE of deployment "DefaultDS-ds.xml"<br>
<br>
</span>
</div>
<br>_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br></blockquote></div><br></div>