[CORE-7] i2b2 on JDK 1.6 requires Axis2 1.1.1 Created: 21/May/09  Updated: 05/Jun/14  Resolved: 27/Oct/11

Status: Closed
Project: i2b2 Core Software
Component/s: Install, PM Cell
Affects Version/s: 1.3.00
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: D Ahn Assignee: Mike Mendis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: RHEL 5, JDK 1.6, Tomcat 5.5.26, JBoss 4.2.3.GA-jdk6

Rank: 0|i001fj:
Participant/s:

 Description   
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)


 Comments   
Comment by Mike Mendis [ 27/Oct/11 ]
Try using 4.2.2 for any other install issues check out http://groups.google.com/group/i2b2-install-help
Generated at Thu Apr 25 10:32:27 UTC 2024 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.