[jboss-user] [Installation, Configuration & Deployment] - Re: location for DLL's

PeterJ do-not-reply at jboss.com
Tue Dec 19 17:36:53 EST 2006


The jboss.native.load and jboss.native.dir system properties come into play if you deploy an archive (such as a jar file) with an embedded native library.  In other words, if I have foobar.jar which contains:

org/stuff/Main.class
org/stuff/Other.class
other.dll

then when JBoss deploys the jar, it will also load the DLL by first copying it to the jboss.native.dir directory and loading it from there.

So you have two choices.  If your Java code calls System.load(), then place your DLL in the PATH.  If you expect JBoss to load your DLL, include it in your jar/sar/whatever file.

Oh by the way, it appears that jboss.native.load defaults to true.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995148#3995148

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995148



More information about the jboss-user mailing list