Are either of those directories in $LD_LIBRARY_PATH?


Without JNI, what's the error message then? My advice: get it working without JNI first. If its not working either way, pounding on JNI isn't going to help much.

John

Pat Pomatto wrote:

I have libjvm.so under JAVA_HOME/jre/lib/i386/server and
JAVA_HOME/jre/lib/i386/client. I can't get to work without jni either.

Pat

-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 11:00 AM
To: Tomcat Users List
Subject: Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2



It can't find libjvm.so. Do you have that installed?


Alternatively, does it work without JNI?

John

Pat Pomatto wrote:


Hi,



I'm running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2


connector 2.0.2 which I built successfully. I configured the connector


with jni. I cannot seem to get the connector to work. In my apache/logs/error_log the error generated is:



[Tue Aug 05 10:31:53 2003] [error] vm.init(): no jvm_dll_path, will

use


LD_LIBRARY_PATH libjvm.so

[Tue Aug 05 10:31:53 2003] [error] Can't load native library libjvm.so

:


libjvm.so: cannot open shared object file:

No such file or directory

[Tue Aug 05 10:31:53 2003] [error] jni.loadJvm() Error - can't load

jvm dll


[Tue Aug 05 10:31:53 2003] [error] workerEnv.initChannel() init failed


for channel.jni:jni

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed


for worker.jni:onStartup

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed


for worker.jni:onShutdown

[Tue Aug 05 10:31:53 2003] [error] shm.init(): No file

[Tue Aug 05 10:31:53 2003] [error] uriEnv.init() map to invalid worker


/jsp-examples/* ajp13:localhost:8009

[Tue Aug 05 10:32:05 2003] [error] mod_jk.handle() No worker for /jsp-examples/index.html





Any ideas? Has anyone successfully gotten jk2 connector 2.0.2 working with Tomcat 5?



Thanks in Advance,

Pat





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to