Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Configuration : (Category) Classloaders, Classpaths and Classloading :
My servlet uses native code, how do I set the classpath?
The servlet classpath also cannot contain classes that use native methods. The Java security model prevents classloaders other than the system classloader from loading classes that contain native code.
jonATworking-dogsDOTcom
>       Thanks Jon, for the information about JServ and JNI (attached
> below). One more problem, though. Now that I have added servlets to the
> system class path, they do not get reloaded when the .class files change.
> How can I do development if this is true? Below is the FAQ item discussing
> serlvets in the system classpath.

nice catch-22 eh?

The only way that I know of at this point is to run Apache JServ 
manually and restart it each time you need to change your code (or run it 
in automatic mode and hup the server each time).

Major pain in the rear, but this is a JVM limitation and not a Apache JServ 
limitation. I suggest that you also complain to Sun. ;-)

-jon
You can effectively let Jserv to reload your servlet and using JNI, if you
package those objects that uses JNI in a specific classpath, and then
instantiate them as you need it.  It works for me!
[Append to This Answer]
Previous: (Answer) Detailed information about the classpath for servlet zones.
Next: (Answer) How do I get my servlet classes to reload?
This document is: http://java.apache.org/faq/?file=27
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.