[jboss-dev-forums] [JBoss AS7 Development] - Migrating from jboss4 to jboss7(missing dependencies)

Divya Chekuri do-not-reply at jboss.com
Wed Jul 20 09:40:15 EDT 2011


Divya Chekuri [http://community.jboss.org/people/dchekuri] created the discussion

"Migrating from jboss4 to jboss7(missing dependencies)"

To view the discussion, visit: http://community.jboss.org/message/616407#616407

--------------------------------------------------------------
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
[http://community.jboss.org/message/616407#616407]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110720/e7a4d77d/attachment.html 


More information about the jboss-dev-forums mailing list