Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5935

axis2 service did not work under jdk 11 class format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.7.8
    • None
    • kernel
    • None

    Description

      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]

      Attachments

        1. AXIS2-5935_forAxis1.patch
          3 kB
          Frank-Michael Jaeschke
        2. axis2-kernel-1.7.10.jar
          1013 kB
          Joerg Friedrich
        3. ClassReader.java
          14 kB
          Joerg Friedrich
        4. ClassReader.java.patch
          2 kB
          Roman Belinsky

        Activity

          People

            Unassigned Unassigned
            krisc Kris Chung
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: