Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1770

JobScheduler and Agent Web Services for Unix operational with Java 9 and 10

    XMLWordPrintable

Details

    Description

      Current Situation
      At the moment JobScheduler Master and Agent are functionally operational with Java 9 and 10. However the Web Service of an Agent is not.
      When calling a Web Service on the Agent an Exception is raised.

      ERROR: spray.httpx.UnsuccessfulResponseException: Status: 500 Internal Server Error
      Body: java.lang.IllegalAccessException: class com.sos.scheduler.engine.common.utils.BeanPropertyReader$$anonfun$toMap$2$$anonfun$apply$3 cannot access class com.sun.management.internal.OperatingSystemImpl (in module jdk.management) because module jdk.management does not export com.sun.management.internal to unnamed module @2a3591c5
      

      In this case a java module is used, which is available in Java 8, but not anymore, starting with Java 9. The package com.sun.management hints to removed implementations.

      Desired Behavior
      The JobScheduler Master and the Agent should be fully operational with Java 9 /10.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              sp Santiago Aucejo Petzoldt
              Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: