On Jan 14, 2008, at 4:10 PM, Vic Cekvenich wrote:

> Thx Scott again!
> So I can put java code in resin lib, but... the native .so code,  
> should that also go there?

The .so can go into libexec or libexec64.  You should also be able to  
bundle it inside the jar itself.

-- Scott

>
> tia,
> .V
>
>
>
> The java classes for any JNI code should normally be at the system
> classloader level, e.g. in resin/ext-lib, not in WEB-INF/lib.
>
> The JDK only lets you load a native library once, which causes all
> kinds of problems with web-app reloading.  So you want to put JNI
> code at the system level so it's never reloaded.
>
> -- Scott
>
>
>
>
>
>
>        
> ______________________________________________________________________ 
> ______________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/ 
> newsearch/category.php?category=shopping
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to