admin: Fix help on error

The admin shell used to output a command summary in case of syntax errors,
however recent refactoring broke this when the admin shell was ported to
CellStub (CellStub assumes that dCache uses CacheException, while much code
that comes from cells relies on CommandException).

This patch resolves the issue.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6865/
scripts: add database updateSQL command

Print the SQL statements which will be applied by update command.

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: yes
chimera: introduce inode generation number

on some workloads we need to detect that file or a directory have
been changed, even if mtime and ctime does not reflect that. This
can happen if time resolution is not good enough or timestams
where reseted back.

To reliably identify inode changes, introduced a new field,
igeneration, which is monotonically incremented on each inode
modification.

RELEASE NOTES:
The first start of namespace will take some time ( ~10-20 min )
for database schema update.

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: yes
gplazma2-ldap: use url rather than host+port

the ldap plugin builds the url of the ldap server using

"ldap://" + host + ":" + port

this way the protocol always is always "ldap". This prevents
the plugin from using secure ldap using "ldaps".
This patch substitutes host and port by a freely definable url.

Ticket: 8289
Acked-by:
Target: trunk
Require-book: yes
Require-notes: yes
srm: fix stored diff so that the Solaris 'patch' command works

The new delegation service uses Axis to autogenerate stub code
from the WSDL.  The code produced by Axis isn't ideal and
additional patches are applied.

The current diffs only work for the GNU version of 'patch', but
not the 'patch' command from Solaris.  There are two problems for
Solaris patch:

   because the filenames are the same, both exist in the filesystem
       Solaris requires that precisely one exists, otherwise it will
       fall back to prompting the user to understand which file to
       patch.

   the command line was missing, this is optional for GNU patch but
       Solaris requires it to be present.

Target: master
Patch: http://rb.dcache.org/r/6879/
Acked-by: Tigran Mkrtchyan
Merge remote-tracking branch 'upstream/master' into ldap-use-url/master
Kill workers when calling BoundedExecutor#shutdownNow

Solves a problem with hanging FTP sessions.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6883/
ftp: fix unit tests so they run on IPv4-only machine

The unit tests for the AbstractFtpDoor are, on the most part,
designed to run independently of whether the testing machine has
IPv6 support or not.

Unfortunately one test relied on the host machine having the IPv6
loop-back interface enabled.  This patch fixes that problem.

Target: master
Request: 2.8
Request: 2.7
Patch: http://rb.dcache.org/r/6882/
Acked-by: Gerd Behrmann
srm: tidy up SRM CopyRequest and CopyFileRequest classes

Some very basic refactoring of code structure:
  Place braces in consistent fashion,
  Adjust white-space,
  Choose Java-conforming variable names,
  Move field members to start of class,
  Improve some method names

Patch: http://rb.dcache.org/r/6877/
Acked-by: Gerd Behrmann
Target: master
srm/transfermanager: make errors less noisy

If a third-party transfer fails, it gets logged in the pool,
transfermanager general log, transfermanager activity log and
the SRM.  The log messages are also needlessly long and include
unnecessary information.

This patch quietens this considerably.

Target: master
Patch: http://rb.dcache.org/r/6886/
Acked-by: Tigran Mkrtchyan
TransferManager: fix error-handling

An earlier patch (5ed882c6cd56bd9cdc50a9017a2cb74047e00607) switched from
using CellAdapter#sendMessage to the recently introduced call-back mechanism.
This separates the normal and error response handling into separate call-back
methods.  Unfortunately the patch didn't also refactor the error handling
in TransferManagerHandler so the existing error handling remained in the
successful code-path, where it was never called.

This patch moves the error handling to the error call-back method.  It
tidies up the error messages and reduces the logging somewhat.  The retry
if the delete of a file fails is refactored slightly.

Target: master