property jndi.name not taken into account for jndi look up at RepositoryAccessServlet.getRepositoryByJNDI(). Possible bug?

2009-10-07 Thread Patricio Echagüe
Hi All, I made webdav ran by connecting with the repository via JNDI. But, trying to move all my parameters from my web.xml to my bootstrap.properties, I saw the following. Jackrabbit -webapp-1.6.0 in bootstrap.properties there is a prop named: jndi.name in

Exposing(binding) a repository object through JNDI in Tomcat 6.

2009-10-15 Thread Patricio Echagüe
Hi all, I have a problem I cannot sort out. I deployed the jackrabbit webapp in tomcat with MySQL according to the steps in the wiki. (so far so good). This webapp has a servlet called: RepositoryStartupServlet which I'm using to bind the repository (created by it) to JNDI so that another webapp

Re: Exposing(binding) a repository object through JNDI in Tomcat 6.

2009-10-15 Thread Patricio Echagüe
org.apache.jackrabbit.jcr2spi.RepositoryImpl.factory=no factory here.. org.apache.jackrabbit.jcr2spi.RepositoryImpl.class=org.apache.jackrabbit.core.config.RepositoryConfig / Any clue? 2009/10/15 Patricio Echagüe patric...@gmail.com Hi all, I have a problem I cannot sort out. I deployed the jackrabbit webapp in tomcat

Strategy to register new node types.

2009-11-18 Thread Patricio Echagüe
Hi all, I did a research on the email list to see if someone has run into this. I'm trying to register a CND file a created. Jackrabbit web page suggests the following [1]. My question is, where should I place that piece of code? Since it receives a session, i figure that the CND is attached to

Re: Strategy to register new node types.

2009-11-19 Thread Patricio Echagüe
Thanks guys for all your answers. On Nov 19, 2009 5:49 AM, Guo Du mrdu...@gmail.com wrote: On Thu, Nov 19, 2009 at 12:59 PM, Stefan Guggisberg stefan.guggisb...@gmail.com wrote: be aware ... Thanks for the reminder. Any global wide repository configuration changes have high risk to corrupt

Unlocking a node, locked by a jackrabbit instance that crashed (cluster of two instances)

2009-12-10 Thread Patricio Echagüe
Hi all, I'm running some test cases to figure out how to sort out this issues, with no success so far. Scenario: I have a cluster of two jackrabbit (2.0) instances. Both using the same MySql DB and BundlePersistenceManager. JRA (Jackrabbit A) locks effectively a node with path /nodeLockedFromA

Re: Unlocking a node, locked by a jackrabbit instance that crashed (cluster of two instances)

2009-12-11 Thread Patricio Echagüe
Would anyone be able to help me with this issue? 2009/12/10 Patricio Echagüe patric...@gmail.com Hi all, I'm running some test cases to figure out how to sort out this issues, with no success so far. Scenario: I have a cluster of two jackrabbit (2.0) instances. Both using the same MySql DB

Re: Invalid item state while adding nodes on different sessions on multi thread environment

2010-01-20 Thread Patricio Echagüe
Hi guys, I'm running into the same problem. Has there been any update on this? I looked at Jira and there is no comments on this bug yet. Regards, Patricio On Wed, Dec 9, 2009 at 1:30 AM, Luiz Fernando Teston feu.tes...@caravelatech.com wrote: Thomas, I created the JIRA issue JCR-2428

Re: repo browser

2010-02-15 Thread Patricio Echagüe
Do you guys have any recommendations for Jackrabbit 2.0 (JSR 283) ? The explorers that are mentioned in those links throw an exception complaining about 2.0 dtd when trying to open up the repository.xml On Mon, Feb 8, 2010 at 12:22 PM, Guo Du mrdu...@gmail.com wrote: 2010/2/8 Fabián Mandelbaum

Re: repo browser

2010-02-16 Thread Patricio Echagüe
Hey Rakesh, thank you so much. It works great. On Mon, Feb 15, 2010 at 1:06 PM, Rakesh Vidyadharan rak...@sptci.comwrote: On 15 Feb 2010, at 14:00, Patricio Echagüe wrote: Do you guys have any recommendations for Jackrabbit 2.0 (JSR 283) ? The explorers that are mentioned in those links

Re: Casandara and Jackrabbit

2010-02-17 Thread Patricio Echagüe
Hi, I have written a Cassandra Persistence Manager but as Jukka mentioned, there are some issues to resolve. The other problem I see is that Cassandra does not support transaction across multiple keys. The JR PM assumes that the change logs are saved all or none of them. That represents another

Re: Casandara and Jackrabbit

2010-02-18 Thread Patricio Echagüe
to get to a better approach is there is a way. Regards Patricio On Thu, Feb 18, 2010 at 1:14 AM, Ian Boston i...@tfd.co.uk wrote: On 18 Feb 2010, at 06:39, Patricio Echagüe wrote: Hi, I have written a Cassandra Persistence Manager but as Jukka mentioned, there are some issues to resolve

Re: ItemNotFoundException: failed to build path

2010-02-19 Thread Patricio Echagüe
Sunil, I'm having the same error but in my case I'm using my own persistence Manager against Cassandra. After debugging this issue, I found out that it has to do with HashMapIndex which uses a file to map properties and names at the time of serialize them. (bundle approach). it generates a file

Re: ItemNotFoundException: failed to build path

2010-02-20 Thread Patricio Echagüe
which also inherits from StringIndex as HashMapNameIndex does. I'll try to post the code sometime next week. On Fri, Feb 19, 2010 at 11:12 AM, Alexander Klimetschek aklim...@day.comwrote: 2010/2/19 Patricio Echagüe patric...@gmail.com: Sunil, I'm having the same error but in my case I'm using

Re: Concurrent Writes in Jackrabbit

2010-03-13 Thread Patricio Echagüe
Hi Dan, I saw this issue before. I have read this too but in my test cases it is always throwing the same exception: InvalidItemState. My understanding was that a merge should happens if there is no same-name siblings. My 2 cents On Fri, Mar 12, 2010 at 1:17 AM, Dan Diephouse

Re: Performance question when clustering

2010-06-09 Thread Patricio Echagüe
It might be a late reply but we i saw at least in JR 2.0 is that when session.save() happens it also forces a sync first so that the JR node gets up-to-date first. We also see the degradation in performance the more nodes we put in the cluster. The global lock forces to make every session.save()

Threads blocked in org.apache.jackrabbit.core.id.SeededSecureRandom

2010-10-06 Thread Patricio Echagüe
Hi everyone, has anyone seen this behavior too? I ran a couple of jstacks and after running a diff between different ones taken at 5 secs interval, we've seen that this stack: We have more than 50 threads waiting here. SeededSecureRandom prio=10 tid=0x08142800 nid=0x566b waiting for

Re: Threads blocked in org.apache.jackrabbit.core.id.SeededSecureRandom

2010-10-07 Thread Patricio Echagüe
Thanks for the response. They are all different thread ids. What would it be the best way to avoid so many threads getting blocked there? On Wed, Oct 6, 2010 at 11:44 PM, Thomas Müller thomas.muel...@day.comwrote: Hi, We have more than 50 threads waiting here. Is it the same thread

Re: Threads blocked in org.apache.jackrabbit.core.id.SeededSecureRandom

2010-10-07 Thread Patricio Echagüe
suggestions? 2010/10/7 Patricio Echagüe patric...@gmail.com Thanks for the response. They are all different thread ids. What would it be the best way to avoid so many threads getting blocked there? On Wed, Oct 6, 2010 at 11:44 PM, Thomas Müller thomas.muel...@day.comwrote: Hi, We have

Re: Threads blocked in org.apache.jackrabbit.core.id.SeededSecureRandom

2010-10-20 Thread Patricio Echagüe
Thanks Thomas. On Wed, Oct 20, 2010 at 4:27 AM, Thomas Müller thomas.muel...@day.comwrote: Hi, This problem is fixed now in the trunk, see https://issues.apache.org/jira/browse/JCR-2795 Regards, Thomas -- Patricio.-