<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">&lt;<a href="mailto:frank.langelage@osnanet.de" target="_blank">frank.langelage@osnanet.de</a>&gt;</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&#39;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.&quot;DefaultDS-ds.xml&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;DefaultDS-ds.xml&quot;.STRUCTURE: JBAS018733:
      Failed to process phase STRUCTURE of deployment &quot;DefaultDS-ds.xml&quot;<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.&quot;ifxjdbc_all.jar&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;ifxjdbc_all.jar&quot;.STRUCTURE: JBAS018733:
      Failed to process phase STRUCTURE of deployment &quot;ifxjdbc_all.jar&quot;<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.&quot;sqljdbc4.jar&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;sqljdbc4.jar&quot;.STRUCTURE: JBAS018733: Failed
      to process phase STRUCTURE of deployment &quot;sqljdbc4.jar&quot;<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.&quot;ojdbc6.jar&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;ojdbc6.jar&quot;.STRUCTURE: JBAS018733: Failed
      to process phase STRUCTURE of deployment &quot;ojdbc6.jar&quot;<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 &quot;sqljdbc4.jar&quot; (runtime-name : &quot;sqljdbc4.jar&quot;)<br>
      22:27:38,619 INFO  [org.jboss.as.server#handleResult] JBAS018559:
      Deployed &quot;ojdbc6.jar&quot; (runtime-name : &quot;ojdbc6.jar&quot;)<br>
      22:27:38,620 INFO  [org.jboss.as.server#handleResult] JBAS018559:
      Deployed &quot;ifxjdbc_all.jar&quot; (runtime-name : &quot;ifxjdbc_all.jar&quot;)<br>
      22:27:38,621 INFO  [org.jboss.as.server#handleResult] JBAS018559:
      Deployed &quot;DefaultDS-ds.xml&quot; (runtime-name : &quot;DefaultDS-ds.xml&quot;)<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.&quot;ojdbc6.jar&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;ojdbc6.jar&quot;.STRUCTURE: JBAS018733: Failed
      to process phase STRUCTURE of deployment &quot;ojdbc6.jar&quot;<br>
            service jboss.deployment.unit.&quot;sqljdbc4.jar&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;sqljdbc4.jar&quot;.STRUCTURE: JBAS018733: Failed
      to process phase STRUCTURE of deployment &quot;sqljdbc4.jar&quot;<br>
            service jboss.deployment.unit.&quot;ifxjdbc_all.jar&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;ifxjdbc_all.jar&quot;.STRUCTURE: JBAS018733:
      Failed to process phase STRUCTURE of deployment &quot;ifxjdbc_all.jar&quot;<br>
            service jboss.deployment.unit.&quot;DefaultDS-ds.xml&quot;.STRUCTURE:
      org.jboss.msc.service.StartException in service
      jboss.deployment.unit.&quot;DefaultDS-ds.xml&quot;.STRUCTURE: JBAS018733:
      Failed to process phase STRUCTURE of deployment &quot;DefaultDS-ds.xml&quot;<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>