Details
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.
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
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 ] |
Fix Version/s | 1.7.04 [ 10160 ] | |
Fix Version/s | 1.7.03 [ 10156 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
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 ] |
Status | Ready to Test [ 10001 ] | Testing [ 10002 ] |
Fix Version/s | 1.7.04 [ 10160 ] | |
Fix Version/s | 1.7.02 [ 10155 ] |
Resolution | Fixed [ 1 ] | |
Status | Testing [ 10002 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |