RE: oak-upgrade problems migrating from Jackrabbit 2 to Oak

2016-09-21 Thread Robert Haycock
I just noticed the skip-name-check option!! However, when I set the option... java ^ -jar target/oak-upgrade-1.6-SNAPSHOT.jar ^ --skip-name-check ^ c://work/MyComp-repository ^ c://work/MyComp/MyComp-backend/ MyComp-repository.xml ^ mongodb://localhost:27017/oak2 ... I got the message:

RE: oak-upgrade problems migrating from Jackrabbit 2 to Oak

2016-09-21 Thread Robert Haycock
Hi, So after configuring the SecurityManager with the jackrabbit simple implementations, I ran into another NPE as I'd commented out the SearchIndex. ( Exception in thread "main" java.lang.NullPointerException at org.apache.jackrabbit.core.IndexAccessor.getReader(IndexAccessor.java:34)

Re: [VOTE] Release Apache Jackrabbit 2.4.6

2016-09-21 Thread Julian Reschke
On 2016-09-19 07:59, Julian Reschke wrote: ... [X] +1 Release this package as Apache Jackrabbit 2.4.6 Best regards, Julian

Jackrabbit and JDK versions

2016-09-21 Thread Julian Reschke
Hi there, with the recent work around JCR-4025 we have enabled the animal sniffer plugin for trunk, 2.12, 2.10, 2.8, 2.6 (all JDK 6) and 2.4 (JDK 5). Which leaves us with the question whether we should allow use of JDK 7 in trunk (mapping to Oak trunk which is on JDK 7) and maybe 2.12 (which

Jackrabbit and JDK versions

2016-09-21 Thread Julian Reschke
Hi there, with the recent work around JCR-4025 we have enabled the animal sniffer plugin for trunk, 2.12, 2.10, 2.8, 2.6 (all JDK 6) and 2.4 (JDK 5). Which leaves us with the question whether we should allow use of JDK 7 in trunk (mapping to Oak trunk which is on JDK 7) and maybe 2.12 (which

[jira] [Comment Edited] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15508949#comment-15508949 ] Julian Reschke edited comment on JCR-4025 at 9/21/16 1:35 PM: -- trunk:

[jira] [Updated] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-4025: Fix Version/s: 2.4.7 > Enable animal sniffer plugin > > >

[jira] [Commented] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Vikas Saurabh (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509901#comment-15509901 ] Vikas Saurabh commented on JCRVLT-128: -- I wonder if vault should rather do such stuff for nodes with

[jira] [Comment Edited] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509810#comment-15509810 ] Tommaso Teofili edited comment on JCRVLT-128 at 9/21/16 1:19 PM: -

[jira] [Comment Edited] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509810#comment-15509810 ] Tommaso Teofili edited comment on JCRVLT-128 at 9/21/16 1:10 PM: -

[jira] [Updated] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated JCRVLT-128: --- Attachment: JCRVLT-128.0.patch > System maintained cache nodes should be ignored >

[jira] [Updated] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated JCRVLT-128: --- Attachment: (was: JCRVLT-128.0.patch) > System maintained cache nodes should be ignored >

[jira] [Updated] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated JCRVLT-128: --- Attachment: JCRVLT-128.0.patch attaching dummy patch which avoids adding _rep:cache_ in

Re: [VOTE] checking JDK compliance of old Jackrabbit branches / call to EOL Jackrabbit 2.4

2016-09-21 Thread Julian Reschke
On 2016-09-21 14:09, Julian Reschke wrote: On 2016-09-21 14:00, Marcel Reutegger wrote: Hi, On 21/09/16 13:28, Julian Reschke wrote: Proposal: - change the pom.xml to required JDK 6 (and turn on JDK sniffing) Given there is just a minor change required, I would not lift the minimal JDK

[jira] [Resolved] (JCR-4026) BundleBinding uses JDK 6 runtime methods

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke resolved JCR-4026. - Resolution: Fixed 2.4: [r1761722|http://svn.apache.org/r1761722] > BundleBinding uses JDK 6

[jira] [Updated] (JCR-4026) BundleBinding uses JDK 6 runtime methods

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-4026: Fix Version/s: 2.4.7 > BundleBinding uses JDK 6 runtime methods >

Re: [VOTE] checking JDK compliance of old Jackrabbit branches / call to EOL Jackrabbit 2.4

2016-09-21 Thread Julian Reschke
On 2016-09-21 14:00, Marcel Reutegger wrote: Hi, On 21/09/16 13:28, Julian Reschke wrote: Proposal: - change the pom.xml to required JDK 6 (and turn on JDK sniffing) Given there is just a minor change required, I would not lift the minimal JDK version. ->

[jira] [Commented] (JCR-4026) BundleBinding uses JDK 6 runtime methods

2016-09-21 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509716#comment-15509716 ] Marcel Reutegger commented on JCR-4026: --- +1, looks good to me. > BundleBinding uses JDK 6 runtime

[jira] [Updated] (JCR-4026) BundleBinding uses JDK 6 runtime methods

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-4026: Attachment: JCR-4026.diff Proposed patch - [~mreutegg], care to double-check? > BundleBinding uses

Re: [VOTE] checking JDK compliance of old Jackrabbit branches / call to EOL Jackrabbit 2.4

2016-09-21 Thread Marcel Reutegger
Hi, On 21/09/16 13:28, Julian Reschke wrote: Proposal: - change the pom.xml to required JDK 6 (and turn on JDK sniffing) Given there is just a minor change required, I would not lift the minimal JDK version. [X] continue to maintain Jackrabbit 2.4 Jackrabbit 2.4 is still in use in

[jira] [Created] (JCR-4026) BundleBinding uses JDK 6 runtime methods

2016-09-21 Thread Julian Reschke (JIRA)
Julian Reschke created JCR-4026: --- Summary: BundleBinding uses JDK 6 runtime methods Key: JCR-4026 URL: https://issues.apache.org/jira/browse/JCR-4026 Project: Jackrabbit Content Repository

Re: oak-upgrade problems migrating from Jackrabbit 2 to Oak

2016-09-21 Thread Marcel Reutegger
On 21/09/16 11:25, Tomek Rekawek wrote: Marcel, do you think using ConfigurationParameters.EMPTY for userConfig is enough if the SecurityManager is not present? I'm not that familiar with the security part. @Angela, do you know? Regards Marcel

[VOTE] checking JDK compliance of old Jackrabbit branches / call to EOL Jackrabbit 2.4

2016-09-21 Thread Julian Reschke
Hi there, I just spent some time enabling the animal sniffer plugin in Jackrabbit branches (see https://issues.apache.org/jira/browse/JCR-4025). While trying to do so for 2.4, I noticed that although the pom.xml claims that it is on JDK 5, there's code in there that relies on JDK 6

[jira] [Updated] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated JCRVLT-128: --- Description: In OAK-3003 a persisted [principal

[jira] [Updated] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated JCRVLT-128: --- Description: In OAK-3003 a persisted [principal

[jira] [Created] (JCRVLT-128) System maintained cache nodes should be ignored

2016-09-21 Thread Tommaso Teofili (JIRA)
Tommaso Teofili created JCRVLT-128: -- Summary: System maintained cache nodes should be ignored Key: JCRVLT-128 URL: https://issues.apache.org/jira/browse/JCRVLT-128 Project: Jackrabbit FileVault

[jira] [Comment Edited] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15508949#comment-15508949 ] Julian Reschke edited comment on JCR-4025 at 9/21/16 10:19 AM: --- trunk:

[jira] [Updated] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-4025: Fix Version/s: 2.6.7 > Enable animal sniffer plugin > > >

[jira] [Commented] (JCRVLT-127) [regression] updating uuid does not work in oak

2016-09-21 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509433#comment-15509433 ] Konrad Windszus commented on JCRVLT-127: The difference in the conflict handling between

[jira] [Commented] (JCRVLT-127) [regression] updating uuid does not work in oak

2016-09-21 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509429#comment-15509429 ] Konrad Windszus commented on JCRVLT-127: Maybe JCRVLT-85 is related. > [regression] updating uuid

[jira] [Commented] (JCRVLT-127) [regression] updating uuid does not work in oak

2016-09-21 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509379#comment-15509379 ] Tobias Bocanegra commented on JCRVLT-127: - added tests in r1761706 > [regression] updating uuid

Re: svn commit: r1761467 - /jackrabbit/oak/trunk/oak-parent/pom.xml

2016-09-21 Thread Julian Reschke
On 2016-09-21 10:30, Tomek Rekawek wrote: Hi, FWIW, I merged OAK-4831, so now the upgrade tests won’t break even if they can’t cleanup the repository directory at the end. The directories are now created under ./target (so it’s easy to remove them manually) and the logs will contain exact

Re: oak-upgrade problems migrating from Jackrabbit 2 to Oak

2016-09-21 Thread Tomek Rekawek
Hi Robert & Marcel, thanks for the report. I created OAK-4832[1] to track it. Robert, could you check if the problem exists on the recent SNAPSHOT[2]? If it’s fine, I’ll backport the fix to the 1.4 branch. Marcel, do you think using ConfigurationParameters.EMPTY for userConfig is enough if

[jira] [Updated] (JCRVLT-127) [regression] updating uuid does not work in oak

2016-09-21 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated JCRVLT-127: Attachment: mode_ac_test_a_uuid.zip mode_ac_test_unsecured_uuid.zip >

[jira] [Updated] (JCRVLT-105) Use Node.setPrimaryType() when changing primary type.

2016-09-21 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated JCRVLT-105: Attachment: (was: mode_ac_test_a_uuid.zip) > Use Node.setPrimaryType() when changing

[jira] [Updated] (JCRVLT-105) Use Node.setPrimaryType() when changing primary type.

2016-09-21 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated JCRVLT-105: Attachment: mode_ac_test_a_uuid.zip mode_ac_test_unsecured_uuid.zip > Use

[jira] [Updated] (JCRVLT-105) Use Node.setPrimaryType() when changing primary type.

2016-09-21 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/JCRVLT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated JCRVLT-105: Attachment: (was: mode_ac_test_unsecured_uuid.zip) > Use Node.setPrimaryType() when

[jira] [Created] (JCRVLT-127) [regression] updating uuid does not work in oak

2016-09-21 Thread Tobias Bocanegra (JIRA)
Tobias Bocanegra created JCRVLT-127: --- Summary: [regression] updating uuid does not work in oak Key: JCRVLT-127 URL: https://issues.apache.org/jira/browse/JCRVLT-127 Project: Jackrabbit FileVault

[jira] [Comment Edited] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15508949#comment-15508949 ] Julian Reschke edited comment on JCR-4025 at 9/21/16 9:11 AM: -- trunk:

[jira] [Updated] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-4025: Fix Version/s: 2.8.3 > Enable animal sniffer plugin > > >

AW: JCR session.save() bad performance in clustered environment

2016-09-21 Thread KÖLL Claus
This sounds really strange. We know that Jackrabbit has performance impacts on heavy write load. Can you provide more information's about how many save operations occur .. The GLOBAL_REVISION Table is used a lock in a clustered environment so its ok to have locks there but so long ... greets

Re: svn commit: r1761467 - /jackrabbit/oak/trunk/oak-parent/pom.xml

2016-09-21 Thread Tomek Rekawek
Hi, FWIW, I merged OAK-4831, so now the upgrade tests won’t break even if they can’t cleanup the repository directory at the end. The directories are now created under ./target (so it’s easy to remove them manually) and the logs will contain exact reason of the failure (in this case the

[jira] [Comment Edited] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15508949#comment-15508949 ] Julian Reschke edited comment on JCR-4025 at 9/21/16 7:59 AM: -- trunk:

[jira] [Updated] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-4025: Fix Version/s: 2.10.4 2.12.5 > Enable animal sniffer plugin >

[RESULT][VOTE] Require JDK7 for Oak 1.4

2016-09-21 Thread Julian Reschke
On 2016-09-19 07:54, Julian Reschke wrote: On 2016-09-16 17:16, Julian Reschke wrote: On 2016-09-16 17:11, Davide Giannella wrote: ... OK then. [ ] +1 Yes, require JDK7 for Oak 1.4 [ ] -1 No, continue to support JDK6 This majority vote is open for at least 72 hours. Best regards,

Jackrabbit-trunk - Build # 2388 - Failure

2016-09-21 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit-trunk (build #2388) Status: Failure Check console output at https://builds.apache.org/job/Jackrabbit-trunk/2388/ to view the results.

[jira] [Commented] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15508949#comment-15508949 ] Julian Reschke commented on JCR-4025: - trunk: [r1761679|http://svn.apache.org/r1761679] > Enable animal

[jira] [Resolved] (JCR-4025) Enable animal sniffer plugin

2016-09-21 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke resolved JCR-4025. - Resolution: Fixed Fix Version/s: 2.13.4 > Enable animal sniffer plugin >