[jira] Resolved: (JCR-2241) Data Store: garbage collection should ignore removed items

2009-08-06 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller resolved JCR-2241. - Resolution: Fixed > Data Store: garbage collection should ignore removed items > --

[jira] Resolved: (JCR-2244) NodeDefinitionTemplateImpl.setDefaultPrimaryTypeName(null) throws exception

2009-08-06 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra resolved JCR-2244. --- Resolution: Fixed fixed. > NodeDefinitionTemplateImpl.setDefaultPrimaryTypeName(null) throws e

[jira] Created: (JCR-2244) NodeDefinitionTemplateImpl.setDefaultPrimaryTypeName(null) throws exception

2009-08-06 Thread Tobias Bocanegra (JIRA)
NodeDefinitionTemplateImpl.setDefaultPrimaryTypeName(null) throws exception --- Key: JCR-2244 URL: https://issues.apache.org/jira/browse/JCR-2244 Project: Jackrabbit Content Repos

Problem with SimpleAccessControl.setPolicy

2009-08-06 Thread arcas...@gmail.com
Hello, I'm using Jackrabbit in one of my projects and now I've came to implement the security part. After some readings I've found out that the documentation from jsr283 is the best starting point in implementing security in a Jackrabbit based project. I need to set pairs of Principal-Privilege

[jira] Updated: (JCR-2241) Data Store: garbage collection should ignore removed items

2009-08-06 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller updated JCR-2241: Description: The GCConcurrentTest fails sometimes. The problem is that the garbage collector stops if

[jira] Commented: (JCR-1456) Database connection pooling

2009-08-06 Thread Martijn Hendriks (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740083#action_12740083 ] Martijn Hendriks commented on JCR-1456: --- I've taken the liberty to take the next step:

[jira] Updated: (JCR-2238) Binary throws NullPointerException

2009-08-06 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2238: -- Attachment: JCR-2238.patch Updated patch. Removed BLOBFileValue.discard() and replaced calls to

Re: [VOTE] Release Apache Jackrabbit 2.0-alpha7

2009-08-06 Thread Julian Reschke
Jukka Zitting wrote: Hi, ... [X] +1 Release this package as Apache Jackrabbit 2.0-alpha7 BR, Julian

Re: How to do Indexing and Extraction in Background threads

2009-08-06 Thread Ajai
Hurrah!!! :jumping: This works great. :clap: Thanks a lot for the timely inputs :-) Thanks Ajai & Prem Marcel Reutegger wrote: > > the extractor timeout is set to high: > > > > your current configuration will only defer text extraction into the > background when the extraction time is mo

Re: [VOTE] Release Apache Jackrabbit 2.0-alpha7

2009-08-06 Thread Marcel Reutegger
On Thu, Aug 6, 2009 at 11:32, Jukka Zitting wrote: > Please vote on releasing this package as Apache Jackrabbit 2.0-alpha7. > The vote is open for the next 72 hours and passes if a majority of at > least three +1 Jackrabbit PMC votes are cast. +1 Release this package as Apache Jackrabbit 2.0-alpha

[jira] Updated: (JCR-2240) Binary value may leave temp file behind

2009-08-06 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2240: -- Priority: Minor (was: Major) > in which case i wouldn't qualify this issue as 'major bug' but ra

[jira] Commented: (JCR-2240) Binary value may leave temp file behind

2009-08-06 Thread Stefan Guggisberg (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740021#action_12740021 ] Stefan Guggisberg commented on JCR-2240: > I guess 'never deleted' is not correct. Th

Re: [VOTE] Release Apache Jackrabbit 2.0-alpha7

2009-08-06 Thread Tobias Bocanegra
- downloaded source - compiled and run tests +1 Release this package as Apache Jackrabbit 2.0-alpha7 On Thu, Aug 6, 2009 at 11:32 AM, Jukka Zitting wrote: > Hi, > > As mentioned yesterday, here's the candidate for a new Jackrabbit 2.0 > alpha release: > >    http://people.apache.org/~jukka/jackra

Re: JCR 2.0 implementation progress

2009-08-06 Thread Jukka Zitting
Hi, On Thu, Aug 6, 2009 at 8:52 AM, Angela Schreiber wrote: >> Could we resolve the issue as fixed for the RI and open a new issue >> for any further changes we need before the Jackrabbit 2.0 release? > > sure, i can do that. i simply don't want to have the final 2.0 > release to be pushed out bef

Re: Build failed in Hudson: Jackrabbit-1.x-java14 #217

2009-08-06 Thread Jukka Zitting
Hi, On Thu, Aug 6, 2009 at 12:55 PM, Apache Hudson Server wrote: > See > http://hudson.zones.apache.org/hudson/job/Jackrabbit-1.x-java14/217/changes Oops, I'll fix that. BR, Jukka Zitting

[jira] Updated: (JCR-2218) NodeEntryImpl.getWorkspaceId() very inefficient

2009-08-06 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig updated JCR-2218: --- Attachment: JCR-2218.patch Proposed patch implementing the approach from my last comment. While this s

Build failed in Hudson: Jackrabbit-1.x-java14 #217

2009-08-06 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-1.x-java14/217/changes Changes: [jukka] 1.x: Updated release notes and readme. [jukka] JCR-2161: Remove org.apache.jackrabbit.api.JackrabbitNodeTypeManager in 2.0 and deprecate in 1.6 Deprecate JackrabbitNodeTypeManager in the 1.x branch

[jira] Commented: (JCR-2218) NodeEntryImpl.getWorkspaceId() very inefficient

2009-08-06 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739985#action_12739985 ] Michael Dürig commented on JCR-2218: Another alternative approach (due to Angela): Instea

[jira] Resolved: (JCR-1712) JSR 283: JCR Names

2009-08-06 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-1712. - Resolution: Fixed Assignee: angela please reopen if something is missing regarding treatment of expanded name

[jira] Resolved: (JCR-1588) JSR 283: Access Control

2009-08-06 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-1588. - Resolution: Fixed jsr 283 api is covered. i will open separate issues for the implementation specific stuff that wi

[jira] Created: (JCR-2243) Automatic upgrade to 2.0

2009-08-06 Thread Jukka Zitting (JIRA)
Automatic upgrade to 2.0 Key: JCR-2243 URL: https://issues.apache.org/jira/browse/JCR-2243 Project: Jackrabbit Content Repository Issue Type: New Feature Components: jackrabbit-core Reporter: Ju

Re: JCR to SPI performance improvment

2009-08-06 Thread Angela Schreiber
sorel wrote: Thanks for the answer, I'm not sure to understand what you mean. Do you suggest that I load all childs when the getItemInfos() is made ? you don't have to load all the children. getItemInfos may return an arbitrary amount of itemInfos. you may even apply your specific logic... exa

Re: JCR to SPI performance improvment

2009-08-06 Thread sorel
Thanks for the answer, I'm not sure to understand what you mean. Do you suggest that I load all childs when the getItemInfos() is made ? I've made a quick test, I see that he iterate on all items given by the getItemInfos() before iterating over the childs iterator. this is not a solution sin

[jira] Commented: (JCR-2240) Binary value may leave temp file behind

2009-08-06 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739970#action_12739970 ] Marcel Reutegger commented on JCR-2240: --- > does it depend on a specific ValueFactory im

[jira] Updated: (JCR-2238) Binary throws NullPointerException

2009-08-06 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2238: -- Attachment: JCR-2238.patch Good point. I've updated the patch accordingly. Though, I think the R

[VOTE] Release Apache Jackrabbit 2.0-alpha7

2009-08-06 Thread Jukka Zitting
Hi, As mentioned yesterday, here's the candidate for a new Jackrabbit 2.0 alpha release: http://people.apache.org/~jukka/jackrabbit/2.0-alpha7/ See the RELEASE-NOTES.txt file (also included at the end of this message) for details about this release. The release candidate is a jar archive of

Re: JCR to SPI performance improvment

2009-08-06 Thread Michael Dürig
An instanceof test on the childInfo object to see if it's already a nodeInfo could avoid the call to getNodeInfo (and all name resolver operations, path parsing and so on). Johann, While this approach might work, the preferred way to achieve this kind of batch reading is to implement Repos

JCR to SPI performance improvment

2009-08-06 Thread sorel
Hello, While working with the JCRtoSPI module. I seens a place where an instanceof check could lead to some performance improvements. for exemple, when you explore a node : public static void explore(Node n) throws Exception{ //to some stuff here NodeIterator ite = n.getNodes();

Re: How to do Indexing and Extraction in Background threads

2009-08-06 Thread Marcel Reutegger
the extractor timeout is set to high: your current configuration will only defer text extraction into the background when the extraction time is more than 100'000ms you should rather use the default value (remove the parameter from the configuration), which is 100ms. please also make sure you