16 [Timer-1] DEBUG Sigar - no sigar-x86-winnt.dll in java.library.path
org.hyperic.sigar.SigarException: no sigar-x86-winnt.dll in java.library.path
at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:100)
at com.erayt.solar.monitor.util.SigarFactory.getSigar(SigarFactory.java:33)
at com.erayt.solar.monitor.util.SigarFactory.getRealtime(SigarFactory.java:37)
at com.erayt.solar.monitor.host.RealtimeGather.gather(RealtimeGather.java:14)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.gather(IntervalGatherImpl.java:50)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.run(IntervalGatherImpl.java:38)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
[02:10:30.187][ INFO][main][c.e.s.s.SolarPropertyPlaceholderConfigurer] : Loading properties file from class path resource [conf/properties/project.properties]
[02:10:30.187][ INFO][main][c.e.s.s.SolarPropertyPlaceholderConfigurer] : Loading properties file from class path resource [conf/properties/project_margin_war.properties]
[02:10:30.265][ INFO][main][o.s.b.f.s.DefaultListableBeanFactory] : Pre-instantiating singletons in o
Exception in thread "Timer-1" java.lang.UnsatisfiedLinkError: org.hyperic.sigar.Cpu.gather(Lorg/hyperic/sigar/Sigar;)V
at org.hyperic.sigar.Cpu.gather(Native Method)
at org.hyperic.sigar.Cpu.fetch(Cpu.java:30)
at org.hyperic.sigar.Sigar.getCpu(Sigar.java:320)
at com.erayt.solar.monitor.util.SigarFactory.getRealtime(SigarFactory.java:48)
at com.erayt.solar.monitor.util.SigarFactory.getRealtime(SigarFactory.java:39)
at com.erayt.solar.monitor.host.RealtimeGather.gather(RealtimeGather.java:14)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.gather(IntervalGatherImpl.java:50)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.run(IntervalGatherImpl.java:38)
at java.util.TimerThread.mainLoop(Timer.java:512)
org.hyperic.sigar.SigarException: no sigar-x86-winnt.dll in java.library.path
at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:100)
at com.erayt.solar.monitor.util.SigarFactory.getSigar(SigarFactory.java:33)
at com.erayt.solar.monitor.util.SigarFactory.getRealtime(SigarFactory.java:37)
at com.erayt.solar.monitor.host.RealtimeGather.gather(RealtimeGather.java:14)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.gather(IntervalGatherImpl.java:50)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.run(IntervalGatherImpl.java:38)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
[02:10:30.187][ INFO][main][c.e.s.s.SolarPropertyPlaceholderConfigurer] : Loading properties file from class path resource [conf/properties/project.properties]
[02:10:30.187][ INFO][main][c.e.s.s.SolarPropertyPlaceholderConfigurer] : Loading properties file from class path resource [conf/properties/project_margin_war.properties]
[02:10:30.265][ INFO][main][o.s.b.f.s.DefaultListableBeanFactory] : Pre-instantiating singletons in o
Exception in thread "Timer-1" java.lang.UnsatisfiedLinkError: org.hyperic.sigar.Cpu.gather(Lorg/hyperic/sigar/Sigar;)V
at org.hyperic.sigar.Cpu.gather(Native Method)
at org.hyperic.sigar.Cpu.fetch(Cpu.java:30)
at org.hyperic.sigar.Sigar.getCpu(Sigar.java:320)
at com.erayt.solar.monitor.util.SigarFactory.getRealtime(SigarFactory.java:48)
at com.erayt.solar.monitor.util.SigarFactory.getRealtime(SigarFactory.java:39)
at com.erayt.solar.monitor.host.RealtimeGather.gather(RealtimeGather.java:14)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.gather(IntervalGatherImpl.java:50)
at com.erayt.solar.monitor.internal.IntervalGatherImpl.run(IntervalGatherImpl.java:38)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
===================================================================================================================================
解决办法
下载sigar-1.6.2.zip工具包,拷贝文件sigar-1.6.2.zip\hyperic-sigar-1.6.2\sigar-bin\lib\sigar-x86-winnt.dll到JDK目录jdk-6u45\bin下
就解决了