Greetings,
I have been trying to use some Native C code in one of my applications.
I have it working, but after it runs once it fails.  
The release-notes mention that:
"To avoid this problem, place classes that load native libraries outside
of the web application, and ensure that the loadLibrary() call is
executed only once during the lifetime of a particular JVM."

>From here:
http://tomcat.apache.org/tomcat-5.0-doc/class-loader-howto.html
I read:
"For classes and resources that must be shared across all web
applications, 
place unpacked classes and resources under
$CATALINA_BASE/shared/classes, 
or place JAR files containing those classes and resources under 
$CATALINA_BASE/shared/lib."

When I place class files into my $CATALINA_BASE/shared/classes, I get
the 
'NoClassDefFoundError' error.  I have also tried a package in
$CATALINA_BASE/shared/lib.

Has anyone successfully resolved this issue on the Linux platform?
Where is the config that tells tomcat to load classes from
$CATALINA_BASE/shared/classes?  It seems like mine is not configured
correctly because they don't seem to get loaded.
Any pointers or advice is greatly appreciated.
Take care.
S




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

Reply via email to