[jira] Commented: (JCR-2450) UserManager inconsistency

2010-03-11 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12843973#action_12843973 ] Michael Stämpfli commented on JCR-2450: --- I created a small package, with which I was

[jira] Updated: (JCR-2450) UserManager inconsistency

2010-03-11 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stämpfli updated JCR-2450: -- Attachment: jackrabbit-test.zip Use mvn package to generate the WAR file to reproduce the

[jira] Resolved: (JCR-2548) Node#unlock sometimes fails with LockException: Precondition Failed

2010-03-11 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-2548. - Resolution: Cannot Reproduce Fix Version/s: 2.1.0 Assignee: angela could not reproduce this

[jira] Commented: (JCR-2450) UserManager inconsistency

2010-03-11 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844007#action_12844007 ] Felix Meschberger commented on JCR-2450: I just stumbled upon a strange thing in the

UserManager API strangeness

2010-03-11 Thread Felix Meschberger
Hi, Forgive me if this has been discussed before (yes, I know I should RTFM and list archives). I see the UserManager interface has an autoSave(boolean) method, which must be called to have the user manager persist any created users and groups immediately after creation. The setup can also be

UserManager autosace issue

2010-03-11 Thread Felix Meschberger
Hi, Consier a UserManager not set to autosave mode. I do: Group g = userManager.createGroup(groupPrincipal); g.addMemmber(someUser); This results in an InvalidItemStateException: javax.jcr.InvalidItemStateException: c0a1a731-9fea-34fa-aa78-d224bd58a981 has been modified externally

UserManager API strangeness (II)

2010-03-11 Thread Felix Meschberger
Hi another thing striked me looking at the UserManager API: there are 4 create methods: createGroup(Principal); createGroup(Principal, String); createUser(String userID, String password, Principal principal, String intermediatePath); createUser(String userID,

[jira] Commented: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread Robert Sauer (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844010#action_12844010 ] Robert Sauer commented on JCR-2554: --- Essentially yes. I had breakpoint on all critical

[jira] Issue Comment Edited: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread Robert Sauer (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844010#action_12844010 ] Robert Sauer edited comment on JCR-2554 at 3/11/10 10:53 AM: -

Re: UserManager autosace issue

2010-03-11 Thread Guo Du
On Thu, Mar 11, 2010 at 10:51 AM, Felix Meschberger fmesc...@gmail.com wrote: I assume this is because the addMember method calls Item.save() while the parent node has not been saved yet. Is this a known issue worth following up to ? It could be a bug as javax.jcr. Item.save() is @deprecated.

Re: UserManager API strangeness (II)

2010-03-11 Thread Angela Schreiber
Felix Meschberger wrote: Hi another thing striked me looking at the UserManager API: there are 4 create methods: createGroup(Principal); createGroup(Principal, String); createUser(String userID, String password, Principal principal, String intermediatePath);

Re: UserManager API strangeness

2010-03-11 Thread Angela Schreiber
hi What strikes me is, that to actually persist changes made by the UserManager, the Session.save() method must be called. IMHO for a proper level of alignment, the UserManager should probably be extended with save() and rollback() methods. i don't think this is required. JSR 283 defines

[jira] Updated: (JCR-2433) NPE when copying nodes with Workspace.copy()

2010-03-11 Thread Sascha Theves (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Theves updated JCR-2433: --- Priority: Blocker (was: Major) NPE when copying nodes with Workspace.copy()

Re: UserManager autosace issue

2010-03-11 Thread Angela Schreiber
hi felix Consier a UserManager not set to autosave mode. I do: Group g = userManager.createGroup(groupPrincipal) g.addMemmber(someUser); This results in an InvalidItemStateException: javax.jcr.InvalidItemStateException: c0a1a731-9fea-34fa-aa78-d224bd58a981 has been modified externally

[jira] Commented: (JCR-2450) UserManager inconsistency

2010-03-11 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844028#action_12844028 ] Michael Stämpfli commented on JCR-2450: --- I saw that too but if you look at the

Re: UserManager API strangeness

2010-03-11 Thread Felix Meschberger
Hi, On 11.03.2010 12:14, Angela Schreiber wrote: hi What strikes me is, that to actually persist changes made by the UserManager, the Session.save() method must be called. IMHO for a proper level of alignment, the UserManager should probably be extended with save() and rollback() methods.

[jira] Updated: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Köll updated JCR-2554: Attachment: Xid.patch Can you please test this patch in your environment ? thanks Deadlock inside

[jira] Updated: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Köll updated JCR-2554: Status: Patch Available (was: Open) Deadlock inside XASession on Weblogic

[jira] Created: (JCR-2560) spi2dav(ex): Item.isSame() may fail due to incomplete identifier information

2010-03-11 Thread angela (JIRA)
spi2dav(ex): Item.isSame() may fail due to incomplete identifier information Key: JCR-2560 URL: https://issues.apache.org/jira/browse/JCR-2560 Project: Jackrabbit Content

[jira] Updated: (JCR-2560) spi2dav(ex): Item.isSame() may fail due to incomplete identifier information

2010-03-11 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-2560: Component/s: jackrabbit-spi2dav jackrabbit-jcr-server Affects Version/s: 2.0.0

[jira] Commented: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844051#action_12844051 ] Claus Köll commented on JCR-2554: - Found one more problem .. i will investigate and let you

[jira] Commented: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread Robert Sauer (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844058#action_12844058 ] Robert Sauer commented on JCR-2554: --- Ok, I was just about to verify but will wait then.

[jira] Created: (JCR-2561) SQL2 query - supplying column selector fails with NPE on getColumnName()

2010-03-11 Thread James Gadbury (JIRA)
SQL2 query - supplying column selector fails with NPE on getColumnName() Key: JCR-2561 URL: https://issues.apache.org/jira/browse/JCR-2561 Project: Jackrabbit Content Repository

[jira] Created: (JCR-2562) spi2davex: uri-lookup not cleared after reordering referenceable same-name-siblings

2010-03-11 Thread angela (JIRA)
spi2davex: uri-lookup not cleared after reordering referenceable same-name-siblings --- Key: JCR-2562 URL: https://issues.apache.org/jira/browse/JCR-2562 Project:

[jira] Resolved: (JCR-2562) spi2davex: uri-lookup not cleared after reordering referenceable same-name-siblings

2010-03-11 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-2562. - Resolution: Fixed spi2davex: uri-lookup not cleared after reordering referenceable same-name-siblings

[jira] Created: (JCR-2563) Add UserManager.createGroup(String groupID) method

2010-03-11 Thread Felix Meschberger (JIRA)
Add UserManager.createGroup(String groupID) method -- Key: JCR-2563 URL: https://issues.apache.org/jira/browse/JCR-2563 Project: Jackrabbit Content Repository Issue Type: New Feature

[jira] Updated: (JCR-2563) Add UserManager.createGroup(String groupID) method

2010-03-11 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated JCR-2563: --- Attachment: JCR-2563.patch Patch providing the the createGroup(String) method: *

Re: UserManager API strangeness (II)

2010-03-11 Thread Felix Meschberger
I created JCR-2563 [1] with a proposed patch adding said createGroup(String) method. Anyway opposed to me applying this patch ? Regards Felix [1] https://issues.apache.org/jira/browse/JCR-2563 On 11.03.2010 12:38, Felix Meschberger wrote: Hi, On 11.03.2010 12:06, Angela Schreiber wrote:

[jira] Assigned: (JCR-2561) SQL2 query - supplying column selector fails with NPE on getColumnName()

2010-03-11 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller reassigned JCR-2561: --- Assignee: Thomas Mueller SQL2 query - supplying column selector fails with NPE on

[jira] Created: (JCR-2564) SQL2 query: QOMFormatter create incorrect NOT conditions

2010-03-11 Thread Thomas Mueller (JIRA)
SQL2 query: QOMFormatter create incorrect NOT conditions Key: JCR-2564 URL: https://issues.apache.org/jira/browse/JCR-2564 Project: Jackrabbit Content Repository Issue Type: Bug

[jira] Updated: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Köll updated JCR-2554: Attachment: Xid_v2.patch Now at first the Xid's will be checked and then the default thread bound logic

[jira] Resolved: (JCR-2564) SQL2 query: QOMFormatter create incorrect NOT conditions

2010-03-11 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller resolved JCR-2564. - Resolution: Fixed Fix Version/s: 2.0.1 SQL2 query: QOMFormatter create incorrect NOT

AW: [jira] Updated: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread Robert.Sauer
With Xid_v2 applied It's still hitting the error condition in DefaultISMLocking:136. Concurent threads are now deadlocking in DefaultISMLocking:67. I've attached a screenshot detailing state when the initial error occurs. -Ursprüngliche Nachricht- Von: Claus Köll (JIRA)

[jira] Commented: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread Robert Sauer (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844109#action_12844109 ] Robert Sauer commented on JCR-2554: --- With Xid_v2 applied It's still hitting the error

[jira] Updated: (JCR-2554) Deadlock inside XASession on Weblogic

2010-03-11 Thread Robert Sauer (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Sauer updated JCR-2554: -- Attachment: Xid_v2 + SynchronizedRef for markedXid.jpg Xid_v2 + SynchronizedRef for markedXid. Still the

[jira] Updated: (JCR-2099) JSR 283 Shareable Nodes

2010-03-11 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-2099: Component/s: jackrabbit-spi2jcr jackrabbit-spi2dav jackrabbit-spi

[jira] Created: (JCR-2566) spi2dav: too many warnings related to change polling (NPE and similar)

2010-03-11 Thread angela (JIRA)
spi2dav: too many warnings related to change polling (NPE and similar) -- Key: JCR-2566 URL: https://issues.apache.org/jira/browse/JCR-2566 Project: Jackrabbit Content Repository

[jira] Resolved: (JCR-2536) spi2davex: InvalidItemStateException not properly extracted from ambiguous response error

2010-03-11 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-2536. - Resolution: Fixed Fix Version/s: 2.1.0 Assignee: angela spi2davex: InvalidItemStateException not

[jira] Resolved: (JCR-2565) spi2dav: Overwrite header T specified for MOVE and COPY causes failure if some API tests

2010-03-11 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-2565. - Resolution: Fixed Fix Version/s: 2.1.0 Assignee: angela changed overwrite header to F and adjusted