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

i2b2 on JDK 1.6 requires Axis2 1.1.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.00
    • None
    • Install, PM Cell
    • None
    • RHEL 5, JDK 1.6, Tomcat 5.5.26, JBoss 4.2.3.GA-jdk6
    • Rank:
      0|i001fj:

    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)

      Attachments

        Activity

          People

            mem61 Mike Mendis
            ahn D Ahn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: