JBoss Community

Migrating from jboss4 to jboss7(missing dependencies)

created by Divya Chekuri in JBoss AS7 Development - View the full discussion

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)

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community