Java.lang.UnsatisfiedLink... readHDSerialNo?


Question: how can i solve the problem
I put my file in WEB-INF\classes\jnid\native.dl...
and load the dll by below code nut still problem is same

System.setProperty("java.libra... "C:\Tomcat5 webbapps\ROOT\WEB-INF\classes\...
System.loadLibrary("Nativ");

also set path :-
set JAVA_OPTS=-Djava.library.path=...
set LD_LIBRARY_PATH=c:\Tomcat5\web...


java.lang.UnsatisfiedLinkError... readHDSerialNo
jnid.HDSerialNo.readHDSerialNo... Method)
jnid.HDSerialNo.<init>(HDSeria...
jnid.HDSerialNumber.<init>(HDS...
org.apache.jsp.test_jsp._jspSe...
org.apache.jasper.runtime.Http...
javax.servlet.http.HttpServlet...
org.apache.jasper.servlet.JspS...
org.apache.jasper.servlet.JspS...
org.apache.jasper.serv

Answer:
Problem description is not clear, are you deploying ur application in file system, or as WAR file?

If you are using file system, then include path till "jnid" or folder where your DLL is lying, in PATH variable, as below

set PATH=%PATH%;c:\Tomcat5\web...


LD_LIBRARY_PATH is to be used on *nix platforms, & PATH variable is to be used on windows. LD_LIBRARY_PATH variable's contents would not be useful on windows.
More Questions & Answers...
  • I can't connect to the internet with my laptop what should I do?
  • Help Help Help! - Flash8 - designed the web pages - BUT arent loading properly when uploaded to web server?
  • I'd like to run Easy PHP Calendar but it requires a decoder. I need ZEND and IONCUBE. Possible to do?
  • Port Chicago: What did happen?
  • Trying to load the drivers for a powerdata S900 pc camera on my computer with windows XP.?
  • What does this ping test mean?
  • I am getting 403 error when trying to load a web page desing with iweb on my geocities account. Any ideas?
  • Real or fake???
  • The questions and answers post by the user, for information only, AnswersRoom.com does not guarantee the right
    Copyright © 2007 AnswersRoom.com -   Terms of Use -   Contact us

    Hot Topic