tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@mappingsoft.com>
Subject RE: [JK2] RedHat 8.0 JNI totaly bogus
Date Thu, 24 Oct 2002 10:00:33 GMT


> -----Original Message-----
> From: Henri Gomez
> 
> Did it works now ?
> 

Yes.

> > For 1.4.1/RH8:
> > export 
> > 
> LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client
> > :$
> > LD_LIBRARY_PATH
> > 
> > 
> >>2) make JDK use the non floating stacks
> >>
> >>export LD_ASSUME_KERNEL=2.2.5
> >>
> > 
> > 
> > 
> > No need for that to start the JVM, but will check how it works.
> 
> There is good information about floating stack in IBM SDK
> 

Will check.

> > But important:
> > 'which java' _must_ point to the jre/bin/java so jre's path has to 
> > precede jdk one, like  $JAVA_HOME/jre/bin:$JAVA_HOME/bin
> 
> Are you using IBM, Sun or Blackdown SDK ?
>

Sun's 1.4.1_01

Still, I found that JVM kills the process that started it when calling
JNI_CreateJavaVM (that doesn't happens on WIN32, cause error is returned
instead), if the jvm could not be loaded. Makes no sense at all. This
forces Apache to restart the child process, calling create again, and
all that is going in the infinite loop. Very bad :(.

MT. 



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message