[
https://issues.apache.org/jira/browse/AXIS2-5935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926090#comment-16926090
]
robert lazarski commented on AXIS2-5935:
----------------------------------------
Upon further investigation, excluding the testkit javadoc I still see 38
com.sun references however they are in modules not normally needed in a client
or server env - besides building from source or doing codegen.
Our internal Apache Travis build for Axis2 runs on JDK 8, and for the moment
that is required to build from source.
The binaries are expected to run fine on JDK 11. Compiling from source on JDK
11 is a problem for another day.
Trunk:
Committed revision 1866709.
Checkout from source:
svn co https://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/
Nightly builds:
https://travis-ci.org/apache/axis2-java
Build from source:
> 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]