[jira] [Updated] (OAK-8135) HTTP service may not select correct media type if multiple are specified in Accept header field

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8135:

Labels:   (was: candidate_oak_1_4)

> HTTP service may not select correct media type if multiple are specified in 
> Accept header field
> ---
>
> Key: OAK-8135
> URL: https://issues.apache.org/jira/browse/OAK-8135
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: oak-http
>Reporter: Henry Saginor
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.12.0, 1.10.3, 1.6.18, 1.8.14
>
> Attachments: MediaRange.patch, OAK-8135.diff
>
>
> Steps to reproduce:
>  With HTTPie
> {code:java}
> > http -j -b -a admin:admin localhost:8080{code}
> or with cUrl
> {code:java}
> > curl -u admin:admin http://localhost:8080 --header "Accept: 
> > application/json, */*"{code}
> In both of the above cases http service selects the first available 
> representation (aka HTML) based on "**/**" instead of more specific JSON.
> I think one possible fix is to by default assign higher weight to more 
> specific mime types when Accept header is parsed in 
> org.apache.jackrabbit.oak.http.MediaRange.parse
> For example replacing return statement in above method with the following 
> fixed this bug in my testing:
> {code:java}
> double defaultQ = 3.0;
> if("*/*".equals(type.getType())) {
>     defaultQ = 1.0;
> } else if("*".equals(type.getSubtype())) {
>     defaultQ = 2.0;
> }
>     
> return new MediaRange(type, defaultQ);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8196) Update httpclient/mime dependencies to 4.5.8

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8196:

Labels:   (was: candidate_oak_1_4)

> Update httpclient/mime dependencies to 4.5.8
> 
>
> Key: OAK-8196
> URL: https://issues.apache.org/jira/browse/OAK-8196
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.12.0, 1.4.25, 1.10.3, 1.6.18, 1.8.14
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-8196) Update httpclient/mime dependencies to 4.5.8

2019-10-27 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16827509#comment-16827509
 ] 

Julian Reschke edited comment on OAK-8196 at 10/27/19 8:39 PM:
---

trunk: (1.12.0) [r1857000|http://svn.apache.org/r1857000]
1.10: (1.10.3) [r1858259|http://svn.apache.org/r1858259]
1.8: (1.8.14) [r1861868|http://svn.apache.org/r1861868]
1.6: (1.6.18) [r1862801|http://svn.apache.org/r1862801]
1.4: [r1869052|http://svn.apache.org/r1869052]



was (Author: reschke):
trunk: (1.12.0) [r1857000|http://svn.apache.org/r1857000]
1.10: (1.10.3) [r1858259|http://svn.apache.org/r1858259]
1.8: (1.8.14) [r1861868|http://svn.apache.org/r1861868]
1.6: [r1862801|http://svn.apache.org/r1862801]


> Update httpclient/mime dependencies to 4.5.8
> 
>
> Key: OAK-8196
> URL: https://issues.apache.org/jira/browse/OAK-8196
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.12.0, 1.4.25, 1.10.3, 1.6.18, 1.8.14
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8196) Update httpclient/mime dependencies to 4.5.8

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8196:

Fix Version/s: 1.4.25

> Update httpclient/mime dependencies to 4.5.8
> 
>
> Key: OAK-8196
> URL: https://issues.apache.org/jira/browse/OAK-8196
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_4
> Fix For: 1.12.0, 1.4.25, 1.10.3, 1.6.18, 1.8.14
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-5455) Specify versions for maven plugins used in build for ensuring stable builds

2019-10-27 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-5455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881146#comment-16881146
 ] 

Julian Reschke edited comment on OAK-5455 at 10/27/19 7:41 PM:
---

trunk: (1.7.12) [r1815458|http://svn.apache.org/r1815458] 
[r1815449|http://svn.apache.org/r1815449]
1.6: (1.6.18) [r1862804|http://svn.apache.org/r1862804]
1.4: [r1869051|http://svn.apache.org/r1869051]



was (Author: reschke):
trunk: (1.7.12) [r1815458|http://svn.apache.org/r1815458] 
[r1815449|http://svn.apache.org/r1815449]
1.6: [r1862804|http://svn.apache.org/r1862804]


> Specify versions for maven plugins used in build for ensuring stable builds
> ---
>
> Key: OAK-5455
> URL: https://issues.apache.org/jira/browse/OAK-5455
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Chetan Mehrotra
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.7.14, 1.8.0, 1.4.25, 1.6.18
>
> Attachments: OAK-5455-v1.patch, enforce.diff
>
>
> Running a check for plugin versions used in oak build 
> {noformat}
> mvn versions:display-plugin-updates
> {noformat}
> leads to following warning
> {noformat}
> [INFO] The following plugin updates are available:
> [INFO]   org.apache.felix:maven-scr-plugin .. 1.16.0 -> 1.21.0
> [INFO] 
> [WARNING] The following plugins do not have their version specified:
> [WARNING]   maven-compiler-plugin .. 2.0.2
> [WARNING]   maven-deploy-plugin . (from super-pom) 2.4
> [WARNING]   maven-failsafe-plugin . 2.12.4
> [WARNING]   maven-jar-plugin . 2.1
> [WARNING]   maven-javadoc-plugin . 2.0
> [WARNING]   maven-release-plugin . (from super-pom) 2.0-beta-4
> [WARNING]   maven-resources-plugin ... 2.2
> [WARNING]   maven-surefire-plugin .. 2.4.2
> [INFO] 
> [WARNING] Project does not define minimum Maven version, default is: 2.0
> [INFO] Plugins require minimum Maven version of: 3.0.5
> [INFO] Note: the super-pom from Maven 3.3.9 defines some of the plugin
> [INFO]   versions and may be influencing the plugins required minimum 
> Maven
> [INFO]   version.
> [INFO] 
> [ERROR] Project does not define required minimum version of Maven.
> [ERROR] Update the pom.xml to contain
> [ERROR] 
> [ERROR]   3.0.5
> [ERROR] 
> {noformat}
> As a fix we should
> # Specify version for all maven plugin in use
> # Specify minimum version of maven to be used (version used in CI is 3.2.1)
> # Configure enforcer plugin to ensure that in future no plugin is used 
> without specifying the version [1]
> [1] http://maven.apache.org/enforcer/enforcer-rules/requirePluginVersions.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-5455) Specify versions for maven plugins used in build for ensuring stable builds

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-5455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-5455:

Labels:   (was: candidate_oak_1_4)

> Specify versions for maven plugins used in build for ensuring stable builds
> ---
>
> Key: OAK-5455
> URL: https://issues.apache.org/jira/browse/OAK-5455
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Chetan Mehrotra
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.7.14, 1.8.0, 1.4.25, 1.6.18
>
> Attachments: OAK-5455-v1.patch, enforce.diff
>
>
> Running a check for plugin versions used in oak build 
> {noformat}
> mvn versions:display-plugin-updates
> {noformat}
> leads to following warning
> {noformat}
> [INFO] The following plugin updates are available:
> [INFO]   org.apache.felix:maven-scr-plugin .. 1.16.0 -> 1.21.0
> [INFO] 
> [WARNING] The following plugins do not have their version specified:
> [WARNING]   maven-compiler-plugin .. 2.0.2
> [WARNING]   maven-deploy-plugin . (from super-pom) 2.4
> [WARNING]   maven-failsafe-plugin . 2.12.4
> [WARNING]   maven-jar-plugin . 2.1
> [WARNING]   maven-javadoc-plugin . 2.0
> [WARNING]   maven-release-plugin . (from super-pom) 2.0-beta-4
> [WARNING]   maven-resources-plugin ... 2.2
> [WARNING]   maven-surefire-plugin .. 2.4.2
> [INFO] 
> [WARNING] Project does not define minimum Maven version, default is: 2.0
> [INFO] Plugins require minimum Maven version of: 3.0.5
> [INFO] Note: the super-pom from Maven 3.3.9 defines some of the plugin
> [INFO]   versions and may be influencing the plugins required minimum 
> Maven
> [INFO]   version.
> [INFO] 
> [ERROR] Project does not define required minimum version of Maven.
> [ERROR] Update the pom.xml to contain
> [ERROR] 
> [ERROR]   3.0.5
> [ERROR] 
> {noformat}
> As a fix we should
> # Specify version for all maven plugin in use
> # Specify minimum version of maven to be used (version used in CI is 3.2.1)
> # Configure enforcer plugin to ensure that in future no plugin is used 
> without specifying the version [1]
> [1] http://maven.apache.org/enforcer/enforcer-rules/requirePluginVersions.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-5455) Specify versions for maven plugins used in build for ensuring stable builds

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-5455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-5455:

Fix Version/s: 1.4.25

> Specify versions for maven plugins used in build for ensuring stable builds
> ---
>
> Key: OAK-5455
> URL: https://issues.apache.org/jira/browse/OAK-5455
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Chetan Mehrotra
>Assignee: Julian Reschke
>Priority: Major
>  Labels: candidate_oak_1_4
> Fix For: 1.7.14, 1.8.0, 1.4.25, 1.6.18
>
> Attachments: OAK-5455-v1.patch, enforce.diff
>
>
> Running a check for plugin versions used in oak build 
> {noformat}
> mvn versions:display-plugin-updates
> {noformat}
> leads to following warning
> {noformat}
> [INFO] The following plugin updates are available:
> [INFO]   org.apache.felix:maven-scr-plugin .. 1.16.0 -> 1.21.0
> [INFO] 
> [WARNING] The following plugins do not have their version specified:
> [WARNING]   maven-compiler-plugin .. 2.0.2
> [WARNING]   maven-deploy-plugin . (from super-pom) 2.4
> [WARNING]   maven-failsafe-plugin . 2.12.4
> [WARNING]   maven-jar-plugin . 2.1
> [WARNING]   maven-javadoc-plugin . 2.0
> [WARNING]   maven-release-plugin . (from super-pom) 2.0-beta-4
> [WARNING]   maven-resources-plugin ... 2.2
> [WARNING]   maven-surefire-plugin .. 2.4.2
> [INFO] 
> [WARNING] Project does not define minimum Maven version, default is: 2.0
> [INFO] Plugins require minimum Maven version of: 3.0.5
> [INFO] Note: the super-pom from Maven 3.3.9 defines some of the plugin
> [INFO]   versions and may be influencing the plugins required minimum 
> Maven
> [INFO]   version.
> [INFO] 
> [ERROR] Project does not define required minimum version of Maven.
> [ERROR] Update the pom.xml to contain
> [ERROR] 
> [ERROR]   3.0.5
> [ERROR] 
> {noformat}
> As a fix we should
> # Specify version for all maven plugin in use
> # Specify minimum version of maven to be used (version used in CI is 3.2.1)
> # Configure enforcer plugin to ensure that in future no plugin is used 
> without specifying the version [1]
> [1] http://maven.apache.org/enforcer/enforcer-rules/requirePluginVersions.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8051) PersistentCache: error during open can lead to incomplete initialization and subsequent NPEs

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8051:

Labels:   (was: candidate_oak_1_4)

> PersistentCache: error during open can lead to incomplete initialization and 
> subsequent NPEs
> 
>
> Key: OAK-8051
> URL: https://issues.apache.org/jira/browse/OAK-8051
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: documentmk
>Affects Versions: 1.6.6
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.12.0, 1.6.17, 1.8.12, 1.10.2
>
> Attachments: OAK-8051.diff, OAK-8051.diff
>
>
> Seen in the wild (in 1.6.6):
> {noformat}
> 22.01.2019 08:45:13.153 *WARN* [http-/0.0.0.0:80-3] 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.MapFactory Could 
> not open the store _path_/cache-4.data
> java.lang.IllegalStateException: The file is locked: nio:_path_/cache-4.data 
> [1.4.193/7]
>   at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765)
>   at org.h2.mvstore.FileStore.open(FileStore.java:168)
>   at org.h2.mvstore.MVStore.(MVStore.java:348)
>   at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2923)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache$1.openStore(PersistentCache.java:288)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache.createMapFactory(PersistentCache.java:361)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache.(PersistentCache.java:210)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.getPersistentCache(DocumentMK.java:1232)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.buildCache(DocumentMK.java:1211)
> {noformat}
> Later on:
> {noformat}
> 22.01.2019 08:45:13.155 *WARN* [http-/0.0.0.0:80-3] 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.MapFactory Could 
> not open the map
> java.lang.NullPointerException: null
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache$1.openMap(PersistentCache.java:335)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.CacheMap.openMap(CacheMap.java:135)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.CacheMap.(CacheMap.java:48)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache.openMap(PersistentCache.java:468)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.NodeCache.addGeneration(NodeCache.java:115)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache.initGenerationCache(PersistentCache.java:452)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.PersistentCache.wrap(PersistentCache.java:443)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.buildCache(DocumentMK.java:1214)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.buildPrevDocumentsCache(DocumentMK.java:1182)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.buildNodeDocumentCache(DocumentMK.java:1189)
>   at 
> org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.initialize(RDBDocumentStore.java:798)
>   at 
> org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.(RDBDocumentStore.java:212)
>   at 
> org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.(RDBDocumentStore.java:224)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.setRDBConnection(DocumentMK.java:757)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.registerNodeStore(DocumentNodeStoreService.java:508)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.registerNodeStoreIfPossible(DocumentNodeStoreService.java:430)
>   at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.activate(DocumentNodeStoreService.java:414)
> {noformat}
> and then
> {noformat}
> 22.01.2019 08:45:16.808 *WARN* [http-/0.0.0.0:80-3] 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.CacheMap 
> Re-opening map PREV_DOCUMENT
> java.lang.NullPointerException: null
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.CacheMap.get(CacheMap.java:87)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.MultiGenerationMap.readValue(MultiGenerationMap.java:71)
>   at 
> org.apache.jackrabbit.oak.plugins.document.persistentCache.NodeCache.asyncReadIfPresent(NodeCache.java:147)
>   at 
> 

[jira] [Comment Edited] (OAK-8120) Update http components to 4.5.7/4.4.11

2019-10-27 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16880641#comment-16880641
 ] 

Julian Reschke edited comment on OAK-8120 at 10/27/19 5:36 PM:
---

trunk: (1.12.0) [r1855032|http://svn.apache.org/r1855032]
1.10: (1.10.3) [r1855812|http://svn.apache.org/r1855812]
1.8: (1.8.13) [r1855884|http://svn.apache.org/r1855884]
1.6: (1.6.18) [r1862770|http://svn.apache.org/r1862770]
1.4: [r1869048|http://svn.apache.org/r1869048]



was (Author: reschke):
trunk: (1.12.0) [r1855032|http://svn.apache.org/r1855032]
1.10: [r1855812|http://svn.apache.org/r1855812]
1.8: (1.8.13) [r1855884|http://svn.apache.org/r1855884]
1.6: [r1862770|http://svn.apache.org/r1862770]


> Update http components to 4.5.7/4.4.11
> --
>
> Key: OAK-8120
> URL: https://issues.apache.org/jira/browse/OAK-8120
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.12.0, 1.4.25, 1.8.13, 1.10.3, 1.6.18
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8120) Update http components to 4.5.7/4.4.11

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8120:

Fix Version/s: 1.4.25

> Update http components to 4.5.7/4.4.11
> --
>
> Key: OAK-8120
> URL: https://issues.apache.org/jira/browse/OAK-8120
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_4
> Fix For: 1.12.0, 1.4.25, 1.8.13, 1.10.3, 1.6.18
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8120) Update http components to 4.5.7/4.4.11

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8120:

Labels:   (was: candidate_oak_1_4)

> Update http components to 4.5.7/4.4.11
> --
>
> Key: OAK-8120
> URL: https://issues.apache.org/jira/browse/OAK-8120
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.12.0, 1.4.25, 1.8.13, 1.10.3, 1.6.18
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-7622) Update httpcomponent dependencies to 4.4.10/4.5.6 (and declare the versions globally)

2019-10-27 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-7622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606122#comment-16606122
 ] 

Julian Reschke edited comment on OAK-7622 at 10/27/19 3:34 PM:
---

trunk: (1.9.6) [r1835521|http://svn.apache.org/r1835521]
1.8: (1.8.8) [r1840240|http://svn.apache.org/r1840240]
1.6: (1.6.18) [r1862621|http://svn.apache.org/r1862621]
1.4: [r1869040|http://svn.apache.org/r1869040]



was (Author: reschke):
trunk: (1.9.6) [r1835521|http://svn.apache.org/r1835521]
1.8: (1.8.8) [r1840240|http://svn.apache.org/r1840240]
1.6: [r1862621|http://svn.apache.org/r1862621]


> Update httpcomponent dependencies to 4.4.10/4.5.6 (and declare the versions 
> globally)
> -
>
> Key: OAK-7622
> URL: https://issues.apache.org/jira/browse/OAK-7622
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent, run, solr, webapp
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.10.0, 1.9.6, 1.8.8, 1.4.25, 1.6.18
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7622) Update httpcomponent dependencies to 4.4.10/4.5.6 (and declare the versions globally)

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7622:

Labels:   (was: candidate_oak_1_4)

> Update httpcomponent dependencies to 4.4.10/4.5.6 (and declare the versions 
> globally)
> -
>
> Key: OAK-7622
> URL: https://issues.apache.org/jira/browse/OAK-7622
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent, run, solr, webapp
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.10.0, 1.9.6, 1.8.8, 1.4.25, 1.6.18
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7622) Update httpcomponent dependencies to 4.4.10/4.5.6 (and declare the versions globally)

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7622:

Fix Version/s: 1.4.25

> Update httpcomponent dependencies to 4.4.10/4.5.6 (and declare the versions 
> globally)
> -
>
> Key: OAK-7622
> URL: https://issues.apache.org/jira/browse/OAK-7622
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent, run, solr, webapp
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_4
> Fix For: 1.10.0, 1.9.6, 1.8.8, 1.4.25, 1.6.18
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-7184) LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier

2019-10-27 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-7184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16960609#comment-16960609
 ] 

Julian Reschke commented on OAK-7184:
-

trunk: (1.9.0) [r1821847|http://svn.apache.org/r1821847]
1.8: (1.8.4) [r1832261|http://svn.apache.org/r1832261]
1.6: (1.6.13) [r1833587|http://svn.apache.org/r1833587]
1.4: [r1869038|http://svn.apache.org/r1869038]


> LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier
> ---
>
> Key: OAK-7184
> URL: https://issues.apache.org/jira/browse/OAK-7184
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: upgrade
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
> Fix For: 1.9.0, 1.10.0, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7159) RDBDocumentStore: use try-with-resources for nodes cache locks

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7159:

Labels:   (was: candidate_oak_1_4)

> RDBDocumentStore: use try-with-resources for nodes cache locks
> --
>
> Key: OAK-7159
> URL: https://issues.apache.org/jira/browse/OAK-7159
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.9.0, 1.10.0, 1.8.4, 1.6.18
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Issue Comment Deleted] (OAK-7184) LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7184:

Comment: was deleted

(was: trunk: [r1821847|http://svn.apache.org/r1821847]
1.8: [r1832261|http://svn.apache.org/r1832261]
1.6: [r1833587|http://svn.apache.org/r1833587]
)

> LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier
> ---
>
> Key: OAK-7184
> URL: https://issues.apache.org/jira/browse/OAK-7184
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: upgrade
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
> Fix For: 1.9.0, 1.10.0, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7184) LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7184:

Fix Version/s: 1.4.25

> LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier
> ---
>
> Key: OAK-7184
> URL: https://issues.apache.org/jira/browse/OAK-7184
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: upgrade
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
>  Labels: candidate_oak_1_4
> Fix For: 1.9.0, 1.10.0, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7184) LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7184:

Labels:   (was: candidate_oak_1_4)

> LengthCachingDataStoreTest: Remove unused import of Guava InputSupplier
> ---
>
> Key: OAK-7184
> URL: https://issues.apache.org/jira/browse/OAK-7184
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: upgrade
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
> Fix For: 1.9.0, 1.10.0, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-6985) RDBDocumentStoreJDBC: remove unused parameter

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-6985:

Labels:   (was: candidate_oak_1_4)

> RDBDocumentStoreJDBC: remove unused parameter
> -
>
> Key: OAK-6985
> URL: https://issues.apache.org/jira/browse/OAK-6985
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
> Fix For: 1.7.12, 1.6.7, 1.8.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-6730) oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java does not compile with jdk 9

2019-10-27 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879655#comment-16879655
 ] 

Julian Reschke edited comment on OAK-6730 at 10/27/19 12:11 PM:


trunk: (1.7.9) [r1810084|http://svn.apache.org/r1810084]
1.6: (1.6.18) [r1862657|http://svn.apache.org/r1862657]
1.4: [r1869035|http://svn.apache.org/r1869035]



was (Author: reschke):
trunk: (1.7.9) [r1810084|http://svn.apache.org/r1810084]
1.6: [r1862657|http://svn.apache.org/r1862657]


> oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java
>  does not compile with jdk 9
> -
>
> Key: OAK-6730
> URL: https://issues.apache.org/jira/browse/OAK-6730
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.7.8
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.7.9, 1.8.0, 1.4.25, 1.6.18
>
> Attachments: OAK-6730.diff
>
>
> {noformat}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[199,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.commit.CommitHook>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.commit.CommitHook>
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[210,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[227,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-6730) oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java does not compile with jdk 9

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-6730:

Labels:   (was: candidate_oak_1_4)

> oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java
>  does not compile with jdk 9
> -
>
> Key: OAK-6730
> URL: https://issues.apache.org/jira/browse/OAK-6730
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.7.8
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.7.9, 1.8.0, 1.4.25, 1.6.18
>
> Attachments: OAK-6730.diff
>
>
> {noformat}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[199,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.commit.CommitHook>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.commit.CommitHook>
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[210,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[227,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-6730) oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java does not compile with jdk 9

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-6730:

Fix Version/s: 1.4.25

> oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java
>  does not compile with jdk 9
> -
>
> Key: OAK-6730
> URL: https://issues.apache.org/jira/browse/OAK-6730
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.7.8
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
>  Labels: candidate_oak_1_4
> Fix For: 1.7.9, 1.8.0, 1.4.25, 1.6.18
>
> Attachments: OAK-6730.diff
>
>
> {noformat}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[199,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.commit.CommitHook>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.commit.CommitHook>
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[210,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>
> [ERROR] 
> /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[227,36]
>  incompatible types: inference variable T has incompatible bounds
> upper bounds: java.lang.Iterable org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>,java.lang.Object
> lower bounds: java.util.List org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7156) CacheChangesTracker should implement Closeable

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7156:

Labels:   (was: candidate_oak_1_4)

> CacheChangesTracker should implement Closeable
> --
>
> Key: OAK-7156
> URL: https://issues.apache.org/jira/browse/OAK-7156
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.9.0, 1.10.0, 1.8.4, 1.6.18
>
> Attachments: OAK-7156.diff
>
>
> So it can be used with try-with-resources...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-7432) RDB*Store: update mysql driver reference to 5.1.46

2019-10-27 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-7432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16960541#comment-16960541
 ] 

Julian Reschke commented on OAK-7432:
-

trunk: (1.9.1) [r1829864|http://svn.apache.org/r1829864]
1.8: (1.8.4) [r1832143|http://svn.apache.org/r1832143]
1.6: (1.6.13) [r1836466|http://svn.apache.org/r1836466]
1.4: [r1869031|http://svn.apache.org/r1869031]


> RDB*Store: update mysql driver reference to 5.1.46
> --
>
> Key: OAK-7432
> URL: https://issues.apache.org/jira/browse/OAK-7432
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
> Fix For: 1.10.0, 1.9.1, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Issue Comment Deleted] (OAK-7432) RDB*Store: update mysql driver reference to 5.1.46

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7432:

Comment: was deleted

(was: trunk: [r1829864|http://svn.apache.org/r1829864]
1.8: [r1832143|http://svn.apache.org/r1832143]
1.6: [r1836466|http://svn.apache.org/r1836466]
)

> RDB*Store: update mysql driver reference to 5.1.46
> --
>
> Key: OAK-7432
> URL: https://issues.apache.org/jira/browse/OAK-7432
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
> Fix For: 1.10.0, 1.9.1, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7432) RDB*Store: update mysql driver reference to 5.1.46

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7432:

Labels:   (was: candidate_oak_1_4)

> RDB*Store: update mysql driver reference to 5.1.46
> --
>
> Key: OAK-7432
> URL: https://issues.apache.org/jira/browse/OAK-7432
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
> Fix For: 1.10.0, 1.9.1, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-7432) RDB*Store: update mysql driver reference to 5.1.46

2019-10-27 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-7432:

Fix Version/s: 1.4.25

> RDB*Store: update mysql driver reference to 5.1.46
> --
>
> Key: OAK-7432
> URL: https://issues.apache.org/jira/browse/OAK-7432
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
>  Labels: candidate_oak_1_4
> Fix For: 1.10.0, 1.9.1, 1.8.4, 1.6.13, 1.4.25
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)