JobServer v5.2.1 on Windows 2012 JDK7 does not start cleanly

i am trying to setup a JobServer on a Windows 2012 (x64) with JDK/jre 7, but it keeps giving errors related to SIGAR.
i believe this is the reason for not getting statistics from this server.
any suggestion on how this can be resolved?
thanks,

PS C:\tools\edm\TJobServer\conf> .\jsl_static64.exe -debug
Env Entry: cmdline =
Env Entry: jrepath =
Env Entry: jvmtype = server
Env Entry: dependencies =
Env Entry: starttype = auto
Env Entry: account =
Env Entry: password =
Env Entry: loadordergroup =
Env Entry: wrkdir =
Env Entry: appname = TalendJobServer
Env Entry: servicename = TalendJobServer
Env Entry: displayname = Talend JobServer
Env Entry: servicedescription = Talend JobServer
Env Entry: stdout =
Env Entry: stderr =
Env Entry: stdoutappend = no
Env Entry: stderrappend = no
Env Entry: systemout =
Env Entry: systemerr =
Env Entry: systemoutappend = no
Env Entry: systemerrappend = no
Env Entry: interactwithdesktop = no
Env Entry: onexiterror = ignore
Env Entry: reportservicestoppedonmainthreadexit = no
Env Entry: stopclass = java/lang/System
Env Entry: stopmethod = exit
Env Entry: stopsignature = (I)V
Env Entry: stopparams =
Env Entry: pauseclass =
Env Entry: pausemethod =
Env Entry: pausesignature =
Env Entry: pauseparams =
Env Entry: contclass =
Env Entry: contmethod =
Env Entry: contsignature =
Env Entry: contparams =
Env Entry: premainclass =
Env Entry: premainmethod = run
Env Entry: premainsignature = ()I
Env Entry: premainparams =
Env Entry: useconsolehandler = yes
Env Entry: path =
Env Entry: modulepath =
Env Entry: export =
Env Entry: param00 = -cp
Env Entry: param00 = -cp
Env Entry: param01 = C:/tools/edm/TJobServer;C:/tools/edm/TJobServer/lib/jmxremote_optional.jar;C:/tools/edm/TJobServer/
lib/log4j-1.2.15.jar;C:/tools/edm/TJobServer/lib/commons-io-1.3.2.jar;C:/tools/edm/TJobServer/lib/jsl.jar
Env Entry: param02 = -Djava.library.path=C:/tools/edm/TJobServer/jsysmon-20061229/native/windows/
Env Entry: param03 = -Dcom.sun.management.jmxremote
Env Entry: param04 = -Dtalend_props=C:/tools/edm/TJobServer/conf/TalendJobServer.properties
Env Entry: param05 = org.talend.remote.jobserver.service.WindowsJobServer
Debugging Talend JobServer.
Now starting JVM
WARNING: Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.7', but only '1.2 or 1.3 or 1.4 or 1.5 or 1.6' has been tested.
Path for JVM: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Pro
gram Files (x86)\UnxUtils;C:\tools\java\x64\jdk1.7.0_17\jre7\bin
ControlHandler registered after JVM start
This is the System.out stream
This is the System.err stream
Now destroying JVM
INFO TalendJobServerMain - Starting the Talend Job server agent
INFO TalendJobServerMain -
!!--------------------------------------------------------------------------------------------------!!
!! !!
!! Talend Job server agent !!
!! Version: 5.0.0 Compatible with versions: 5.0.0, 5.0.1, 5.0.2, 5.1.0 !!
!! !!
!!--------------------------------------------------------------------------------------------------!!
INFO PropertiesLoader - Loading Properties from file: 'C:\tools\edm\TJobServer\conf\TalendJobServer.properties'
INFO TalendJobServer - PROPERTIES: List of input properties:
awt.toolkit=sun.awt.windows.WToolkit
com.sun.management.jmxremote=
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:/tools/edm/TJobServer;C:/tools/edm/TJobServer/lib/jmxremote_optional.jar;C:/tools/edm/TJobServer/lib/l
og4j-1.2.15.jar;C:/tools/edm/TJobServer/lib/commons-io-1.3.2.jar;C:/tools/edm/TJobServer/lib/jsl.jar
java.class.version=51.0
java.endorsed.dirs=C:\tools\java\x64\jdk1.7.0_17\jre7\lib\endorsed
java.ext.dirs=C:\tools\java\x64\jdk1.7.0_17\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home=C:\tools\java\x64\jdk1.7.0_17\jre7
java.io.tmpdir=C:\Users\Nicolas\AppData\Local\Temp\1\
java.library.path=C:/tools/edm/TJobServer/jsysmon-20061229/native/windows/
java.rmi.server.randomIDs=true
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.7.0_17-b02
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.7.0_17
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.vendor=Oracle Corporation
java.vm.version=23.7-b01
line.separator=
org.talend.monitoring.jmx.server.OsInfoRetriever.FORCE_LOAD=false
org.talend.monitoring.jmx.server.OsInfoRetriever.OS_PARTITIONS=C:
org.talend.remote.jobserver.commons.config.JobServerConfiguration.FREQUENCY_CLEAN_ACTION=600
org.talend.remote.jobserver.commons.config.JobServerConfiguration.JOB_LAUNCHER_PATH=
org.talend.remote.jobserver.commons.config.JobServerConfiguration.LAUNCH_SHELL_SCRIPT=false
org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_EXECUTIONS_LOGS=77760
00
org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_JOBS=7776000
org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_LIBS=7776000
org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_OLD_EXECUTIONS_LOGS=1000
org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_OLD_JOBS=200
org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_OLD_LIBS=300
org.talend.remote.jobserver.commons.config.JobServerConfiguration.ROOT_PATH=C:/tools/edm/TJobServer
org.talend.remote.jobserver.server.TalendJobServer.COMMAND_SERVER_PORT=8000
org.talend.remote.jobserver.server.TalendJobServer.FILE_SERVER_PORT=8001
org.talend.remote.jobserver.server.TalendJobServer.LOCAL_HOST=localhost
org.talend.remote.jobserver.server.TalendJobServer.MONITORING_PORT=8888
org.talend.remote.jobserver.server.TalendJobServer.USE_SSL=false
org.talend.remote.jobserver.server.fileevent.FileChangedSensor.FileEvent.checkFileCountBeforeFire=10
org.talend.remote.server.MultiSocketServer.MAX_CONCURRENT_CONNECTIONS=1000
os.arch=amd64
os.name=Windows Server 2012
os.version=6.2
path.separator=;
service.inifile=C:\tools\edm\TJobServer\conf\jsl_static64.ini
service.name=TalendJobServer
service.path=C:\tools\edm\TJobServer\conf\
service.stop.port=0
sun.arch.data.model=64
sun.boot.class.path=C:\tools\java\x64\jdk1.7.0_17\jre7\lib\resources.jar;C:\tools\java\x64\jdk1.7.0_17\jre7\lib\rt.jar;C
:\tools\java\x64\jdk1.7.0_17\jre7\lib\sunrsasign.jar;C:\tools\java\x64\jdk1.7.0_17\jre7\lib\jsse.jar;C:\tools\java\x64\j
dk1.7.0_17\jre7\lib\jce.jar;C:\tools\java\x64\jdk1.7.0_17\jre7\lib\charsets.jar;C:\tools\java\x64\jdk1.7.0_17\jre7\lib\j
fr.jar;C:\tools\java\x64\jdk1.7.0_17\jre7\classes
sun.boot.library.path=C:\tools\java\x64\jdk1.7.0_17\jre7\bin
sun.cpu.endian=little
sun.cpu.isalist=amd64
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=
talend_props=C:/tools/edm/TJobServer/conf/TalendJobServer.properties
user.country=GB
user.dir=C:\tools\edm\TJobServer\conf
user.home=C:\Users\Nicolas
user.language=en
user.name=Nicolas
user.script=
user.timezone=Europe/London
user.variant=
PROPERTIES: End of list.
INFO MultiSocketServer - FileServer Started on 0.0.0.0/0.0.0.0:8001
INFO CommandServerSocket - System property recovery.enabled=null => recovery is enabled
INFO CommandServerSocket - Option jobLauncher disabled, the default value will be used.
INFO MultiSocketServer - CommandServer Started on 0.0.0.0/0.0.0.0:8000
INFO AbstractDataCleaner - JobServerCleaner started.
INFO OSInformationAgent - Talend OS Information agent Version: 2.0.0
INFO OSInformationAgent - Create the MBean server with service URL: service:jmx:jmxmp://localhost:8888
WARN AbstractDataCleaner - pathDir is not a directory: C:\tools\edm\TJobServer\archiveJobs
INFO OsInfoRetriever - Search for monitoring library in java.library.path: C:/tools/edm/TJobServer/jsysmon-20061229/nat
ive/windows/
ERROR OsInfoRetriever - Exception when starting Sigar monitoring
java.lang.NoClassDefFoundError: org/hyperic/sigar/SigarException
at sigar.SigarCpuInfo.computeCPUMonitoringData(Unknown Source)
at sigar.SigarCpuInfo.access$000(Unknown Source)
at sigar.SigarCpuInfo$1.run(Unknown Source)
at sigar.SigarCpuInfo.startMonitoring(Unknown Source)
at org.talend.monitoring.jmx.server.OsInfoRetriever.startSigarMonitoring(Unknown Source)
at org.talend.monitoring.jmx.server.OsInfoRetriever.<init>(Unknown Source)
at org.talend.monitoring.jmx.server.OSInformationAgent.start(Unknown Source)
at org.talend.remote.jobserver.server.TalendJobServer.startMonitoringServer(Unknown Source)
at org.talend.remote.jobserver.server.TalendJobServer.startOnly(Unknown Source)
at org.talend.remote.jobserver.server.TalendJobServer.start(Unknown Source)
at org.talend.remote.jobserver.server.TalendJobServerMain.main(Unknown Source)
at org.talend.remote.jobserver.service.WindowsJobServer.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.hyperic.sigar.SigarException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
INFO OSInformationAgent - Register the OsInfoRetrieverMBean
INFO OSInformationAgent - Create and start the JMX connector server
INFO OSInformationAgent - jmxServiceURL = service:jmx:jmxmp://localhost:8888
INFO OSInformationAgent - The JMX connector server successfully started.
INFO TalendJobServer - =========== JobServer successfully started ===========
1 REPLY

Re: JobServer v5.2.1 on Windows 2012 JDK7 does not start cleanly

it seems that it is necessary to load the class that is not listed by default.
so i have added the following to my jsl_static64.ini
params = 6
param00 = -cp
param01 = C:/tools/edm/TJobServer;C:/tools/edm/TJobServer/lib/jmxremote_optional.jar;C:/tools/edm/TJobServer/lib/log4j-1.2.15.jar;C:/tools/edm/TJobServer/lib/commons-io-1.3.2.jar;C:/tools/edm/TJobServer/lib/jsl.jar;C:/tools/edm/TJobServer/sigar-bin/lib/sigar.jar
param02 = -Djava.library.path=C:/tools/edm/TJobServer/jsysmon-20061229/native/windows/
param03 = -Dcom.sun.management.jmxremote
param04 = -Dtalend_props=C:/tools/edm/TJobServer/conf/TalendJobServer.properties
param05 = org.talend.remote.jobserver.service.WindowsJobServer

the key is the extra:
%JOBSERVER_ROOT%/sigar-bin/lib/sigar.jar
THANKS,