Java 1.5 is reaching End Of Life on Oct 30, 2009. When deploying i2b2 on JDK 1.6 (1.6.0_13) with JBoss 4.2.3.GA-jdk6, the older Axis2 1.1 release is no longer compatible. The solution is to upgrade to Axis2 1.1.1.
To reproduce:
1. Install i2b2 from source according to instructions
2. Go to
http://tomcat:port/axis2/services/listServices
3. Output show exception:
Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet AxisServlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:619)
root cause
javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationException
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:40)
org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:66)
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:86)
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:58)
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:690)
org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:129)
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:373)
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:619)
D Ahn
created issue -
21/May/09 11:51 AM
Mike Mendis
made changes -
27/Oct/11 1:44 PM
Field
Original Value
New Value
Resolution
Fixed
[ 1
]
Status
Open
[ 1
]
Resolved
[ 5
]
Janice Donahoe
made changes -
22/May/14 5:58 PM
Workflow
classic default workflow
[ 10023
]
i2b2 Issues
[ 10330
]
Janice Donahoe
made changes -
23/May/14 2:09 PM
Status
Resolved
[ 5
]
Closed
[ 6
]
Janice Donahoe
made changes -
29/May/14 4:07 PM
Workflow
i2b2 Issues
[ 10330
]
i2b2 Issues Workflow
[ 10491
]
Janice Donahoe
made changes -
05/Jun/14 4:56 PM
Component/s
Install
[ 10053
]
Component/s
PM Cell
[ 10055
]
Component/s
PM Cell
[ 10002
]
Key
LEOPARD-9
CORE-7
Project
i2b2
[ 10000
]
i2b2 Core Project
[ 10034
]
Affects Version/s
1.3.00
[ 10130
]
Affects Version/s
1.3.00
[ 10000
]
{"report":{"fcp":888.2999999998137,"ttfb":124.89999999990687,"pageVisibility":"visible","entityId":10023,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":1,"journeyId":"e41d204c-9ec7-4481-a361-eec75a6e42a5","navigationType":0,"readyForUser":972.1000000000931,"redirectCount":0,"resourceLoadedEnd":1114.3999999999069,"resourceLoadedStart":136.29999999981374,"resourceTiming":[{"duration":107.5,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/7fd763ecdf5ed1f47fc4d22fa8382e97-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":136.29999999981374,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":136.29999999981374,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":243.79999999981374,"responseStart":0,"secureConnectionStart":0},{"duration":107.8000000002794,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/898b8076c5e82f53cd816ca393e45a56-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?jira.create.linked.issue=true&richediton=true","startTime":136.6999999997206,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":136.6999999997206,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":244.5,"responseStart":0,"secureConnectionStart":0},{"duration":286.20000000018626,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/4c9c503fe98f210445831b0d7b0cdc33-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":136.79999999981374,"connectEnd":298.60000000009313,"connectStart":275.10000000009313,"domainLookupEnd":275.10000000009313,"domainLookupStart":275.10000000009313,"fetchStart":136.79999999981374,"redirectEnd":0,"redirectStart":0,"requestStart":298.60000000009313,"responseEnd":423,"responseStart":316.6999999997206,"secureConnectionStart":286.6999999997206},{"duration":296.79999999981374,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/694e598c1ae48b0f96655173631cd247-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":137.39999999990687,"connectEnd":305.1999999997206,"connectStart":282.29999999981374,"domainLookupEnd":282.29999999981374,"domainLookupStart":282.29999999981374,"fetchStart":137.39999999990687,"redirectEnd":0,"redirectStart":0,"requestStart":305.1999999997206,"responseEnd":434.1999999997206,"responseStart":322.89999999990687,"secureConnectionStart":293.29999999981374},{"duration":214.8000000002794,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/53f54e0ac3f00bb56b136b4d2fff2853-CDN/4x9nqn/820011/16zrvj4/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":137.6999999997206,"connectEnd":334.1999999997206,"connectStart":309.39999999990687,"domainLookupEnd":309.39999999990687,"domainLookupStart":309.39999999990687,"fetchStart":137.6999999997206,"redirectEnd":0,"redirectStart":0,"requestStart":335.79999999981374,"responseEnd":352.5,"responseStart":350.10000000009313,"secureConnectionStart":320.6999999997206},{"duration":279.29999999981374,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":138,"connectEnd":367.29999999981374,"connectStart":337.1999999997206,"domainLookupEnd":337.1999999997206,"domainLookupStart":337.1999999997206,"fetchStart":138,"redirectEnd":0,"redirectStart":0,"requestStart":373.5,"responseEnd":417.29999999981374,"responseStart":412.39999999990687,"secureConnectionStart":348.39999999990687},{"duration":296.1999999997206,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":138.60000000009313,"connectEnd":412.1999999997206,"connectStart":352.29999999981374,"domainLookupEnd":352.29999999981374,"domainLookupStart":352.29999999981374,"fetchStart":138.60000000009313,"redirectEnd":0,"redirectStart":0,"requestStart":418.6999999997206,"responseEnd":434.79999999981374,"responseStart":431.89999999990687,"secureConnectionStart":368.60000000009313},{"duration":110.60000000009313,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/30748292e4ca68be6947d7969829384b-CDN/4x9nqn/820011/16zrvj4/4f66da484ef7d95a2a604d3ab014374c/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":138.79999999981374,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":138.79999999981374,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":249.39999999990687,"responseStart":0,"secureConnectionStart":0},{"duration":297.89999999990687,"initiatorType":"script","name":"https://community.i2b2.org/jira/rest/api/1.0/shortcuts/820011/766848d8ff8ea3676a80e44dfb51696a/shortcuts.js?context=issuenavigation&context=issueaction","startTime":139.10000000009313,"connectEnd":412.29999999981374,"connectStart":353,"domainLookupEnd":353,"domainLookupStart":353,"fetchStart":139.10000000009313,"redirectEnd":0,"redirectStart":0,"requestStart":419.1999999997206,"responseEnd":437,"responseStart":436.1999999997206,"secureConnectionStart":369.79999999981374},{"duration":515.9000000003725,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":205.1999999997206,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":205.1999999997206,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":721.1000000000931,"responseStart":0,"secureConnectionStart":0},{"duration":558.1000000000931,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/8087506fefd02b4096991c90836b49f6-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":205.29999999981374,"connectEnd":748.3999999999069,"connectStart":724.5,"domainLookupEnd":724.5,"domainLookupStart":724.5,"fetchStart":205.29999999981374,"redirectEnd":0,"redirectStart":0,"requestStart":748.5,"responseEnd":763.3999999999069,"responseStart":762.6000000000931,"secureConnectionStart":736.2999999998137},{"duration":866.2999999998137,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":213,"connectEnd":1053.6999999997206,"connectStart":1028.2999999998137,"domainLookupEnd":1028.2999999998137,"domainLookupStart":1028.2999999998137,"fetchStart":213,"redirectEnd":0,"redirectStart":0,"requestStart":1053.7999999998137,"responseEnd":1079.2999999998137,"responseStart":1077.6000000000931,"secureConnectionStart":1041.6999999997206},{"duration":881,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":233.39999999990687,"connectEnd":1100.2999999998137,"connectStart":1077,"domainLookupEnd":1077,"domainLookupStart":1077,"fetchStart":233.39999999990687,"redirectEnd":0,"redirectStart":0,"requestStart":1100.3999999999069,"responseEnd":1114.3999999999069,"responseStart":1113.3999999999069,"secureConnectionStart":1088.2999999998137},{"duration":358.10000000009313,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/webResources/1.0/resources","startTime":686.5,"connectEnd":1027.5,"connectStart":1000,"domainLookupEnd":1000,"domainLookupStart":1000,"fetchStart":686.5,"redirectEnd":0,"redirectStart":0,"requestStart":1029,"responseEnd":1044.6000000000931,"responseStart":1043.1000000000931,"secureConnectionStart":1016.6999999997206}],"fetchStart":0,"domainLookupStart":10,"domainLookupEnd":10,"connectStart":10,"connectEnd":47,"secureConnectionStart":22,"requestStart":47,"responseStart":125,"responseEnd":233,"domLoading":130,"domInteractive":1206,"domContentLoadedEventStart":1206,"domContentLoadedEventEnd":1271,"domComplete":1670,"loadEventStart":1670,"loadEventEnd":1671,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1116.5},{"name":"bigPipe.sidebar-id.end","time":1118.7999999998137},{"name":"bigPipe.activity-panel-pipe-id.start","time":1119},{"name":"bigPipe.activity-panel-pipe-id.end","time":1122.1000000000931},{"name":"activityTabFullyLoaded","time":1300.3999999999069}],"measures":[],"correlationId":"614428e21bbcad","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":173,"dbReadsTimeInMs":27,"dbConnsTimeInMs":36,"applicationHash":"0629dd8d260e3954ece49053e565d01dabe11609","experiments":[]}}