Replace cluster-wide lock to itemstate-wide lock

2009-02-18 Thread defeng
Currently when I update an itemstate, I need to acquire a cluster lock (Journal.doLock()). This lock will block any update on others itemstates. I want to only lock *one* itemstate in the cluster. So I want to modify the SharedISM.update( ). (I donot use XA). Is there any side-effect? public

Re: Making Derby an optional dependency

2009-02-18 Thread Marcel Reutegger
On Mon, Feb 16, 2009 at 18:51, Jukka Zitting wrote: > I'd like to remove the compile-scope Derby > dependency from jackrabbit-core. The runnable standalone server jar > would still bundle Derby to keep things as simple as possible, but for > other deployments you'd need to explicitly add Derby. >

[jira] Updated: (JCR-1949) NullPointerException on DelegatingObservationDispatcher cause by parameter null on call : createEventStateCollection(null)

2009-02-18 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-1949: -- Attachment: JCR-1949.patch The patch seems incomplete. Here's my try at it. > NullPointerExcepti

[jira] Commented: (JCR-1975) Connection timed out IO Exceptions

2009-02-18 Thread Edgar Vonk (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674668#action_12674668 ] Edgar Vonk commented on JCR-1975: - Thanks Jukka. Is the automatic reconnect done by Jackrab

Re: Hudson build became unstable: Jackrabbit-trunk » Jackrabbit Core #366

2009-02-18 Thread Jukka Zitting
Hi, The failure was: junit.framework.AssertionFailedError: expected:<1> but was:<0> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:282) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Ass

Hudson build became unstable: Jack rabbit-trunk » Jackrabbit Core #366

2009-02-18 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/366/changes

[jira] Commented: (JCR-1985) NullPointerException in GarbageCollector.scan() if no DataStore configured

2009-02-18 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674657#action_12674657 ] Thomas Mueller commented on JCR-1985: - I saw that one of the tests first calls session.c

[jira] Updated: (JCR-1985) NullPointerException in GarbageCollector.scan() if no DataStore configured

2009-02-18 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller updated JCR-1985: Priority: Minor (was: Major) > NullPointerException in GarbageCollector.scan() if no DataStore confi

[jira] Resolved: (JCR-1985) NullPointerException in GarbageCollector.scan() if no DataStore configured

2009-02-18 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller resolved JCR-1985. - Resolution: Fixed Fix Version/s: (was: 1.5.3) 1.6.0 Committed in 7455

[jira] Commented: (JCR-1985) NullPointerException in GarbageCollector.scan() if no DataStore configured

2009-02-18 Thread Jacco van Weert (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674644#action_12674644 ] Jacco van Weert commented on JCR-1985: -- > Anyway the exception you get is not very clea

[jira] Created: (JCR-1987) Jackrabbit's lucene based query implementation does not check property constraints on the root node.

2009-02-18 Thread Manfred Baedke (JIRA)
Jackrabbit's lucene based query implementation does not check property constraints on the root node. Key: JCR-1987 URL: https://issues.apache.org/jira/browse/JCR-

[jira] Created: (JCR-1986) XPathQueryBuilder treats ordering relations in property constraints as symmetrical

2009-02-18 Thread Manfred Baedke (JIRA)
XPathQueryBuilder treats ordering relations in property constraints as symmetrical -- Key: JCR-1986 URL: https://issues.apache.org/jira/browse/JCR-1986 Project: Jackrabbi

[jira] Updated: (JCR-1985) NullPointerException in GarbageCollector.scan() if no DataStore configured

2009-02-18 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller updated JCR-1985: Summary: NullPointerException in GarbageCollector.scan() if no DataStore configured (was: NullPointe

[jira] Commented: (JCR-1985) NullPointerException GarbageCollector.scan()

2009-02-18 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674635#action_12674635 ] Thomas Mueller commented on JCR-1985: - > "programmatic" way to detect Yes. If this is nu

Re: Clustering w/ distributed cache

2009-02-18 Thread Thomas Müller
Hi, You are right, we have to serialize/deserialize objects. But that's the > price we have to pay for the clustering, is it? The problem is not only serialization, you also have to send the objects over TCP/IP (if I understand you idea correctly). Each operation (including Node.getProperty, Pr

[jira] Commented: (JCR-1985) NullPointerException GarbageCollector.scan()

2009-02-18 Thread Jacco van Weert (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674627#action_12674627 ] Jacco van Weert commented on JCR-1985: -- Hello Thomas, I looked to the repository.xml.

Re: Clustering w/ distributed cache

2009-02-18 Thread Stefan Guggisberg
On Mon, Feb 16, 2009 at 9:02 PM, defeng wrote: > > I am using Jackrabbit 1.4.4 clustering. DB for persistent manager, and NFS > for datastore. Everything works well, but since the Jackrabbit uses a > Cluster-wide lock, many times, other JCR clients need to wait for a long > time to acquire the Glo

[jira] Commented: (JCR-1985) NullPointerException GarbageCollector.scan()

2009-02-18 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674619#action_12674619 ] Thomas Mueller commented on JCR-1985: - Hi, Did you configure a data store? How does the

[jira] Created: (JCR-1985) NullPointerException GarbageCollector.scan()

2009-02-18 Thread Jacco van Weert (JIRA)
NullPointerException GarbageCollector.scan() Key: JCR-1985 URL: https://issues.apache.org/jira/browse/JCR-1985 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabb

[jira] Commented: (JCR-1605) RepositoryLock does not work on NFS sometimes

2009-02-18 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674593#action_12674593 ] Thomas Mueller commented on JCR-1605: - Committed in revision 745500 (repository-1.6.dtd c

[jira] Created: (JCR-1984) UserManagement: Limit set of properties exposed by AuthorizableImpl

2009-02-18 Thread angela (JIRA)
UserManagement: Limit set of properties exposed by AuthorizableImpl --- Key: JCR-1984 URL: https://issues.apache.org/jira/browse/JCR-1984 Project: Jackrabbit Content Repository

[jira] Commented: (JCR-1847) Path methods should throw a specific exception instead of RepositoryEx

2009-02-18 Thread Stefan Guggisberg (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674559#action_12674559 ] Stefan Guggisberg commented on JCR-1847: > the base exception was used solely inside