Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

no sigar-x86-winnt.dll in java.library.path, using Sigar with Webstart

$
0
0
I am facing problem where sigar dlls are not being picked up when using via Webstart. We need the dlls to be downloaded on the client machine so that Machine specific Sigar calls can be done.

I am able to use sigar API/dll's, when I am using it in a Java application by configuring "java.library.path" to point the location of dlls. (I cannot keep the dll's and jars in the same location.)

For making Sigar.dll work with webstart, I have done the following
1) Made a Jar out of the dll's, named it sigarNative.jar.
2) I have updated the jnlp file on the server as follows.
       <resources os="Windows">
          <property name="sun.java2d.noddraw" value="true" />
          <property name="JINTEGRA_NATIVE_MODE" value="" />
          <nativelib href="<path>/sigarNative.jar"/>
     </resources>

This is how other custom native libraries are configured in our application.

Even after doing the above steps I get the below errors.

[LOGGED STACK TRACE BEGIN]
org.hyperic.sigar.SigarException: no sigar-x86-winnt.dll in java.library.path
     at org.hyperic.sigar.Sigar.load(Sigar.java:154)
     at com.portware.util.health.SigarHealthRetreiver.initialize(SigarHealthRetreiver.java:193)

Can anybody point me to the work around for making Sigar dll's work with Webstart.

Thanks,

VK

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>