3 Replies Latest reply on Aug 23, 2012 2:07 PM by Priya Selvame

    Issue deploying project with DB2 in Jboss 7.1 final

    Priya Selvame Newbie

      Hi All,

      I am trying to deploy a web project with the below configuration set. I am running out of error which is highlighted in Red for the past 3 days. I have been reading lot of post about the New missing/unsatisfied dependencies and got to know that there should not be any spaces in the starting of module.xml. But there are no spaces as such and I am not sure what am I missing here. Please help me to fix the issue. All your help is greatly appreciated.

       

      INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.jdbc-driver.com_db2 (missing) dependents: [service jboss.data-source.java:jboss/jdbc/jpod]

       

      Standalone.xml

      <datasources>

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

                          <connection-url>jdbc:db2://dbud24:50124/jpod</connection-url>

                          <driver-class>com.ibm.db2.jcc.DB2Driver</driver-class>

                          <driver>com.db2</driver>

                          <security>

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

                              <password>password</password>

                          </security>

                      </datasource>

                      <drivers>

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

                       </drivers>

      </datasources>

       

      \modules\com\db2\main has db2jcc-8.0.jar, db2jcc_license_cu.jar, db2jcc_license_cisuz-8.0.jar and module.xml

       

      module.xml

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

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

      <resources>

      <resource-root path="db2jcc-8.0.jar"/>

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

      <resource-root path="db2jcc_license_cisuz-8.0.jar"/>

      </resources>

      <dependencies>

      <module name="javax.api"/>

      </dependencies>

      </module>