2 Replies Latest reply on Aug 17, 2012 9:08 AM by pugsherpa Branched to a new discussion.

    JBAS014775 New missing/unsatisfied dependencies

    pugsherpa Newbie

      The familiar problem.  However, this time, the dependencies that seem to be missing are all jboss dependencies.  Why are jboss's own services not available?

       

      server.log:

      {code}

      JBAS014775 New missing/unsatisfied dependencies:

           service jboss.cached-connection-manager (missing) dependents: [service jboss.raactivator.hornetq-ra, service jboss.data-source.java:jboss/fishstore/fishstoreDataSource, service jboss.data-source.java:jboss/fishstore/LoginDataSource]

           service jboss.connector.config (missing) dependents: [service jboss.raactivator.hornetq-ra]

           service jboss.connector.transactionintegration (missing) dependents: [service jboss.raactivator.hornetq-ra, service jboss.data-source.java:jboss/fishstore/fishstoreDataSource, service jboss.data-source.java:jboss/fishstore/LoginDataSource]

           service jboss.ironjacamar.connection-validator (missing) dependents: [service jboss.data-source.java:jboss/fishstore/fishstoreDataSource, service jboss.data-source.java:jboss/fishstore/LoginDataSource]

           service jboss.ironjacamar.idle-remover (missing) dependents: [service jboss.data-source.java:jboss/fishstore/fishstoreDataSource, service jboss.data-source.java:jboss/fishstore/LoginDataSource]

           service jboss.ironjacamar.mdr (missing) dependents: [service jboss.raactivator.hornetq-ra]

           service jboss.jdbc-driver.registry (missing) dependents: [service jboss.jdbc-driver.oracle, service jboss.data-source.java:jboss/fishstore/fishstoreDataSource, service jboss.data-source.java:jboss/fishstore/LoginDataSource]

           service jboss.management_repository (missing) dependents: [service jboss.raactivator.hornetq-ra, service jboss.data-source.java:jboss/fishstore/fishstoreDataSource, service jboss.data-source.java:jboss/fishstore/LoginDataSource]

           service jboss.raregistry (missing) dependents: [service jboss.raactivator.hornetq-ra]

           service jboss.rarepository (missing) dependents: [service jboss.ejb.utilities, service jboss.raactivator.hornetq-ra]

      {code}

       

      standalone-full.xml:

       

      {code:xml}

      <datasources>

           <datasource jndi-name="java:jboss/fishstore/LoginDataSource" pool-name="LoginDataSource" enabled="true" use-java-context="true">

                <connection-url>valid connection url</connection-url>

                <driver>oracle</driver>

                <security>

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

                     <password>pw</password>

                </security>

           </datasource>

           <datasource jndi-name="java:jboss/fishstore/fishstoreDataSource" pool-name="fishstoreDataSource" enabled="true" use-java-context="true">

                <connection-url>valid connection url</connection-url>

                <driver>oracle</driver>

                <security>

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

                     <password>pw</password>

                </security>

           </datasource>

           <drivers>

                <driver name="oracle" module="com.oracle.jdbc14">

                     <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>

                </driver>

           </drivers>

      </datasources>

      {code}

       

      Am I missing properties in a deployment file somewhere?  Am I forgeting to import a certain module?  Are my datasources incorrect?

       

      How to debug from here?

        • 1. Re: JBAS014775 New missing/unsatisfied dependencies
          Nicklas Karlsson Master

          What does your persistence.xml look like?

          • 2. Re: JBAS014775 New missing/unsatisfied dependencies
            pugsherpa Newbie

            This happens without the ear deployed, just the standalone.xml by itself.  I was trying to take baby steps to mimimize the variables in this transition (moving ear from Jboss 4.0.4 to Jboss 7.1.1).

             

            The dependency report above is logged at the INFO level, which makes me think that the app server is just telling you that based on the server configuration - there are resources configured that require services (modules?) that are not available by default.  So you would have to require (export?) those services in the ear itself.  But these names (jboss.cached-connection-manager, jboss.connector.config) are not services that I can find in any module.xml under the jboss/modules folder. 

             

            How do export those services?  Am I thinking about this the wrong way?

             

            In case it matters, the persistence.xml looks like this:

             

             

            {code:xml}

            <persistence>

                 <persistence-unit name="persistenceUnit" transaction-type="JTA">

                      <jta-data-source>java:jboss/fishstore/fishstoreDataSource</jta-data-source>

                      <properties>

                           <property name="jboss.as.jpa.providerModule" value="org.hibernate"/>

                           <property name="jboss.as.jpa.adapterModule" value="org.jboss.as.jpa.hibernate:4"/>

                           <property name="jboss.entity.manager.factory.jndi.name" value="java:jboss/fishstore/HibernateFactory"/>

                           <property name="hibernate.session_factory_name" value="java:jboss:/fishstore/HibernateFactory"/>

                           <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>

                           <property name="hibernate.show_sql" value="false"/>

                           <property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.infinispan.JndiInfinispanRegionFactory"/>

                           <property name="hibernate.cache.infinispan.cachemanager" value="java:jboss/infinispan/hibernate"/>

                           <property name="hibernate.transaction.manager_lookup_class" value="hibernate.transaction.JBossTransactionManagerLookup"/>

                           <property name="hibernate.cache.use_second_level_cache" value="true"/>

                           <property name="hibernate.cache.use_query_cache" value="false"/>

                           <property name="hibernate.cache.user_minimal_puts" value="true"/>

                      </properties>

                      <mapping-file>fishstore.hbm.xml</mapping-file>

                      <mapping-file>NamedQueries.hbm.xml</mapping-file>

                 </persistence-unit>

            <persistence>

            {code}

             

            Please forgive typos - this wasn't a cut and paste.