4 Replies Latest reply on Jul 21, 2011 4:10 AM by Stefano Maestri

    Migrating from jboss4 to jboss7(missing dependencies)

    Divya Chekuri Newbie

      Hi,

      I'm trying to setup an informix datasource in jboss7 but it fails with the following message:

       

               

      New missing/unsatisfied dependencies:

            service jboss.jdbc-driver.informix (missing)

       

      My modules.xml is defined as:

       

      <module xmlns="urn:jboss:module:1.0" name="IfxDriverDB">

        <resources>

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

        </resources>

        <dependencies>

          <module name="javax.api"/>

        </dependencies>

      </module>

       

      Datasource in standalone.xml is defined as:

       

      <datasource jndi-name="java:DataSource" enabled="true" use-java-context="true" pool-name="DataSource">

                          <connection-url>my-connection-url</connection-url>

                          <driver>Informix</driver>

                          <pool>

                                <prefill>true</prefill>

                                <use-strict-min>false</use-strict-min>

                          </pool>

                          <security>

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

                              <password>password</password>

                          </security>

                          <validation>

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

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

                                <useFastFail>false</useFastFail>

                          </validation>

                          <timeout></timeout>

                          <statement></statement>

                      </datasource>

                      <drivers>

                          <driver name="Informix" module="IfxDriverDB">

                              <xa-datasource-class>com.informix.jdbc.IfxDriver</xa-datasource-class>

                          </driver>

                      </drivers>

                  </datasources>

       

      Can anyone please let me know where I am going wrong.

       

      I made sure that there is no space in the first line in modules.xml(read in another thread that the space may cause problem)