8 Replies Latest reply on May 29, 2015 11:25 AM by alejandro Jauregui

    Firebird in JBoss 7

    Hrvoje Jo Newbie

      Hi!

       

      Did anyone succeed in connecting Firebird DB and JBoss? I cann't get rid of

       

      JBAS014775:New missing/unsatisfied dependencies:
        service jboss.jdbc-driver.firebirdsql (missing) dependents: [service jboss.data-source.java:/tiranDS]

       

      jaybird-pool-2.1.6.jar is in .....\jboss-as-7.1.0.CR1b\modules\org\firebirdsql\main

       

      This is my standalone.xml [some parts are changed, like ...(some_path)...]

      ...

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

                  <datasources>

                      <datasource jndi-name="java:/tiranDS" pool-name="TiranPool" enabled="true" jta="true" use-java-context="true" use-ccm="true">

                          <connection-url>

                              jdbc:firebirdsql:serversp/3050:C:\Program Files\...(some_path)...\tiran.gdb

                          </connection-url>

                          <driver>

                              firebirdsql

                          </driver>

                          <pool>

                              <prefill>

                                  false

                              </prefill>

                              <use-strict-min>

                                  false

                              </use-strict-min>

                              <flush-strategy>

                                  FailingConnectionOnly

                              </flush-strategy>

                          </pool>

                          <security>

                              <user-name>

                                  username

                              </user-name>

                              <password>

                                  pass

                              </password>

                          </security>

                      </datasource>

                      <drivers>

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

                              <xa-datasource-class>

                                  org.firebirdsql.jdbc.FBDriver

                              </xa-datasource-class>

                          </driver>

                      </drivers>

                  </datasources>

              </subsystem>

      ...

       

      module.xml looks like this (all .jars mentioned in module.xml aree in .....\jboss-as-7.1.0.CR1b\modules\org\firebirdsql\main folder)

       

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

          <resources>

              <resource-root path="jaybird-full-2.1.6.jar"/>

              <resource-root path="jaybird-pool-2.1.6.jar"/>

              <resource-root path="log4j-1.2.13.jar"/>

              <resource-root path="jboss-javaee.jar"/>

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

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

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

                     

              <resource-root path="commons-logging-1.1.jar"/>

              <resource-root path="junit-3.8.1.jar"/>

                     

          </resources>

       

          <dependencies>

              <module name="javax.api"/>

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

              <module name="javax.xml.soap.api"/>

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

              <module name="org.jboss.common-core"/>

              <module name="org.jboss.logging"/>

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

             

             

              <module name="org.apache.log4j"/>               

              <module name="org.jboss.logmanager.log4j"/>

              <module name="org.apache.james.mime4j"/>

              <module name="org.apache.commons.codec"/>

              <module name="org.apache.commons.collections"/>

              <module name="org.apache.commons.io"/>

              <module name="org.apache.commons.lang"/>

              <module name="org.apache.commons.logging"/>

              <module name="org.apache.httpcomponents"/>

              <module name="org.apache.xalan"/>

              <module name="org.apache.xerces"/>

              <module name="org.w3c.css.sac"/>

              <module name="net.sourceforge.cssparser"/>

              <module name="net.sourceforge.nekohtml"/>

          </dependencies>

      </module>

       

       

      Whati is wrong here?