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:[EMAIL PROTECTED]]
> Sent: 05 July 2001 12:49
> To: [EMAIL PROTECTED]
> Subject: RE: c++ dll
> 
> 
> Can you mail the snippet of your code?
> 
> -----Original Message-----
> From: Everitt, Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 05, 2001 4:26 PM
> To: '[EMAIL PROTECTED]'
> 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:[EMAIL PROTECTED]]
> > Sent: 05 July 2001 12:16
> > To: [EMAIL PROTECTED]
> > 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 
> > 
> 

Reply via email to