Thanks for the reply,
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat JNI Netbeans
Does that work with JNI ?
JNI has nothing to do with Tomcat,
Not sure what you mean by that.
but rather with the JVM you're using.
For Sun-based JVMs, the location of native libraries
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat JNI Netbeans
however do you know where there are any official
instructions on setting up JNI and Tomcat ?
You won't find any real doc, since again, Tomcat has no specific
relationship to JNI. JNI is a capability of the Java
thread. Do you need to do something else specifically?
Wade
--- soulboy [EMAIL PROTECTED] wrote:
Thanks for the reply,
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat JNI Netbeans
Does that work with JNI ?
JNI has nothing to do with Tomcat,
Not sure what you
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat JNI Netbeans
however do you know where there are any official
instructions on setting up JNI and Tomcat ?
You won't find any real doc, since again, Tomcat has no specific
relationship to JNI. JNI is a capability
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat JNI Netbeans
Well even if Tomcat has no specific relationship to JNI it
still has some kind of relationship.
No more or less than any other Java program, so simply look in the
standard JNI documentation.
One thing I noticed
Ok I worked out the problem what you need to do is create
$CATALINA_HOME/shared/lib directory then edit
$CATALINA_HOME/conf/catalina.properties and edit the shared.loader line so
that
shared.loader=$CATALINA_HOME/shared/lib
Seems like in tomcat 6 the $CATALINA_HOME/shared/lib was removed as
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat JNI Netbeans
Ok I worked out the problem what you need to do is create
$CATALINA_HOME/shared/lib directory then edit
$CATALINA_HOME/conf/catalina.properties and edit the
shared.loader line so that
shared.loader
wrote:
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat JNI Netbeans
Ok I worked out the problem what you need to do is create
$CATALINA_HOME/shared/lib directory then edit
$CATALINA_HOME/conf/catalina.properties and edit the
shared.loader line so that
shared.loader
From: soulboy [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat JNI Netbeans
Does that work with JNI ?
JNI has nothing to do with Tomcat, but rather with the JVM you're using.
For Sun-based JVMs, the location of native libraries must be specified
via the java.library.path system property. When
soulboy wrote:
both this class and the shared library should be placed in the
$CATALINA_HOME/shared/lib directory.
Actually $CATALINA_HOME/shared/lib directory doesn't exist on my
installation so I created it and as test
I created and placed a dummy javalibrary in a .jar file in this
10 matches
Mail list logo