A java program looks for shared libraries in directories specified via
java.library.path system property. In server.log if you look at the
command line used to launch appserver, you shall notice it is set to
<glassfish-home>/lib dir. So, place your .so or .dll files in
<glassfish-home>/lib dir.
Thanks,
Sahoo
Martin, Ray wrote:
> Where does one put shared libraries from third parties when deploying
> an app to glassfish?
>
> i deploy my java code, which calls the third party java code which in
> turn wants to call a .so (Linux) or .dll(Windows)
> i placed the third party jar file into <glassfish-home>/lib/endorsed
> and <glassfish-home/domains/domain1/lib/ext because i did not know
> which was correct. now i just need to get the shared library placed
> into the correct place.
>
> thanx.