users@glassfish.java.net

Any way to configure domain libs w/o copying jar files?

From: <forums_at_java.net>
Date: Thu, 27 Oct 2011 12:55:40 -0500 (CDT)

 asadmin deploy --libraries is convenient to configure 3rd-party jar for an
app, but some libs require to be in higher up ClassLoader to function
properly, e.g. SQL drivers, cybssecurity.jar, etc.

The documented way to copy such jar files to the domain/lib directory works
fine, but it's really not elegant from a configuration management standpoint.
I'd prefer having a way to configure it through a parameter or command line
argument.

I checked asadmin start-domain doc, but no --libraries there...

GFv3 also deprecated the classpath-suffix attribute in domain.xml, so not
configurable there anymore either...

Does anyone know of a clean way to declare 3rd-party libs for GFv3 domains,
without having to copy them over physically in each of them?

Thanks!

PS: symlinks are not acceptable workarounds :)


--
[Message sent by forum member 'cyril4j']
View Post: http://forums.java.net/node/857808