*think* have the JVM the correct claspath when it's executed from Apache?
I mean... i can execute a JVM from a shell which get the classpath from the ENV vbles
but it's posible JVM executed by apache dont have the classpath u want...

i got this problem adding a jdbc driver to Tomcat and looking (evidently) the JVM lanhed from Tomcat havent the ENV that u have lauching JVM from a common shell.

Seeya, i hope this help.


At 03.20 25/5/00 -0700, you wrote:
Hi friends,
 
we are building an Apache module in C++ which makes calls to some Java methods via JNI. This is Apache on Solaris 2.6, JDK 1.2, Apache 1.3.
 
Anyway, the module works fine when run from our little test shell, but when run from Apache it croaks. Actually, it does load the JVM and find the classes it needs, etc, but when we call env->CallStaticObjectMethod(), Apache reports an abnormal termination of a child process.
 
Does anyone have any ideas on this? I am sure that we have the classpath set up, and the LD_LIBRARY_PATH is correct. Is there something about the Apache environment that we need to do special? Do we need to change the java.policy file?
 
Thanks,
 
    -Sean
 
Sean Forde
Software Architect
LizardTech Inc.
[EMAIL PROTECTED]
 

Reply via email to