2 Replies Latest reply on Jun 30, 2003 6:13 AM by madooreddy

    Jboss server not running

    madooreddy Newbie

      Dear All!
      I have configure 2 data sources in jboss.jcml file under /usr/local/jboss-2.4.4/conf/default/ and when i start the jboss server showing messages in /user/local/jboss-2.4.4/bin/nohup.out file like below and after that nothing is coming in this and after that i am not able to stop and start jboss server
      when start -- jboss already running ..
      existing ...


      INFO,JaasSecurityManagerService] Started
      [INFO,JdbcProvider] Starting
      [INFO,JdbcProvider] Started
      [INFO,DefaultDS] Starting
      [INFO,DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
      [INFO,DefaultDS] Started
      [INFO,SmsDBDS] Starting
      [INFO,SmsDBDS] XA Connection pool SmsDBDS bound to java:/SmsDBDS i

      here is ther jboss.jcml file

      COM.ibm.db2.jdbc.app.DB2Driver



      DefaultDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:db2:acs
      1200000
      acs
      10
      acs
      false
      false
      false
      true
      120000
      1800000
      false
      false
      1.0
      0



      SmsDBDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:db2:smsdb
      1200000
      smsdb
      10
      smsdb
      false
      false--3
      false
      true
      120000-- 4
      1800000
      false
      false
      1.0
      0



      pls give me a suggestion/idea to solve this

      thanks

        • 1. Re: Jboss server not running
          Harald Gliebe Novice

          DB2's jdbc driver is a type 2 driver, that means it uses native code to connect to the database. Probably the driver can't find the required shared libraries. You have to add <db2>\sqllib\bin and <db2>\sqllib\lib to your PATH (windows) or LD_LIBRARY_PATH (unix).

          Regards,
          Harald

          • 2. Re: Jboss server not running
            madooreddy Newbie

            Dear Harald

            I have already added LD_LIBRARY_PATH on red har linux like this in classpath LD_LIBRARY_PATH=:/home/db2inst1/sqllib/lib

            After deleted my changes in jbosss.jcml also not starting jboss server ..
            i don't know what could be the problem ..

            If you know pls help me out
            thanks
            Madoo