Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2929

Axis 1.4 with Java 11

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: Basic Architecture
    • Labels:
      None

      Description

      Hope here is the right place to help me to find some suggestion.

      Our legacy project using Axis 1.4. When I tried to compile with Java 11, first I have to add Corba jar file to get project re-compiled. When it actually ran in Tomcat 9.0, it failed with exception.The error got down axis jar I have no clue. I would like to hear any thought or comment. Thanks a lot.

      Here is the error log:

      Jan 22, 2019 1:16:15 PM ; INFO ; org.apache.axis.EXCEPTIONS ; Exception:
      java.lang.IllegalStateException: Error looking for paramter names in bytecode: unexpected bytes in file
          at org.apache.axis.utils.bytecode.ClassReader.readCpool(ClassReader.java:354)
          at org.apache.axis.utils.bytecode.ParamReader.<init>(ParamReader.java:75)
          at org.apache.axis.utils.bytecode.ParamReader.<init>(ParamReader.java:55)
          at org.apache.axis.utils.bytecode.ParamNameExtractor.getParameterNamesFromDebugInfo(ParamNameExtractor.java:58)
          at org.apache.axis.description.JavaServiceDesc.getParamNames(JavaServiceDesc.java:1429)
          at org.apache.axis.description.JavaServiceDesc.createOperationForMethod(JavaServiceDesc.java:1254)
          at org.apache.axis.description.JavaServiceDesc.createOperationsForName(JavaServiceDesc.java:1150)
          at org.apache.axis.description.JavaServiceDesc.getSyncedOperationsForName(JavaServiceDesc.java:1112)
          at org.apache.axis.description.JavaServiceDesc.loadServiceDescByIntrospectionRecursive(JavaServiceDesc.java:962)
          at org.apache.axis.description.JavaServiceDesc.loadServiceDescByIntrospection(JavaServiceDesc.java:896)
          at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:477)
          at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:286)
          at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:500)
          at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
          at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
          at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:427)
          at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:231)
          at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
          at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:295)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
          at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at com.cgi.edm.apas.WsdlWriterFilter.doFilter(WsdlWriterFilter.java:116)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at com.cgi.edm.apas.AccessCheckFilter.doFilter(AccessCheckFilter.java:109)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
          at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
          at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
          at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
          at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417)
          at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
          at java.base/java.lang.Thread.run(Thread.java:834)
      J

       

        Attachments

        1. axis.patch
          2 kB
          Roman Belinsky

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ally_lly Liying Lin
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: