users@glassfish.java.net

RE: Re: glassfish directory? for user-libraries (.dll or .so)

From: Martin, Ray <armart3_at_tycho.ncsc.mil>
Date: Wed, 6 May 2009 14:52:29 -0400

I finally checked my LD_LIBRARY_PATH - was not correct.
After correcting, Glassfish loaded the sared library just fine.

-----Original Message-----
From: Sanjeeb.Sahoo_at_Sun.COM [mailto:Sanjeeb.Sahoo_at_Sun.COM] On Behalf Of
Sahoo
Sent: Saturday, April 04, 2009 2:48 AM
To: users_at_glassfish.dev.java.net
Subject: Re: glassfish directory? for user-libraries (.dll or .so)

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net