Christopher,
Gesendet: Freitag, 05. September 2014 um 22:23 Uhr
Von: Christopher Schultz ch...@christopherschultz.net
An: Tomcat Users List users@tomcat.apache.org
Betreff: Re: java.lang.UnsatisfiedLinkError in Tomcat 8.0.11 and SPDY [broken
tcnative 1.1.x?]
-BEGIN PGP SIGNED MESSAGE
[true], accept filters
[false], random [true]. .. Sep 04, 2014 9:30:55 AM
org.apache.coyote.AbstractProtocol start INFO: Starting
ProtocolHandler [http-apr-xx.xx.xx.xx-443]
java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I at
org.apache.tomcat.jni.SSLExt.setNPN(Native
-xx.xx.xx.xx-443]
java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I
at org.apache.tomcat.jni.SSLExt.setNPN(Native Method)
at org.apache.tomcat.jni.SSLExt.setNPN(SSLExt.java:126)
at
org.apache.coyote.spdy.SpdyAprNpnHandler.init(SpdyAprNpnHandler.java:76
org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [http-apr-xx.xx.xx.xx-443]
java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I
at org.apache.tomcat.jni.SSLExt.setNPN(Native Method)
Your copy of Tomcat-Native library was compiled without NPN support
and does not have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis,
On 7/5/2010 3:35 AM, dennis ch wrote:
modelJNI.java
===
public final static native void initModel();
native code
=
#include HEC.h
#include vector
#include string
[snip]
void initModel() {
You can't use JNI like
, I got the following error
(the first line means the .so was successfully loaded):
Load library successfully
[ERROR] com.model.modelJNI.initModel()V
java.lang.reflect.InvocationTargetException
[...]
Caused by: java.lang.UnsatisfiedLinkError:
com.model.modelJNI.initModel()V
=mediacomcc@tomcat.apache.org[users-return-214329-racarlson=
mediacomcc@tomcat.apache.org] On Behalf Of Shay Rojansky [
r...@roji.org]
Sent: Saturday, July 03, 2010 12:40 AM
To: Tomcat Users List
Subject: Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError
Hi Dennis.
So do you
(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsatisfiedLinkError
2010/7/2 dennis ch dennis.ch2...@gmail.com:
Do I miss anything here? Any input is appreciated!
IIRC, native libraries can be loaded only once,
but webapplication classloader is disposed and recreated each time the
web application is stopped/reloaded. Thus the class that loads your
library must
Had You tried to made c header by javah -jni
./your_packages/your_class.class ?
It gives header for You with properly named method to be written in c..
On Mon, Jul 5, 2010 at 4:11 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2010/7/2 dennis ch dennis.ch2...@gmail.com:
Do I miss
] On Behalf Of
Shay Rojansky [r...@roji.org]
Sent: Saturday, July 03, 2010 12:40 AM
To: Tomcat Users List
Subject: Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError
Hi Dennis.
So do you see the Load library successful message?
Also, if I remember correctly, the code in eval.java is not a safe way
):
Load library successfully
[ERROR] com.model.modelJNI.initModel()V
java.lang.reflect.InvocationTargetException
[...]
Caused by: java.lang.UnsatisfiedLinkError: com.model.modelJNI.initModel()V
at com.model.modelJNI.initModel(Native Method)
at com.model.model.initModel(model.java
)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsatisfiedLinkError: com.model.modelJNI.initModel()V
at com.model.modelJNI.initModel(Native Method)
at com.model.model.initModel(model.java:13
.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsatisfiedLinkError: com.model.modelJNI.initModel()V
Dear all,
I'm using the iText library to generate pdfs from a database on the fly.
Whenever I use some
of it's features that require simple things like java.awt.Color, I get an
java.lang.UnsatisfiedLinkError as shown:
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre
method8 schrieb:
I'm using the iText library to generate pdfs from a database on the
fly. Whenever I use some of it's features that require simple things
like java.awt.Color, I get an java.lang.UnsatisfiedLinkError as shown:
java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.18
on
a debian machine, and had some problems in the past with policies and socket
permissions.
--
View this message in context:
http://www.nabble.com/java.lang.UnsatisfiedLinkError%3A-running-tomcat-on-java-headless--tp25220313p25221584.html
Sent from the Tomcat - User mailing list archive at Nabble.com
method8 schrieb:
- But what about libmlib_image.so? That's the one it's complaining
about.
I can see that as well.
So check the value of java.library.path. Just to be sure.
Could it be it's just Debian the problem? I develop on windows and
deploy on a debian machine, and had some problems
://www.nabble.com/java.lang.UnsatisfiedLinkError%3A-running-tomcat-on-java-headless--tp25220313p25222024.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
http://wiki.apache.org/tomcat/FAQ/Linux_Unix
-Tim
method8 wrote:
Dear all,
I'm using the iText library to generate pdfs from a database on the fly.
Whenever I use some
of it's features that require simple things like java.awt.Color, I get an
java.lang.UnsatisfiedLinkError as shown
Tim Funk schrieb:
http://wiki.apache.org/tomcat/FAQ/Linux_Unix
You're probably alluding to:
How do I run without an X server and still get graphics?
You either need to run headless or run an alternate X-server. [...] if
your are using a JVM 1.4 or better, you can use the system
1) Are you passing -Djava.awt.headless=true to tomcat via CATALINA_OPTS
(or JAVA_OPTS)
2) I have found that even if you are headless, you can't use all the
Graphics/awt stuff. I wish I could recall what it was, but I thought the
death was in similar manner. (But this was also a few years
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
William,
On 8/31/2009 6:58 AM, method8 wrote:
Could it be it's just Debian the problem? I develop on windows and deploy on
a debian machine, and had some problems in the past with policies and socket
permissions.
You might want to consider
Tim Funk schrieb:
1) Are you passing -Djava.awt.headless=true to tomcat via
CATALINA_OPTS (or JAVA_OPTS)
I'm passing this option to my tests on the command line. The OP was the
one with the Tomcat issue; I suggested he run the iText tests on the
command line as well to be sure at least that
java.lang.UnsatisfiedLinkError: no eMatrix in java.library.path
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
java.lang.Runtime.loadLibrary0(Runtime.java:788)
java.lang.System.loadLibrary(System.java:834)
com.matrixone.jni.MatrixKernel.getKernel(MatrixKernel.java
)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.matrixone.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:173)
root cause
java.lang.UnsatisfiedLinkError: no eMatrix in java.library.path
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517
26 matches
Mail list logo