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 well as
the shared loader line
in cataline.properties for some reason ! 

I dont know why this change was made but all the JNI documentation is now
out of date


markt-2 wrote:
> 
> 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 location.
> 
> For a default Tomcat 6 install, just use $CATALINA_HOME/lib
> 
> Mark
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-JNI-Netbeans-tf4376281.html#a12626928
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to