axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Médéric Martin (JIRA) <axis-...@ws.apache.org>
Subject [jira] [Commented] (AXIS-2929) Axis 1.4 with Java 11
Date Fri, 19 Apr 2019 20:12:00 GMT

    [ https://issues.apache.org/jira/browse/AXIS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822158#comment-16822158
] 

Médéric Martin commented on AXIS-2929:
--------------------------------------

This problem arrived when you generate WSDL.

I added codes in ClassReader.java 


|{{CONSTANT_MethodHandle}}|15|51.0|7|
|{{CONSTANT_MethodType}}|16|51.0|7|
|{{CONSTANT_InvokeDynamic}}|18|51.0|7|
I also modified 2 resources files in i18 folder because the variable ${today} in template
of WSDL was not replaced at runtime and thrown an Exception.
With these modifications, use Axis Soap 1.4 custom with OpenJDK11 and RPC/encoded works perfectly
!
 
I have not added code 17, 19 and 20 because my code is a legacy code, and not use specific
syntax of JDK 9+
 

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message