[
https://issues.apache.org/jira/browse/AXIS2-5935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930441#comment-16930441
]
Suma Malsekar commented on AXIS2-5935:
--------------------------------------
I built kernel module with JDK 11 and placed the jar in WEB-INF/lib of my
application in Tomcat. I am currently using axis2 jars/mars of version 1.7.9 .
Could this cause a problem if I use axis2-kernel jar of version 1.8.0-SNAPSHOT?
Also I confirm that patch is pulled from svn copy.
> 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.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]