Fix fix Already have 1 record(s) with pnfsPath= ...
    (commit 635a05a78debe247c717b6fd27c18067af676ccb to master)
commit eff85bad35294eb5b0ace97a0ed9919d369e1716
Author: Dmitry Litvintsev <litvinse@fnal.gov>
Date:   Thu Oct 10 16:10:40 2013 -0500

    (2.6) Add Stored procedures to encode file paths in SI URI so that
          ChimeraEnstoreStorageInfoExtractor can handle paths containing
          special symbols or non-ASCII characters

    RELEASE NOTES:

    Add Stored procedures to encode file paths in SI URI so that
    ChimeraEnstoreStorageInfoExtractor can handle paths containing
    special symbols or non-ASCII characters

    Patch: http://rb.dcache.org/r/6097/
spacemanager: Fix authorization bug in space reservation for non-srm transfers

Target: trunk
Request: 2.6
Request: 2.2
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/dashboard/
(cherry picked from commit cce04b2f52fda78e6385230cc844c88241d3fa2c)
(2.6) hsqldb-plugin: fix transposed varchar settings

The longer varchar (8000) should appear on errormessage but was erroneously given to a different field in a few of the tables.

Target: 2.6
Require-notes: no
Require-book: no
Acked-by: Gerd
Acked-by: Paul
Committed: c8c4807e2dc2475a47fff94a87eba08bc9ba0651
(2.6) javatunnel: add certificate chain to subject

Failing XACML authentication through the gsidcap door.

The issue is that XACML, being both an auth and map plugin, requires the full certificate chain to be in the Subject.  The gsi tunnel was only adding a GlobusPrincipal and an FQANPrincipal to the subject.

The tunnel now extracts the chain from the GSSCredential object and places it in the public credentials set of the subject.

Testing:

Before the patch, the XACML plugin would fail because it had incomplete information and which it processed in a faulty manner.  The error resulted from a mapping like the following:

[DCap-gsi-00-fndca4a-/DC=com/DC=DigiCert-Grid/O=Open Science
Grid/OU=People/CN=Kenneth Herner 1385-133 Login AUTH xacml] mapping
service
https://gums.fnal.gov:8443/gums/services/GUMSXACMLAuthorizationServicePort
returned localId LocalId[] for VomsExtensions[X509Subject='/fermilab',
X509SubjectIssuer='null', fqan='null', primary=false, VO='null',
VOMSSubject='null', VOMSSubjectIssuer='null']

After the patch, the dccp operation succeeds.

Target: 2.6
Patch: http://rb.dcache.org/r/6112/
Require-book: no
Require-notes: yes
Acked-by: Tigran
Committed: 43d81f7b167ddfeec311f6eb24283e1251e6d0b5

RELEASE NOTES:
Fixes a bug whereby a combination of gsidcap with a VOMS cert and XACML authentication/mapping failed to authorize the user.
allow relocation of srmclient scripts

many of the srm scripts point to the generic srm script in
/usr/sbin/srm without using considering $SRM_PATH. This causes
problems if the scripts are installed in different locations than the
ones defined in the RPM.

This patch changes the default location of the generic srm script from
/usr/sbin/srm to ${SRM_PATH}/sbin which is /usr/share/srm/sbin by
default and changes all other scripts to use "${SRM_PATH}/sbin/srm",
thus allowing relocation of the scripts.

Ticket: http://rt.dcache.org/Ticket/Display.html?id=7989
Acked-by:
Target: trunk
Require-book: no
Require-notes: yes
(2.6) dcache, webadmin: fix exception handling

This commit covers two patches:

    http://rb.dcache.org/r/6032/
    http://rb.dcache.org/r/6033/

BILLING:

A number of checked exceptions which were wrapping unchecked exceptions have been eliminated.  In general RuntimeExceptions are propagated. Two exceptions:  when generating JAIDA plots, and wit

CORE, XACML, WEBADMIN:

Code in several places is not handling exceptions correctly; in particular, RuntimeExceptions masked by Exception are occasionally being caught and not propagated.

Where it is possible, catch(Exception) has been eliminated; where not possible, catch(RuntimeException) is called first so that this exception can be rethrown.

In several cases, a RuntimeException (such as the JDOExceptions from DataNucleus) are not propagated, as they cannot reasonably be handled elsewhere, and they should not be fatal to the JVM in

A separate set of patches have been reviewed for 2.6.

Testing:

Junit tests rerun.  Deployed and checked.

Target: 2.6
Acked-by: Karsten
Require-notes: no
Require-book: no
chimera: use ArrayList instead of LinedList

NFS listing is heavy with List#get operations, which
is the weakest point for LinkedList. This change improves
listing of jumbo directories ( ~100k files ) by factor of 10.

RELEASE NOTES:
speedup directory listing of large directories

Acked-by: Paul Millar
Target: master, 2.6
Require-book: no
Require-notes: yes
(cherry picked from commit 8529a07133b827cf407cb3da370b8698b34aa735)
    (2.6)dcache-webadmin: fix page update; fix sorting

    Version of 6082 & 6083 ported back to 2.6

    Testing:  as with patches for master.

    RELEASE NOTES:
    Fixes an issue with some of the tables in the webadmin service which were not refreshing.  Update correctly occurs now on reload, resubmission of the form through link clicking, and on many pages by automatic page refresh.
    Fixes issues preventing the sorting of tables and subtables in webadmin.

    Target: 2.6
    Require-notes: yes
    Require-book: no
    Bug: http://rt.dcache.org/Ticket/Display.html?id=7929
    Bug: http://rt.dcache.org/Ticket/Display.html?id=7964
    Bug: http://rt.dcache.org/Ticket/Display.html?id=7983
    Acked-by: Gerd
    Acked-by: Tigran
gplazma: ldap plugin: recreate dir context

In some environments the connection between gPlazma and the ldap
server may be closed by an existing firewall (e.g., at DESY).
This patch changes the DirContext from being final to a newly
created one on every call.

Acked-by:
Target: 2.6
Request: 2.6-cloud
Require-book: no
Require-notes: no
module: Obsolete dcache-server to make dcache package directly releasable to EMI, EGI*

Obsolete dcache-server to make dcache package directly releasable to EMI, EGI*

This patch in master has the same purpose:
ae694c2329c11092d5d5f3d83a7fbff7cdb47837@master

Target: 2.6
Acked-by:Paul
Requires-notes: no
Requires-book: no
Merge pull request #224 from DmitryLitvintsev/2.6

(2.6) Fix fix Already have 1 record(s) with pnfsPath= ...
Merge pull request #225 from gbehrmann/fix/2.6/rb6099

spacemanager: Fix authorization bug in space reservation for non-srm tra...
Merge pull request #228 from alrossi/fix/2.6/hsqldb-varchar

(2.6) hsqldb-plugin: fix transposed varchar settings
Merge pull request #233 from alrossi/fix/2.6/gsi-tunnel-x509-chain

(2.6) javatunnel: add certificate chain to subject
Merge pull request #240 from dCache/fix/2.6/relocatable-srmclient2

allow relocation of srmclient scripts
Merge pull request #243 from alrossi/fix/2.6/exception-handling

(2.6) dcache, webadmin: fix exception handling
Merge pull request #244 from kofemann/fix-readdir-performace-2.6

chimera: use ArrayList instead of LinedList
Merge pull request #245 from alrossi/fix/2.6/webadmin-update

    (2.6)dcache-webadmin: fix page update; fix sorting
Merge pull request #247 from kschwank/fix/gplazma-ldap-recreate-dir-context/2.6

gplazma: ldap plugin: recreate dir context