13 Replies Latest reply on May 1, 2014 10:21 AM by jefemixtli

    DB2 datasource (non-XA) working for JBoss AS 7.1.1

    heyyou

      Hello,

       

      Hoping someone might has some insight how I can get my DB2 datasource (non-XA !!) working on JBoss AS 7.1.1

       

      Environment:

         RHEL 5.7

         JBoss 7.1.1-Final

         DB2 JDBC (non-xa)

       

      Configuration:

      # ls $JBOSS_HOME/modules/com/ibm/db2/main

         db2jcc.jar 

         db2jcc.jar.index 

         db2jcc_license_cu.jar 

         db2jcc_license_cu.jar.index 

         module.xml

       

      # cat $JBOSS_HOME/modules/com/ibm/db2/main/module.xml

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

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

            <resources>

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

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

          </resources>

          <dependencies>

              <module name="javax.api"/>

          </dependencies>

      </module>

       

      # vi $JBOSS_HOME/standalone/configuration/standalone.xml

                     <datasources>

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

                          <connection-url>jdbc:db2:/myip:50000/MyDb</connection-url>

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

                          <driver>db2</driver>

                            <security>

                              <user-name>db2inst1</user-name>

                              <password>XXXXXXXXX</password>

                          </security>

                      </datasource>

                      <drivers>

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

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

                          </driver>

                      </drivers>

                  </datasources>

       

      Problem:

       

      When I start JBoss AS server, I get the following messages:

       

      # bin/standalone.sh

      ...

       

      05:59:20,205 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 27) Operation ("add") failed - address: ([

          ("subsystem" => "datasources"),

          ("jdbc-driver" => "db2")

      ]) - failure description: "JBAS010434: Unable to instantiate driver class \"com.ibm.db2.jcc.DB2Driver\". See log (WARN) for more details"

      ...

      ...

      05:59:22,342 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.jdbc-driver.db2 (missing) dependents: [service jboss.data-source.java:jboss/datasources/TradeDataSource]

       

      For some reason, it is unable to find the drivers and it has this message about a missing/unsatisfiied dependency.

       

      I've gone through the documentation, forums, etc and not finding much on these errors.  I found one reference

      that mentioned to make sure there are no blank lines at the top of the module.xml but that was not my issue.

       

      I also attempted the following:

       

      1.  Copy the db2*.jar to $JBOSS_HOME/standalone/deployments

      2.  Change standalone.xml to:

       

      <datasources>

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

                          <connection-url>jdbc:db2:/myip:50000/MyDb</connection-url>

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

                          <driver>db2</driver>

                            <security>

                              <user-name>db2inst1</user-name>

                              <password>XXXXXXXXX</password>

                          </security>

                      </datasource>

                      <drivers>

                          <driver name="db2">

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

                          </driver>

                      </drivers>

                  </datasources>


      When I do this, it removes the noclassfound error and I continue to get the "new/missing dependency" error.

       

      Even thought I know the there is an issue, I did try to verify the datasource using:

       

      # $JBOSS_HOME/bin/jboss-cli.sh

      > connect

      > /subsystem=datasources/datasource=java\:jboss\/datasources\/MyDbDataSource:test-connection-in-pool

       

      {

          "outcome" => "failed",

          "failure-description" => "JBAS014739: No handler for test-connection-in-pool at address [

          (\"subsystem\" => \"datasources\"),

          (\"datasource\" => \"java:jboss/datasources/MyDbDataSource\")

      ]",

          "rolled-back" => true

      }

       

      Does anyone have DB2 (non-xa) configuration working for JBoss AS 7?

      Thanks in advance!

        • 1. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
          ebross

          05:59:22,342 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

          JBAS014775:    New missing/unsatisfied dependencies:

           

          Re: $JBOSS_HOME/module/com/ibm/db2/main/module.xml

           

          Don't leave any space at the beginning of module.xml file or else you will get the above error.

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

          This driver-class is only necessary if  your JDBC driver is not JDBC4 compatible :"A JAR that is JDBC 4.0 compliant contains a META-INF/services/java.sql.Driver file that specifies the driver class name"

          • 2. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
            heyyou

            "ebross",  thank you for taking time to respond.

             

            > Don't leave any space at the beginning of module.xml file or else you will get the above error.

             

            As I indicated in my original post:

             

            I found one reference that mentioned to make sure there are no blank lines at the top of the module.xml but that was not my issue

             

            I do not have any blank spaces or lines at the beginning of the module.xml

             

            > This driver-class is only necessary if  your JDBC driver is not JDBC4 compatible :

            > "A JAR that is JDBC 4.0 compliant contains a META-INF/services/java.sql.Driver file that

            > specifies the driver class name"

             

            I was simply following the only posting out there in JBoss forum land that had to do with DB2 and JBoss 7.x.

            Those instructions aren't working so well ..

             

            If someone has a working DB2 implementation (non XA) with JBoss 7.1 I would be curious to see their

            configuration.  Its working fine with JBoss 6.

            • 3. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
              ebross

              Your module.xml is ok but try the following in your standalone.xml (not the changes):

               

                   <datasources>

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

                      <connection-url>jdbc:db2:/myip:50000/MyDb</connection-url>

                      <driver>db2jcc</driver>

                        <security>

                          <user-name>db2inst1</user-name>

                          <password>XXXXXXXXX</password>

                      </security>

                  </datasource>

              </datasources>

              • 4. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                heyyou

                In your example, you did not include the <drivers> .. </drivers> section.  That should be included (correct?) since

                you include the reference <driver>db2jcc</driver> in the <databource /> section.

                 

                Also, I assume for the reference to <driver>db2jcc</driver>  .. that any label can be used, as along as

                I use the same name when defining <driver name="db2jcc" .. > .. </driver>

                 

                <datasources>

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

                                    <connection-url>jdbc:db2:/myip:50000/MyDb</connection-url>

                                    <driver>db2jcc</driver>

                                      <security>

                                        <user-name>db2inst1</user-name>

                                        <password>XXXXXXXXX</password>

                                    </security>

                                </datasource>

                                <drivers>

                                    <driver name="db2jcc" module="com.ibm.db2">

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

                                    </driver>

                                </drivers>

                            </datasources>

                 

                I tried this as well, continue to get same issues.   Also, I tried with and without the <driver-class> section

                in the <driver /> section as wel.

                 

                So lets start with some basics ..

                 

                1.  Should the two db2 JAR files be located in $JBOSS_HOME/modules/com/ibm/db2/main or $JBOSS_HOME/standalone/deployments?

                 

                      When I only use $JBOSS_HOME/modules/com/ibm/db2/main, I get ClassNotFound errors using the standalone.xml and modules.xml

                      listed in my previous entry. 

                      When I copy the db2 JAR files to the $JBOSS_HOME/standalone/deployments, they ClassNotFound errors go away, but I get the

                                   JBAS014775:    New missing/unsatisfied dependencies:

                 

                2.  For the standalone.xml, if I just place the JAR filesin the $JBOSS_HOME/standalone/deployments, what should it look like?

                     That is, if I do not want to use the "modules" approach but a more traditional approach, what entries should be in the

                     standalone.xml for the <datasource /> and <driver /> sections?

                 

                Thanks

                • 5. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                  ebross

                  I just notices this: 

                   

                  <connection-url>jdbc:db2:/myip:50000/MyDb</connection-url>

                   

                   

                  It should be

                   

                   

                  <connection-url>jdbc:db2://myip:50000/MyDb</connection-url>

                   

                   

                  Note the double forward slashes (//) after the 'jdbc:db2:"

                   

                    

                  1.  Should the two db2 JAR files be located in $JBOSS_HOME/modules/com/ibm/db2/main


                  Yes better eave them them there.

                  • 6. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                    heyyou

                    Thank you for the response.

                     

                    That was a typo in my posting while I was trying to mask my actual configuration.

                    I have have :

                     

                    <connection-url>jdbc:db2://myip:50000/MyDb</connection-url>

                     

                    Do you actually have DB2 (non XA datasource) working?

                    • 7. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                      rajendra85

                      Hi guys,

                       

                       

                           Me too facing the same problem. Since yesterday onwards am trying all the way.. But I couldnt able to solve the  New missing/unsatisfied dependencies:  JBoss Service : jdbc-db2........  (Missing)

                       

                             Can anyone done with the DB2 datasource configuration  in JBoss AS 7.0 ?   If so please share the steps so that I come to know where exactly the  problem in my configuration .

                       

                         Step 1 :  JBoss_HOme \ Standalone \ configuration \ standalone.xml

                       

                       

                      <datasource jndi-name="java:jboss/datasources/DB2DS" pool-name="DB2DS" enabled="true" jta="true" use-java-context="true" use-ccm="true">

                                          <connection-url>

                                              jdbc:db2://localhost:50000/DBNAME

                                          </connection-url>

                                          <driver>

                                             db2

                                          </driver>

                                          <transaction-isolation>

                                              TRANSACTION_READ_COMMITTED

                                          </transaction-isolation>

                                          <pool>

                                              <min-pool-size>

                                                  10

                                              </min-pool-size>

                                              <max-pool-size>

                                                  100

                                              </max-pool-size>

                                              <prefill>

                                                  true

                                              </prefill>

                                              <use-strict-min>

                                                  false

                                              </use-strict-min>

                                              <flush-strategy>

                                                  FailingConnectionOnly

                                              </flush-strategy>

                                          </pool>

                                          <security>

                                              <user-name>

                                                XXXXXX

                                              </user-name>

                                              <password>

                                                 XXXXXX

                                              </password>

                                          </security>

                                      </datasource>

                               

                      <drivers>

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

                                              <driver-class>

                                                  com.ibm.db2.jcc.DB2Driver

                                             </driver-class>

                                      </driver>

                      </drivers>

                       

                      Step 2 :  JBoss_HOme \ modules \ com \ ibm \ db2 \ main \ module.xml

                       

                      <?xml version="1.0" encoding="UTF-8"?>
                      <module xmlns="urn:jboss:module:1.1" name="com.ibm.db2">
                      <resources>
                          <resource-root path="db2jcc4.jar"/>
                          <resource-root path="db2jcc_license_cu.jar"/>
                          <resource-root path="db2jcc_license_cisuz.jar"/>
                      </resources>
                      <dependencies>
                          <module name="javax.api"/>
                          <module name="javax.transaction.api"/>
                          <module name="sun.jdk"/>
                        </dependencies>
                      </module>

                       

                      As well as I added the above mentioned Jars inside : JBoss_Home \ modules \ com \ ibm \ db2 \ main \

                       

                      db2jcc4.jar

                      db2jcc_license_cu.jar

                      db2jcc_license_cisuz.jar

                       

                      Step 3 : patched module.xml of the existing sun.jdk module:

                       

                      <module xmlns="urn:jboss:module:1.0" name="sun.jdk">

                          <resources>

                              <!-- currently jboss modules has not way of importing services from

                              classes.jar so we duplicate them here -->

                              <resource-root path="service-loader-resources"/>

                          </resources>

                          <dependencies>

                              <module name="system" export="false" services="import">

                                  <exports>

                                      <include-set>

                                          <path name="com/sun/script/javascript"/>

                                          <path name="sun/misc"/>

                                          <path name="META-INF/services"/>

                                <path name="sun/io"/> <!-- manually added to provide character converter access for db2 driver -->

                                      </include-set>

                                  </exports>

                              </module>

                          </dependencies>

                      </module>

                       

                       

                       

                      Still am facing the same problem :  New missing/unsatisfied dependencies:  JBoss Service : jdbc-db2.... ( Missing)   .

                       

                      Can anyone help me to solve this issue ?


                       

                      Thanks in Advance,

                      Rajendra J

                        

                      • 8. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                        rajendra85

                        Hi guys,

                         

                              New missing/unsatisfied dependencies:  JBoss Service : jdbc-db2 problem solved..


                            I removed space start of the module.xml...

                           

                            Its woking fine.....  The above configuration works fine....

                         

                            If anybody facing same problem.. Use above configuration and dont let any spaces in the module.xml file

                        • 9. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                          heyyou

                          In my module.xml,

                           

                          I've made sure there are no spaces/tabs at:

                           

                             - the start of the file ( that is, <?xml ...> is the version first characters in the file )

                             - the start of each line

                             - at the end of the file

                           

                          and I continue to have this issue.

                           

                          Are you saying you that you had to manually update the module.xml for sun.jdk with the line:

                           

                          <path name="sun/io"/>

                           

                          in order to get your configuration to work?  Was it just that one line?

                           

                          Thanks

                          • 10. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                            rajendra85

                            Hi,

                             

                               Inside JBoss_HOme \ modules \ sun\ jdk\ main\ module.xml

                             

                            add manually the below content [ am using Jboss 7.0 ] and remove any spaces are there. Its working DB2 datasource configuration working now.


                            <module xmlns="urn:jboss:module:1.0" name="sun.jdk">

                                <resources>

                                    <!-- currently jboss modules has not way of importing services from

                                    classes.jar so we duplicate them here -->

                                    <resource-root path="service-loader-resources"/>

                                </resources>

                                <dependencies>

                                    <module name="system" export="false" services="import">

                                        <exports>

                                            <include-set>

                                                <path name="com/sun/script/javascript"/>

                                                <path name="sun/misc"/>

                                                <path name="META-INF/services"/>

                                      <path name="sun/io"/> <!-- manually added to provide character converter access for db2 driver -->

                                            </include-set>

                                        </exports>

                                    </module>

                                </dependencies>

                            </module>

                            • 11. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                              andretdesouza

                              Hi, I'm having the same problem. I did the procedures without success. any ideas?

                               

                               

                              14:08:21,537 INFO  [org.jboss.modules] JBoss Modules version 1.0.1.GA

                              14:08:21,723 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA

                              14:08:21,759 INFO  [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" starting

                              14:08:22,357 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)

                              14:08:22,366 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

                              14:08:22,378 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

                              14:08:22,385 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

                              14:08:22,464 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem

                              14:08:22,471 INFO  [org.jboss.as.naming] (MSC service thread 1-4) Starting Naming Service

                              14:08:22,474 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem

                              14:08:22,487 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

                              14:08:22,492 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.0.Beta2

                              14:08:22,499 INFO  [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.0.Beta3

                              14:08:22,508 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.0.Beta3

                              14:08:22,703 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-5) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;native;c:\Program Files (x86)\AMD APP\bin\x86_64;c:\Program Files (x86)\AMD APP\bin\x86;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_25\BIN;C:\apache-maven-2.2.1\bin;C:\Program Files\TortoiseSVN\bin

                              14:08:22,717 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

                              14:08:22,791 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) Listening on /127.0.0.1:9999

                              14:08:22,805 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-5) Starting remote JMX connector

                              14:08:22,857 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-8) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

                              14:08:22,951 INFO  [org.jboss.as.connector] (MSC service thread 1-4) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)

                              14:08:22,989 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:jboss/datasources/ExampleDS]

                              14:08:23,180 INFO  [org.jboss.as.deployment] (MSC service thread 1-8) Started FileSystemDeploymentService for directory D:\Arquivo de programas\JBoss 7.0\jboss-as-web-7.0.0.Final\standalone\deployments

                              14:08:23,381 INFO  [org.jboss.as.controller] (Controller Boot Thread) Service status report

                                 New missing/unsatisfied dependencies:

                                    service jboss.jdbc-driver.db2 (missing)

                               

                              14:08:23,387 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.0.Final "Lightning" started (with errors) in 2030ms - Started 93 of 151 services (3 services failed or missing dependencies, 55 services are passive or on-demand)

                              • 12. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                                imrantariq

                                User db2jcc4.jar instead of db2jcc.jar.

                                Refer here for DB2 driver configuration.

                                • 13. Re: DB2 datasource (non-XA) working for JBoss AS 7.1.1
                                  jefemixtli

                                  Hey folks, I wanted to chime in after experiencing the same "New missing/unsatisfied dependencies" error and found some of the advice there to be a red herring. The modules directory seems to key here (com.ibm NOT com.ibm.db2). Here is how I got the error to go away.

                                   

                                  JBoss 7.1.1

                                   

                                  1) Create /modules/com/ibm/main (NOT com/ibm/db2/main) and copy files

                                  - db2jcc_license_cu.jar

                                  - db2jcc4.jar

                                  - module.xml

                                   

                                  2) Edit  /modules/com/ibm/main/module.xml

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

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

                                      <resources>

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

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

                                      </resources>

                                      <dependencies>

                                          <module name="javax.api"/>

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

                                      </dependencies>

                                  </module>

                                   

                                  3) Copy drivers into standalone/deployments

                                  - db2jcc_license_cu.jar

                                  - db2jcc4.jar

                                   

                                  4) Edit standalone.xml

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

                                      <datasources>

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

                                              <connection-url>jdbc:db2://DBDEV_AH:50000/DBAH002</connection-url>

                                              <driver>DB2Driver</driver>

                                              <security>

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

                                                  <password>pass</password>

                                              </security>

                                          </datasource>

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

                                              <connection-url>jdbc:db2://DBDEV_AH:50000/DBAH002</connection-url>

                                              <driver>DB2Driver</driver>

                                              <security>

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

                                                  <password>pass</password>

                                              </security>

                                          </datasource>

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

                                              <connection-url>jdbc:db2://DEVN64:50000/DSN2:retrieveMessagesFromServerOnGetMessage=true;</connection-url>

                                              <driver>DB2Driver</driver>

                                              <security>

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

                                                  <password>pass</password>

                                              </security>

                                          </datasource>

                                          <drivers>

                                              <driver name="DB2Driver" module="com.ibm">

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

                                              </driver>

                                          </drivers>

                                      </datasources>

                                  </subsystem>

                                   

                                  Using this configuration I was able to get the datasources deployed successfully:

                                  09:36:15,962 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-15) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080

                                  09:36:16,132 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-14) JBAS010400: Bound data source [java:jboss/datasources/ahpsDatasource]

                                  09:36:16,132 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010400: Bound data source [java:jboss/datasources/rrapor_batchDatasource]

                                  09:36:16,132 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-10) JBAS010400: Bound data source [java:jboss/datasources/db2Datasource]

                                  09:36:16,134 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999

                                  09:36:16,134 INFO  [org.jboss.as.remoting] (MSC service thread 1-11) JBAS017100: Listening on localhost/127.0.0.1:4447

                                  09:36:16,142 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-9) JBAS015012: Started FileSystemDeploymentService for directory C:\AHPS_STACK\DEC2008\jboss-7.1.1.Final\standalone\deployments

                                  09:36:16,149 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found ahps.ear in deployment directory. To trigger deployment create a file called ahps.ear.dodeploy

                                  09:36:16,193 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "db2jcc4.jar"

                                  09:36:16,193 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "db2jcc_license_cu.jar"

                                  09:36:16,447 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-13) JBAS010403: Deploying JDBC-compliant driver class com.ibm.db2.jcc.DB2Driver (version 4.14)

                                  09:36:16,449 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on http://127.0.0.1:9990

                                  09:36:16,450 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 1527ms - Started 180 of 261 services (78 services are passive or on-demand)

                                  09:36:16,481 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "db2jcc_license_cu.jar"

                                  09:36:16,482 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "db2jcc4.jar"

                                   

                                  NOTE: While they deployed successfully, I haven't actually USED these datasources yet.

                                   

                                  https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Confi…