----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Danny Levenson wrote:

[snip]

>  If anybody knows how to configure the path for
> the wrapper so that it can find my dlls in a directory of my choosing,
> I'd love to hear it.

You don't mention which JDK you are using.

> If you are using 1.2+,  add the following code snippet to your static {}
statement before the loadLibrary().

>             // Make sure our path is in jlp
>             String jlp = "java.library.path";
>             String svwpath =  "/opt/web/path/to/my/zone";
>             String path = (String)System.getProperty(jlp);
>             if (path == null)
>                 path = jlp;
>             else {
>                 String sep = (String)System.getProperty("path.separator");
>                 path = svwpath + sep + path;
>             }
>             Properties p = System.getProperties();
>             p.put(jlp, path);
>

Thanks goes to jon* (in this list) for the above snippet.



> If you are using 1.1.8 (really just < 1.2) then use the wrapper.env to
setup a library path that your system dynamic loader can use to find the
library. (I use the following under Linux)
wrapper.env=LD_LIBRARY_PATH=/opt/web/path/to/my/zone:/other/paths/I/need

Hope that helps.
Kevin




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to