Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-132

commons-dbcp.jar and commons-pool.jar are not present in i2b2 WEB-INF/lib directory

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.01
    • 1.7.04
    • Install
    • None
    • i2b2 Core
    • Oracle
    • was fixed in 1.7.02

    Description

      Symptom:
          Class not found exception pointing to Apache ‘Datasource’ class

      Cause:
          commons-dbcp and commons-pool library jars were not present in i2b2 WEB-INF/lib directory. After some digging I found that in edu.harvard.i2b2.server-common/build.xml, the jboss_pre_deployment_setup target in i2b2 1.7 does not copy all required libraries from src/server-common/lib to deployed lib directory. I verified that in 1.6 installation scripts this was not an issue.

      Resolution:
          I manually moved the two required libraries from src/server-common/lib/common to WEB-INF/lib (thus mimicking the expected behavior of the build target) and restarted server which resolved the issue.

      Attachments

        Activity

          hongluo1 Hong Luo created issue -
          jmd86 Janice Donahoe made changes -
          Field Original Value New Value
          Fix Version/s 1.7.03 [ 10156 ]
          Assignee Mike Mendis [ mem61 ]
          i2b2 Sponsored Project/s i2b2 Core [ 10196 ]
          Status New [ 10000 ] Open [ 1 ]
          jmd86 Janice Donahoe made changes -
          Fix Version/s 1.7.04 [ 10160 ]
          Fix Version/s 1.7.03 [ 10156 ]
          mem61 Mike Mendis made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          mem61 Mike Mendis made changes -
          Developer Notes was fixed in 1.7.02
          Fix Version/s 1.7.02 [ 10155 ]
          Fix Version/s 1.7.04 [ 10160 ]
          Assignee Mike Mendis [ mem61 ] Janice Donahoe [ jmd86 ]
          Status In Progress [ 3 ] Ready to Test [ 10001 ]
          jmd86 Janice Donahoe made changes -
          Status Ready to Test [ 10001 ] Testing [ 10002 ]
          jmd86 Janice Donahoe made changes -
          Fix Version/s 1.7.04 [ 10160 ]
          Fix Version/s 1.7.02 [ 10155 ]
          jmd86 Janice Donahoe made changes -
          Resolution Fixed [ 1 ]
          Status Testing [ 10002 ] Resolved [ 5 ]
          jmd86 Janice Donahoe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            jmd86 Janice Donahoe
            hongluo1 Hong Luo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: