srmspacemanager: catch and ignore SQL exception on error handling path when processing PoolMgrSelectWritePool on reply from PoolManager

    In the previous version of selectPool the srmspace file has always been
    defined (even if it had no pnfsid associdated). Recent changes introduced
    better separation of handling messages to PoolManager and from PoolManager.
    In case of reply only error handling part is needed (nullify pnfsid of
    srmspacefile record).

    This patch basically implements this: "If file does not have pnfsid, there is no need to nullify it"

    Ticket: 8087
    Patch: https://rb.dcache.org/r/6210
    Acked-by: Gerd Behrmann
    Target: trunk
    Request: 2.7
    Require-book: no
    Require-notes: no
spacemanager: Fix setter for cleanupExpiredSpaceFiles property

The wonders of static analysis....

Target: trunk
Require-notes: no
Require-book: no
Request: 2.7
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/6213/
srm: Fix NPE and timer thread kill when restoring jobs

Fixes the fulling bug:

07 Nov 2013 10:11:35 (SRM-gonzo) [] Uncaught exception in thread Job expiration
java.lang.NullPointerException: null
        at org.dcache.srm.request.GetRequest.stateChanged(GetRequest.java:248) ~[srm-server-2.7.0~ndgf2.jar:2.7.0~ndgf2]
        at org.dcache.srm.request.Job.setState(Job.java:361) ~[srm-server-2.7.0~ndgf2.jar:2.7.0~ndgf2]
        at org.dcache.srm.request.Job.setState(Job.java:321) ~[srm-server-2.7.0~ndgf2.jar:2.7.0~ndgf2]
        at org.dcache.srm.request.Job.checkExpiration(Job.java:815) ~[srm-server-2.7.0~ndgf2.jar:2.7.0~ndgf2]
        at org.dcache.srm.scheduler.SharedMemoryCacheJobStorage$ExpirationTask.run(SharedMemoryCacheJobStorage.java:175) ~[srm-server-2.7.0~ndgf2.jar:2.7.0~ndgf2]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_45]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_45]

The exception kills the timer thread. This is fixed by this patch. The patch
also fixes the NPE itself. It is unknown why exactly some file requests
cannot be found in the database, but I suspect that old file requests are
removed concurrently.

Target: trunk
Require-notes: no
Require-book: no
Request: 2.7
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6215/
doors: Allow loginbroker property to be empty

It should be possible to not register with any loginbroker.

Target: trunk
Require-notes: no
Require-book: no
Request: 2.7
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/6219/