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
<[email protected]>wrote:

> 2010/7/2 dennis ch <[email protected]>:
> > 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
best regards,
    Igor Chumak

Reply via email to