Unsatisfied link Error in JSP
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   maniprasad_venkat
Posted On:   Thursday, September 4, 2003 10:15 AM

I am able to call a native method written in c language by creating the dll and loading the dll in java file. I am able to execute the file from the command prompt. I tried to call the same class from a jsp page which gives me the error unsatisfiedlinkerror : method name (native method) can u help me out.

Re: Unsatisfied link Error in JSP

Posted By:   Alexander_Krapf  
Posted On:   Saturday, September 6, 2003 11:30 AM

Hi,


I would first try to put the native library into your system folder (on Windows) or onto your PATH on Unix for experimentation. If it works, you have established that it is a path issue.


I would also check the docs of the servlet enginer you're using to see where you could add a configuration option for your java.library.path.


Good luck,


Alex

Re: Unsatisfied link Error in JSP

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, September 5, 2003 07:06 AM

Your dll has to be available to the servlet engine, in a directory on its PATH or LD_LIBRARY_PATH (I guess the latter is just for Unix though).

About | Sitemap | Contact