GF no longer provides support for adding libraries to classpath. As a result of this design decision GF can no longer be configured remotly. With GFv2 it was possible to configure JDBC conn-pool with asadmin remote cmd and also add the driver jar (if available on disk) to the classpath with asadmin remote cmd. With GFv3 we have to ssh into the remote machine copy jar to */lib, then use asadmin remote cmd to configure the rest. In environments where security policies restict ssh usage GF can no longer be configured.
In order to provide full remote configuration support GFv3 need some admin commands to install 3rd party libs.
The best thing would be to extend common classloader with classpath support (can configure native libs with native-lib-path, but classpath-prefix/suffix has been dropped ??? )
Second best alternative is to provide a well defined interface to install libs (it is not acceptable to force users to manipulate configuration on disk, well defined interafeces should be provided)
Such an interface could look like this:
supported interfaces: admainGUI, asadmin, REST
list-lib -target [domain|config-name]
delete-lib -lib-name <lib-name> --target [domain|config-name]
install-lib -source [server|local] -source-path <path> --target [domain|config-name]
(to deploy an app with REST id-field accepts path on server or POST upload, this should be the same here)