Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.11
-
None
-
None
Description
Current Situation
When the plugin com.sos.scheduler.plugins.globalmonitor.GlobalMonitorPlugin is activated in the scheduler.xml configuration file, JobScheduler does not start. In the scheduler.log there is the stack trace
{java.stackTrace} java.lang.NoSuchFieldError: job
at com.sos.scheduler.plugins.globalmonitor.GlobalMonitorPlugin.fileBasedTypes(GlobalMonitorPlugin.java:67)
at com.sos.scheduler.engine.kernel.plugin.PluginSubsystem$$anonfun$typeToSourceChangingPlugins$1.apply(PluginSubsystem.scala:31)
at com.sos.scheduler.engine.kernel.plugin.PluginSubsystem$$anonfun$typeToSourceChangingPlugins$1.apply(PluginSubsystem.scala:31)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241)
at scala.collection.immutable.List.flatMap(List.scala:344)
at com.sos.scheduler.engine.kernel.plugin.PluginSubsystem.typeToSourceChangingPlugins$lzycompute(PluginSubsystem.scala:31)
at com.sos.scheduler.engine.kernel.plugin.PluginSubsystem.typeToSourceChangingPlugins(PluginSubsystem.scala:31)
at com.sos.scheduler.engine.kernel.plugin.PluginSubsystem.changeObjectXmlBytes(PluginSubsystem.scala:61)
<plugin java_class="com.sos.scheduler.plugins.globalmonitor.GlobalMonitorPlugin"> <plugin.config> <jobparams> <param name="configuration_directory" value="C:/Users/ur/Documents/sos-berlin.com/jobscheduler/scheduler_4106/config"/> <param name="regex_selector" value="^job_.*\.job.xml$"/> <param name="exclude_dir" value="sos"/> <param name="exlude_file" value="xxx"/> </jobparams> <monitorparams> <param name="use_parent_folders" value="true"/> <param name="recursive" value="true"/> <param name="regex_selector" value="^global_.*$"/> </monitorparams> </plugin.config> </plugin>
Desired Behaviour
It should be possible to activate the plugin com.sos.scheduler.plugins.globalmonitor.GlobalMonitorPlugin is activated in the scheduler.xml