chimera: Fix duplicate key supression

The postgresql driver for chimera has logic to avoid duplicate key
errors in postgresql while still throwing the SQLException on the
client side.

Unfortunately, the error code used is inconsistent with the error
code used in other logic that supresses the duplicate key error.

This patch resolves the problem: I checked the other places the
modified methods are called, and code that doesn't rely on the
isDuplicateKeyError just checks whther the error code starts with
'23'. This will still work after the change.

Target: trunk
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6999/
(cherry picked from commit ee903925e9ea4513b3c553847ad120f62dab5ab3)

Conflicts:
	modules/chimera/src/main/java/org/dcache/chimera/PgSQLFsSqlDriver.java

(cherry picked from commit 5c37c7a19149d36855be1d949b0e91a4585fca2d)
Merge pull request #564 from gbehrmann/fix/2.7/rb6999

Fix/2.7/rb6999
srm: Avoid duplicate status code update on status query

Container requests calculate their status code based on the status of
their file requests: However once they reached a final state, that
final state should be used rather than update the state several times.

When requests expire, I have observed illegal state transition errors
caused by trying to update the state several times.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/7000/
(cherry picked from commit 39b2c1153e02882c4b4ae4309d37bffdffbe8f87)
httpd: Fix a couple of bugs

Target: trunk
Require-notes: no
Require-book: no
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/7002/
(cherry picked from commit 633ec78a9ccf2a887af86f64c0fe55a75628c1de)

Conflicts:
	modules/dcache/src/main/java/org/dcache/cells/UniversalSpringCell.java
Merge pull request #570 from gbehrmann/fix/2.7/rb7000

Fix/2.7/rb7000
Merge pull request #573 from gbehrmann/fix/2.7/rb7002

Fix/2.7/rb7002
[maven-release-plugin] prepare release 2.7.12
[maven-release-plugin] prepare for next development iteration
ftp,dcap: Don't export child doors

This patch fixes a regression introduced in dCache 2.7.

Target: trunk
Request: 2.9
Request: 2.8
Request: 2.7
Require-notes: yes
Require-book: no
srm: Use srm.enable.space-reservation rather than dcache.enable.space-reservation

Target: trunk
Request: 2.9
Request: 2.8
Request: 2.7
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/7009/
(cherry picked from commit 35ab3f8869d91e51e618d19252bb53f09dd53a46)
Merge pull request #578 from gbehrmann/fix/2.7/rb7005

Fix/2.7/rb7005
Merge pull request #584 from gbehrmann/fix/2.7/rb7009

Fix/2.7/rb7009
pom: update jglobus library

a bugfix build of jglobus:

Changelog for v2.0.6-rc5.d..v2.0.6-rc6.d
    * [7429aa2] gridftp: Propagate FTP failure reply in client
    * [d734763] fix handling of DN with comma as per rfc1779

Ticket: #8285
Ticket: #8312
Acked-by: Paul Millar
Target: master, 2.9, 2.8, 2.7, 2.6
Require-book: no
Require-notes: yes
(cherry picked from commit 005b7bf391f599b596aadd21982e35e82e64471f)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #587 from kofemann/new-gjlobus-2.7

New gjlobus 2.7
info-provider: fix works-by-accent bug when importing dCache config

The info-provider uses XML Entities to import dCache configuration.
The xmllint documentation, a used to work around a limitation in
Xerces, describes how a command-line option is required for it to
honour such Entity imports; however, earlier versions of xmllint did
not enforce this restriction and the info-provider worked despite
mistakenly omitting this option.

Mitigation against CVE-2014-0191 was achieved by fixing xmllint, so
enforcing the documented behaviour.  This change broke info-provider
with the following error being displayed:

/usr/share/dcache/info-provider/glue-both.xml:35: parser error : Entity 'dcache.paths.etc' not defined

This patch adds the option to tell xmllint to honour Entity imports.

Target: master
Patch: http://rb.dcache.org/r/7018/
Acked-by: Tigran Mkrtchyan
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Request: 2.2
Merge pull request #593 from paulmillar/fix/2.7/info-provider-xmllint

Fix/2.7/info provider xmllint
xrootd: Backport door and mover from dCache 2.9

Target: 2.7
Require-book: no
Require-notes: yes