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

Can't start server on standalone version with JDK 16

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.0
    • 1.8.1
    • Integration
    • None
    • Windows and Linux

    Description

      Launching axis2server with JDK 16 we obtain the error:

       

      C:\axis2-1.8.0>"C:\Java\jdk-16.0.2\bin\java.exe" -cp "Unable to render embedded object: File (AXIS2_CLASS_PATH) not found." -Djava.endorsed.dirs="C:\axis2-1.8.0\lib\endorsed";"C:\Java\jdk-16.0.2\jre\lib\endorsed";"C:\Java\jdk-16.0.2\lib\endorsed" org.apache.axis2.transport.SimpleAxis2Server -repo "C:\axis2-1.8.0\repository" -conf "C:\axis2-1.8.0\conf\axis2.xml"
      -Djava.endorsed.dirs=C:\axis2-1.8.0\lib\endorsed;C:\Java\jdk-16.0.2\jre\lib\endorsed;C:\Java\jdk-16.0.2\lib\endorsed is not supported. Endorsed standards and standalone APIs
      in modular form will be supported via the concept of upgradeable modules.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      Attachments

        Activity

          People

            robertlazarski Robert Lazarski
            fabriziof Fabrizio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: