5 Replies Latest reply on Feb 7, 2014 1:23 PM by difallah

    JBAS014775:    New missing/unsatisfied dependencies

    klind

      Hi, I installed a JBoss 7 and postgresql on my windows 7. It is all good.

       

      I then wanna make the setup in a Ubuntu VM.

      After installing JBoss I copied the standalone.xml, module-xml and jar file from the windows setup to the ubuntu.

      But I get this error :

       

       

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.jdbc-driver.postgresql (missing) dependents: [service jboss.data-source.java:jboss/jsi/JSIXADataSource]

       

       

      Here is my module.xml

       

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.jdbc-driver.postgresql (missing) dependents: [service jboss.data-source.java:jboss/jsi/JSIXADataSource]

       

       

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

      <module xmlns="urn:jboss:module:1.0" name="org.postgresql">

              <resources>

                      <resource-root path="postgresql-9.2-1002.jdbc4.jar"/>

              </resources>

              <dependencies>

                      <module name="javax.api"/>

                      <module name="javax.transaction.api"/>

              </dependencies>

      </module>

       

       

      And the standalone.xml

       

       

      <subsystem xmlns="urn:jboss:domain:datasources:1.0">

                  <datasources>

                      <xa-datasource jndi-name="java:jboss/jsi/JSIXADataSource" pool-name="JSIXADataSource" enabled="true" use-ccm="false">

                          <xa-datasource-property name="ServerName">

                              localhost

                          </xa-datasource-property>

                          <xa-datasource-property name="PortNumber">

                              5432

                          </xa-datasource-property>

                          <xa-datasource-property name="DatabaseName">

                              Test

                          </xa-datasource-property>

                          <driver>postgresql</driver>

                          <xa-pool>

                              <is-same-rm-override>false</is-same-rm-override>

                              <interleaving>false</interleaving>

                              <pad-xid>false</pad-xid>

                              <wrap-xa-resource>false</wrap-xa-resource>

                          </xa-pool>

                          <security>

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

                              <password>postgres</password>

                          </security>

                          <validation>

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

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

                          </validation>

                          <statement>

                              <share-prepared-statements>false</share-prepared-statements>

                          </statement>

                      </xa-datasource>

                      <drivers>

                          <driver name="postgresql" module="org.postgresql">

                              <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>

                          </driver>

                      </drivers>

                  </datasources>

              </subsystem>