2 Replies Latest reply on Nov 5, 2014 2:16 AM by Kasim Ali

    JBAS014771: Services with missing/unavailable dependencies

    Kasim Ali Newbie

      Hi,

       

      I have just started using Jboss. I get this error when i am trying to deploy a war file on JBoss 6.3. I have done datasource and binding configurations in standalone.xml and set up modules.xml as suggested in installation guide (plz see the configurations pasted below). Could someone please help me find what is going wrong.

       

      DB: MSSQL

      Error:

      17:39:28,036 INFO  [org.jboss.as.repository] (HttpManagementService-threads - 1) JBAS014900: Content added at location /usr/share/jboss-eap.6.3/standalone/data/content/4b/de58cd89c25fddd63971dedc0d44433fd00abe/content

      17:39:36,743 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "prweb.war" (runtime-name: "prweb.war")

      17:39:37,218 INFO  [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 49) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.10.Final

      17:39:37,259 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 50) ISPN000161: Using a batchMode transaction manager

      17:39:37,259 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 48) ISPN000161: Using a batchMode transaction manager

      17:39:37,459 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 50) ISPN000031: MBeans were successfully registered to the platform MBean server.

      17:39:37,459 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 48) ISPN000031: MBeans were successfully registered to the platform MBean server.

      17:39:37,461 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 50) JBAS010281: Started local-web cache from web container

      17:39:37,461 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) JBAS010281: Started default-host/prweb cache from web container

      17:39:37,475 ERROR [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS015870: Deploy of deployment "prweb.war" was rolled back with the following failure message:

      {"JBAS014771: Services with missing/unavailable dependencies" => [

          "jboss.naming.context.java.module.prweb.prweb.env.jdbc.PegaRULES is missing [jboss.naming.context.java.jdbc.PegaRULES]",

          "jboss.naming.context.java.module.prweb.prweb.env.jdbc.AdminPegaRULES is missing [jboss.naming.context.java.jdbc.PegaRULES]"

      ]}

      17:39:37,487 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) JBAS010282: Stopped default-host/prweb cache from web container

      17:39:37,497 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment prweb.war (runtime-name: prweb.war) in 21ms

      17:39:37,508 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) JBAS010282: Stopped local-web cache from web container

      17:39:37,514 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 1) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.DiagnosticDataBoot".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.DiagnosticDataBoot".START]

            service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.DiagnosticDataBoot".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot".START]

            service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.WebStandardBoot".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.WebStandardBoot".START]

            service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.WebStandardBoot".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."com.sun.faces.config.ConfigureListener".START]

            service jboss.deployment.unit."prweb.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."javax.faces.webapp.FacetTag".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."javax.faces.webapp.FacetTag".START]

            service jboss.deployment.unit."prweb.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]

            service jboss.deployment.unit."prweb.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."prweb.war".deploymentCompleteService, service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]

            service jboss.deployment.unit."prweb.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."org.apache.catalina.servlets.DefaultServlet".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."org.apache.catalina.servlets.DefaultServlet".START]

            service jboss.deployment.unit."prweb.war".component."org.apache.catalina.servlets.DefaultServlet".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".component."org.apache.jasper.servlet.JspServlet".CREATE (missing) dependents: [service jboss.deployment.unit."prweb.war".component."org.apache.jasper.servlet.JspServlet".START]

            service jboss.deployment.unit."prweb.war".component."org.apache.jasper.servlet.JspServlet".START (missing) dependents: [service jboss.web.deployment.default-host./prweb]

            service jboss.deployment.unit."prweb.war".jndiDependencyService (missing) dependents: [service jboss.deployment.unit."prweb.war".component."org.apache.catalina.servlets.DefaultServlet".START, service jboss.deployment.unit."prweb.war".component."javax.faces.webapp.FacetTag".START, service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot".START, service jboss.deployment.unit."prweb.war".component."com.pega.pegarules.internal.web.servlet.DiagnosticDataBoot".START, JBAS014799: ... and 7 more ]

            service jboss.naming.context.java.app.prweb.env (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.jdbc.PegaRULES (missing) dependents: [service jboss.naming.context.java.module.prweb.prweb.env.jdbc.AdminPegaRULES, service jboss.naming.context.java.module.prweb.prweb.env.jdbc.PegaRULES]

            service jboss.naming.context.java.module.prweb.prweb.TransactionSynchronizationRegistry (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.UserTransaction (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.jdbc.AdminPegaRULES (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.jdbc.PRFileStore (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.jdbc.PegaRULES (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.pega.jboss.jndiProviderURL (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.pega.preferObjectLookup (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.pega.tomcat.jndiProviderFactory (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.pega.tomcat.jndiProviderURL (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.pega.weblogic.jndiProviderURL (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.pega.websphere.jndiProviderURL (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.url.initialization.explicittempdir (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.url."pegarules.bootstrap" (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.url."pegarules.config" (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.url."pegarules.keyring" (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.url."pegarules.logging.configuration" (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.naming.context.java.module.prweb.prweb.env.url."prmbeans.security" (missing) dependents: [service jboss.deployment.unit."prweb.war".jndiDependencyService]

            service jboss.web.deployment.default-host./prweb.realm (missing) dependents: [service jboss.deployment.unit."prweb.war".deploymentCompleteService, service jboss.web.deployment.default-host./prweb]

       

      Standalone.xml

       

      <subsystem xmlns="urn:jboss:domain:datasources:1.2">

                  <datasources>

                      <datasource jta="false" jndi-name="java:jboss/PegaRULES" pool-name="PegaRULES" enabled="true" use-java-context="true" use-ccm="false">

                          <connection-url>jdbc:sqlserver://host:port;DatabaseName=database_name;selectMethod=cursor;sendStringParametersAsUnicode=false</connection-url>

                          <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>

                          <driver>mssql</driver>

                          <security>

                              <user-name>userName</user-name>

                              <password>Password</password>

                          </security>

                          <validation>

                              <validate-on-match>false</validate-on-match>

                              <background-validation>false</background-validation>

                          </validation>

                          <statement>

                              <share-prepared-statements>false</share-prepared-statements>

                          </statement>

                      </datasource>

                      <drivers>

                          <driver name="mssql" module="com.mssql"/>

                      </drivers>

                  </datasources>

       

      <subsystem xmlns="urn:jboss:domain:naming:1.4">

                  <bindings>

                      <simple name="java:/prconfig/identification/systemName" value="pega"/>

                      <simple name="java:/prconfig/database/databases/PegaRULES/defaultSchema" value="Pega_Rules"/>

                      <simple name="java:/prconfig/database/databases/PegaDATA/defaultSchema" value="Pega_Data"/>

                      <simple name="java:/url/pega/none" value="file:/nul"/>

                  </bindings>

                  <remote-naming/>

              </subsystem>

       

      Modules.xml

       

      <?xml version="1.0" encoding="UTF-8"?> 

       

       

      <module xmlns="urn:jboss:module:1.1" name="com.mssql"> 

        <properties> 

          <property name="jboss.api" value="unsupported"/>

        </properties> 

       

       

        <resources> 

          <resource-root path="sqljdbc4.jar"/> 

              <!-- Insert resources here --> 

        </resources> 

          <dependencies> 

          <module name="javax.api"/> 

          <module name="javax.transaction.api"/> 

          <module name="javax.servlet.api" optional="true"/> 

        </dependencies> 

      </module>