You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Filip Hanik (lists)" <de...@hanik.com> on 2004/03/11 00:59:46 UTC
RE: java system toolkit (opensource) servlet access question
you are missing a DLL or something from your PATH variable,
Eclipse is probably setting this for you, inside eclipse, print
java.library.path variable from System.getProperties() at least that is what
I think it is, to be on the safe side do a
System.getProperties().list(System.out);
Filip
-----Original Message-----
From: John MccLain [mailto:jmcclain@tcshealthcare.com]
Sent: Wednesday, March 10, 2004 6:00 PM
To: Tomcat user list
Subject: java system toolkit (opensource) servlet access question
I would like to use the cool opensource project JST, which accesses windows
registries.
I wish simply to read a value from it.
When I run the sample app in eclipse, it works fine - I get my registry
entry.
But when I run it from a servlet I get the following error:
-------------------------------------------
java.lang.UnsatisfiedLinkError: no jst in java.library.path
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
java.lang.Runtime.loadLibrary0(Runtime.java:788)
.
.
.
------------------------------------------
The JST code is JNI code that links to a .dll file (jst.dll)
does this have something to do with it?? Why should it run different
in a servlet container than as a standalone app? - From the error above,
How do I set my java.library.path to include jst.dll??
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org