[jira] [Commented] (AXIS2-5935) axis2 service did not work under jdk 11 class format

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (AXIS2-5935) axis2 service did not work under jdk 11 class format

Adam Fordham (Jira)

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

Robert Lazarski commented on AXIS2-5935:
----------------------------------------

Unfortunately the nightly builds are not fixed yet. I have an open email thread with Apache INFRA on it. We have a github mirror for Travis builds, and it stopped syncing with the SVN trunk. 

For now you need to checkout from source and build with maven:

svn co [https://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/]

 Also, AXIS2-5966 was opened, implying the fix had problems however its inconclusive since the source line numbers don't match the Exception. And there was no response for a test case or a request for more info. 

> axis2 service did not work under jdk 11 class format
> ----------------------------------------------------
>
>                 Key: AXIS2-5935
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5935
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.7.8
>            Reporter: Kris Chung
>            Priority: Blocker
>         Attachments: ClassReader.java, ClassReader.java.patch, axis2-kernel-1.7.10.jar
>
>
> jdk version: 11
> tomcat: 9.0.12
> os: centos 6
> axis2 version: 1.7.8
> 20:06:16.797 ERROR ServiceDeployer - The axis2 service, which is not valid, caused The following error occurred during schema generation: Error looking for paramter names in bytecode: unexpected bytes in file
> org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Error looking for paramter names in bytecode: unexpected bytes in file
>  at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:117) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136) ~[axis2-kernel-1.7.8.jar:1.7.8]
>  at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:289) ~[axis2-kernel-1.7.8.jar:1.7.8]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]