Had You tried to made c header by javah -jni
./your_packages/your_class.class ?
It gives header for You with properly named method to be written in c..

On Mon, Jul 5, 2010 at 4:11 PM, Konstantin Kolinko
<knst.koli...@gmail.com>wrote:

> 2010/7/2 dennis ch <dennis.ch2...@gmail.com>:
> > Do I miss anything here?  Any input is appreciated!
> >
>
> IIRC, native libraries can be loaded only once,
> but webapplication classloader is disposed and recreated each time the
> web application is stopped/reloaded. Thus the class that loads your
> library must be in ${catalina.base}/lib folder (and at the same time
> it must be removed from the webapp, because otherwise the classes in
> webapp are preferred over the ones in lib).
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
best regards,
    Igor Chumak

Reply via email to