tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jhair Tocancipa Triana <jhair_tocanc...@icon-scm.com>
Subject Re: Loading a dll at startup...
Date Tue, 15 Oct 2002 08:57:49 GMT
Hi,

     > Hi, I use Tomcat 4.1.12, JDK 1.3.1, Windows NT4 SP6.  My webapp
     > uses a Windows custom dll which is called by a java class
     > (native method).  It worked with Tomcat 4.0.5 with modification
     > of setclasspath.bat to include this dll in Tomcat's classpath
     > and path, however it doesn't work anymore with Tomcat 4.1.12 :
     > I have a blank string returned by this call.

You should  check the java.library.path property when  your java class
runs.

Check it with a:

,----
| System.out.println( System.getProperty( "java.library.path" ) );
`----

There is where your class looks for the DLL.

Regards,

--
--Jhair


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message