[
https://issues.apache.org/jira/browse/AXIS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753573#comment-16753573
]
robert lazarski commented on AXIS-2929:
---------------------------------------
Although there has not been an official release since 2006 of Axis 1.x , there
has been quite a bit of commits on the trunk made by [~veithen] .
You can get the nightly snapshot here:
https://builds.apache.org/job/axis-trunk/lastSuccessfulBuild/org.apache.axis$distribution/
Although there has been some commits on the 1.4 trunk related to supporting
Java 8, I don't see anything committed on the ClassReader class related to this
problem.
I did find this patch googling however AFAIK it was never submitted to us. I
would compile the trunk with this patch and see if if fixes your problem.
https://gist.github.com/takawitter/808425ea230f95ce7a8e
> Axis 1.4 with Java 11
> ---------------------
>
> Key: AXIS-2929
> URL: https://issues.apache.org/jira/browse/AXIS-2929
> Project: Axis
> Issue Type: Bug
> Components: Basic Architecture
> Affects Versions: 1.4
> Reporter: Liying Lin
> Priority: Major
>
> 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
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]