tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Everitt, Andrew" <Andrew.Ever...@gbr.xerox.com>
Subject RE: c++ dll
Date Thu, 05 Jul 2001 14:27:08 GMT
It doesn't require code, in the arguments for the JVM add the -D parameter
e.g.

java -classpath [CLASSPATH] -Djava.library.path=[Path to DLL]
org.apache.tomcat.Tomcat [args]

Andi.

> -----Original Message-----
> From: Manish Bhatnagar [mailto:manish@accord-soft.com]
> Sent: 05 July 2001 12:49
> To: tomcat-user@jakarta.apache.org
> Subject: RE: c++ dll
> 
> 
> Can you mail the snippet of your code?
> 
> -----Original Message-----
> From: Everitt, Andrew [mailto:Andrew.Everitt@gbr.xerox.com]
> Sent: Thursday, July 05, 2001 4:26 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: c++ dll
> 
> 
> Arik,
> 
> Try setting 'java.library.path' for the JVM that you are 
> running tomcat in
> to point to the directory containing the DLL.
> 
> Andi.
> ____________________
> Andrew Everitt
> Xerox Mobile Solutions, Cambridge. UK 
> 
> > -----Original Message-----
> > From: Arik Levin [mailto:arik@tikalknowledge.com]
> > Sent: 05 July 2001 12:16
> > To: tomcat-user@jakarta.apache.org
> > Subject: c++ dll
> > 
> > 
> > 
> > 	Hi.
> > 
> > 		I have some c++ dll, which I use thru native java class
> > at my servlet. (I call it like.. System.loadLibrary("dll name"))
> > 
> > 		When I use it at JRun env it works fine.
> > 
> > 		I have Jboss-Tomcat env, and at this env It just
> > wouldn't work. I have this Exception: UnsatisfiedLinkError.
> > 		
> > 
> > 		Please ,,, HELP !!!!
> > Thank's Arik 
> > 
> 

Mime
View raw message