login about faq

I am trying test chilkat.jar in my aplication, but this not work when try run tomcat 7 with jdk 1.7, and i copy the .so to /usr/lb64 and have this error

Estado HTTP 500 - javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: 
    com.chilkatsoft.chilkatJNI.new_CkMailMan()

type Informe de Excepción

mensaje javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: 
    com.chilkatsoft.chilkatJNI.new_CkMailMan()

descripción El servidor encontró un error interno que hizo que no pudiera rellenar este requerimiento.

excepción

org.apache.jasper.JasperException: javax.servlet.ServletException: 
java.lang.UnsatisfiedLinkError: com.chilkatsoft.chilkatJNI.new_CkMailMan()
...

asked Oct 01 '14 at 11:43

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


I would first recommend Googling "chilkat tomcat UnsatisfiedLinkError"

See this: http://stackoverflow.com/questions/1403788/java-lang-unsatisfiedlinkerror-no-dll-in-java-library-path
At the web page linked above, look for the information about Tomcat...

Also see: http://www.cknotes.com/tomcat-unsatisfiedlinkerror/

I also found this in another search result:

 Under the default chilkat.dll subdirectory in the project file, run the Java project, 
the absolute path of the project is the path of the project in the eclipse workspace, so 
the system according to the relative path correctly find chilkat.dll file; run on the Web 
works when loaded Tomcat, the absolute path of the system Tomcat installation directory 
BIN file path, when the need load chilkat.dll file, the system can not find the required 
files.

Solution 1: specified chilkat.dll store the absolute path

static { try { System.loadLibrary ("E :/ / ming / / workspace / / SearchGen / / chilkat.dll"); } Catch (UnsatisfiedLinkError e) { System.err.println ("Native code library failed to load. / N" + e); System.exit (1); } }

Solution 2: chilkat.dll copy to the Tomcat installation directory Bin file

link

answered Oct 01 '14 at 11:49

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

edited Oct 01 '14 at 11:50

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×8
×1

Asked: Oct 01 '14 at 11:43

Seen: 1,107 times

Last updated: Oct 01 '14 at 11:50

powered by OSQA