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

The default return value for jobs using javax.script implementation is not valid in case of order jobs

    XMLWordPrintable

Details

    Description

      Using javas.script implementation in a job without surrounding "spooler_process" has an invalid default result in case of order jobs.

      A job like

      <job order="yes">
          <script  language="javax.script:rhino">
              <![CDATA[
      spooler_log.info( "Hello world." );
              ]]>
          </script>
          <run_time />
      </job>
      

      results in error (it will work if order="no" is set).

      As workaround you can wrap the script code with "spooler_process".

      Attachments

        Activity

          People

            ss Stefan Schädlich (Inactive)
            ss Stefan Schädlich (Inactive)
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: