Re: Lucene JCR Index

2006-01-25 Thread Nicolas Belisle
. If it doesn't fit in your strategy just ignore it as a random wild thought. kind regards Philipp Nicolas Belisle wrote: Hi, I've contributed a JCR Directory implementation for Lucene. What it does: allows the storage of indexes in a JCR repository

Re: XML schema to node types

2006-01-25 Thread Nicolas Belisle
On 10/31/05, Nicolas Belisle [EMAIL PROTECTED] wrote: Great news ! I'm looking forward to this. Many thanks, Nick Hi Nicholas, Actually, I wrote something that does this. I haven't gotten around to completely finishing it yet, but I will take your mail

Lucene JCR Index

2006-01-11 Thread Nicolas Belisle
Hi, I've contributed a JCR Directory implementation for Lucene. What it does: allows the storage of indexes in a JCR repository Why: single place for content and index storage, transaction support (if the JCR implementation support them), Performance: JCR does not support random access (only

Removing a version

2005-11-18 Thread Nicolas Belisle
Hi, I'm trying to remove a version of a Node, but the VersionHistory.removeVersion() method throws : javax.jcr.ReferentialIntegrityException: Unable to remove version. At least once referenced.. Secton 8.2.2.10 (Removal of Versions) of the specification indicates that the version graph

Re: Removing a version

2005-11-18 Thread Nicolas Belisle
it throws ReferentialIntegrityException because you are trying to remove the base version which is referenced by the versioned node. see http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/3746 br, edgar On 11/18/05, Nicolas Belisle [EMAIL PROTECTED] wrote: Hi, I'm trying to remove

[jira] Created: (JCR-272) Removal of versions throws javax.jcr.ReferentialIntegrityException

2005-11-18 Thread Nicolas Belisle (JIRA)
: 1.0 Environment: CVS build (2005-11-16) and DerbyPersistenceManager Reporter: Nicolas Belisle From the following thread : http://www.mail-archive.com/jackrabbit-dev%40incubator.apache.org/msg03483.html When trying to remove a version of a Node the VersionHistory.removeVersion

XML schema to node types

2005-10-31 Thread Nicolas Belisle
Hi, I'm currently investigating ways to convert XML schemas to Jackrabbit node types declaration. This way, most metadata formats (Dublin Core, MARC21, etc.) could be integrated easily in a Jackrabbit repository. Anyone has done something in that direction and would like to its share ideas

Re: XML schema to node types

2005-10-31 Thread Nicolas Belisle
/05, Nicolas Belisle [EMAIL PROTECTED] wrote: Hi, I'm currently investigating ways to convert XML schemas to Jackrabbit node types declaration. This way, most metadata formats (Dublin Core, MARC21, etc.) could be integrated easily in a Jackrabbit repository. Anyone has done something

Re: Problems with concurrent sessions

2005-07-21 Thread Nicolas Belisle
tryLock() attempts fail. not very likely but theoretically possible... regards marcel Nicolas Belisle wrote: Hi, Thanks again for your comments. Here's the second version of my template class. It should resolves the concurrency issues you mentionned : package app; import javax.jcr.Credentials

Re: Giving a name to the workspace ?

2005-07-18 Thread Nicolas Belisle
Hi, Please, read the following thread : http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/2660 = WorkspaceImpl.createWorkspace() Regards, Nicolas Le 09:49 2005-07-18, vous avez écrit: Hi, I would like to create a workspace in my repository with a name (soacms in this case). I

Re: Problems with concurrent sessions

2005-07-15 Thread Nicolas Belisle
problem can arise when isLocked() returns true, between that call and the listener registration the node might get unlocked. so, you don't get an event for that and keep waiting. regards marcel Nicolas Belisle wrote: I just thought about something like this (Note that I've only done a few tests

Re: Problems with concurrent sessions

2005-07-14 Thread Nicolas Belisle
that feature should be implemented in one place or documented in a worked example... Regards, Nicolas Le 12:34 2005-07-08, vous avez écrit: Hi Nicolas, Nicolas Belisle wrote: no, but you may use locks to further control isolation level. There seems to be at least two problems

Re: Problems with concurrent sessions

2005-07-08 Thread Nicolas Belisle
/logout) to prevent throwing exceptions. A queue would hold pending operations. However, we would have to be careful about long lived sessions... What do you think ? Regards, Nicolas Le 04:06 2005-07-08, vous avez écrit: Hi Nicolas, Nicolas Belisle wrote: What is the session isolation level [ref

Problems with concurrent sessions

2005-07-06 Thread Nicolas Belisle
Hi, I'm a Jackrabbit newbie. I'm doing some tests with the tool and I'm having problem with concurrent sessions. I have joined my (simple) test class (JCRTest) and the exception I get from running it. Anyone had similar problems ? Regards, Nicolas --The exception report:

Re: How do I create more workspaces

2005-07-06 Thread Nicolas Belisle
Hi Richard, I would suggest WorkspaceImpl#createWorkspace(), since this method is public rather than protected (SessionImpl#createWorkspace()). Hope it helps, Nicolas Le 13:53 2005-07-06, vous avez écrit: Apologies if this is a really dumb question but how can I create multiple workspaces

Re: Problems with concurrent sessions

2005-07-06 Thread Nicolas Belisle
the exception you get (which is similar to ConcurrentModificationException thrown by standard SDK collections/iterators). Oliver Nicolas Belisle wrote: Hi, I'm a Jackrabbit newbie. I'm doing some tests with the tool and I'm having problem with concurrent sessions. I have joined my (simple