System.getSecurityManager(); is null

2009-07-13 Thread ndesk1900
Hello all, I've written some code that connects to the repository, loads an image (using ImageIO.read()) and i wish to store that image in the JCR. The problem is; as soon as i make a call to ImageIO.read() i am thrown an exception; reason for the exception is [SecurityManager security = System.

Build failed in Hudson: Jackra bbit-spi » SPI Test Client #162

2009-07-13 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-spi/org.apache.jackrabbit$jackrabbit-test-client/162/ -- [INFO] [INFO] Building SPI Test Client [INFO]task-segment: [clean,

Build failed in Hudson: Jackra bbit-spi » SPI Test Client #161

2009-07-13 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-spi/org.apache.jackrabbit$jackrabbit-test-client/161/ -- [INFO] [INFO] Building SPI Test Client [INFO]task-segment: [clean,

[jira] Updated: (JCR-2196) Add cause to ItemStateException in BundleDbPersistenceManager.store()

2009-07-13 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2196: --- Fix Version/s: 1.6.0 Merged to the 1.x branch in revision 793623. > Add cause to ItemStateException in

Re: Using Eclipse for Jackrabbit development (Was: Is JCR-1972 going to be included?)

2009-07-13 Thread Alexander Klimetschek
On Mon, Jul 13, 2009 at 5:06 PM, Paco Avila wrote: > So using m2eclipse is the preferred way to deal with jackrabbit (subversion) > and eclipse. If I use m2eclipse is necessary to run "mvn eclipse:eclipse" ? No. The "mvn eclipse:eclipse" way creates a normal Eclipse java project from the pom(s) th

Re: Using Eclipse for Jackrabbit development (Was: Is JCR-1972 going to be included?)

2009-07-13 Thread Guo Du
On Mon, Jul 13, 2009 at 4:06 PM, Paco Avila wrote: > So using m2eclipse is the preferred way to deal with jackrabbit (subversion) Just personal preference, both tools works WELL. > and eclipse. If I use m2eclipse is necessary to run "mvn eclipse:eclipse" ? No necessary to run this command any more

Build failed in Hudson: Jackra bbit-spi » SPI Test Client #160

2009-07-13 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-spi/org.apache.jackrabbit$jackrabbit-test-client/160/ -- [INFO] [INFO] Building SPI Test Client [INFO]task-segment: [clean,

[jira] Updated: (JCR-2194) EventImpl should implement toString

2009-07-13 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2194: --- Fix Version/s: 1.6.0 Merged to the 1.x branch in revision 793614. > EventImpl should implement toStrin

Re: [VOTE] Release Apache Jackrabbit 2.0-alpha4

2009-07-13 Thread Jukka Zitting
Hi, On Thu, Jul 9, 2009 at 5:45 PM, Jukka Zitting wrote: > Please vote on releasing this package as Apache Jackrabbit 2.0-alpha4. The vote passes as follows: +1 Dominique Pfister +1 Jukka Zitting +1 Julian Reschke Thanks for voting! I'll push the release out. BR, Jukka Zitting

[jira] Updated: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

2009-07-13 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-2208: Issue Type: Sub-task (was: Task) Parent: JCR-1104 > update tests so that both Query.XPATH an

[jira] Created: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

2009-07-13 Thread Julian Reschke (JIRA)
update tests so that both Query.XPATH and Query:SQL are treated as optional features Key: JCR-2208 URL: https://issues.apache.org/jira/browse/JCR-2208 Project: Jackr

Re: Using Eclipse for Jackrabbit development (Was: Is JCR-1972 going to be included?)

2009-07-13 Thread Paco Avila
So using m2eclipse is the preferred way to deal with jackrabbit (subversion) and eclipse. If I use m2eclipse is necessary to run "mvn eclipse:eclipse" ? I'm not sure of this. Actually I'm not using the eclipse plugin so working in the old-fashioned way, but it is working fine (more or less) On Mo

[jira] Commented: (JCR-1972) Preserving UUID and document version history on repository migration

2009-07-13 Thread Paco Avila (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730372#action_12730372 ] Paco Avila commented on JCR-1972: - I've updated the patch and also added two JUnit test (Chec

[jira] Updated: (JCR-1972) Preserving UUID and document version history on repository migration

2009-07-13 Thread Paco Avila (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paco Avila updated JCR-1972: Comment: was deleted (was: In 1.x branch, the class org.apache.jackrabbit.core.NodeImpl.java is this: public

[jira] Updated: (JCR-1972) Preserving UUID and document version history on repository migration

2009-07-13 Thread Paco Avila (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paco Avila updated JCR-1972: Attachment: JCR-1972_1.x.patch Updated patch for the 1.x branch > Preserving UUID and document version histo

Re: Per-repository thread pool in Jackrabbit

2009-07-13 Thread Julian Sedding
Hello Since Java 5 there is java.util.concurrent, which provides a ScheduledThreadPoolExecutor[1]. Maybe this suits the requirements. And it does not introduce another dependency. Regards Julian [1] http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledThreadPoolExecutor.html

Re: Per-repository thread pool in Jackrabbit

2009-07-13 Thread Felix Meschberger
Hi, Marcel Reutegger schrieb: > Hi, > > 2009/7/12 Jukka Zitting : >> Hi, >> >> 2009/7/8 Marcel Reutegger : >>> - paralleled execution of some work. this is primarily to make use of >>> multi-core processors. execution should be distributed over and >>> executed by N threads which is a factor of t

[jira] Resolved: (JCR-2047) Test failure: org.apache.jackrabbit.test.TestAll

2009-07-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-2047. --- Resolution: Fixed Fix Version/s: 2.0.0 Two issues likely caused this occasional failures

[jira] Commented: (JCR-2205) Occasional query test failures in spi2jcr and core

2009-07-13 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730327#action_12730327 ] Jukka Zitting commented on JCR-2205: Yep, duplicate. > Occasional query test failures in

[jira] Updated: (JCR-2047) Test failure: org.apache.jackrabbit.test.TestAll

2009-07-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2047: -- Component/s: jackrabbit-core Also happens in jackrabbit-core > Test failure: org.apache.jackrabb

[jira] Resolved: (JCR-2205) Occasional query test failures in spi2jcr and core

2009-07-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-2205. --- Resolution: Duplicate I guess that's even a duplicate. > Occasional query test failures in spi

Re: Using Eclipse for Jackrabbit development (Was: Is JCR-1972 going to be included?)

2009-07-13 Thread Guo Du
The article should still works, because it follow Michael's instruction. Just noticed it's quite old: August 15, 2007. I did a try for m2eclipse recently and it give much better experience than it's early version. It has a GUI to manage your pom (You don't need to check the pom model manual any mo

[jira] Updated: (JCR-2085) test case (TCK) maintenance for JCR 2.0

2009-07-13 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated JCR-2085: Attachment: apicoverage.html API coverage as of July 13: 488/514 = ~94% > test case (TCK) maintenanc

Re: Using Eclipse for Jackrabbit development (Was: Is JCR-1972 going to be included?)

2009-07-13 Thread Michael Dürig
I've some problems developing with jackrabbit in Eclipse. Where can I find some info about this? There are many ways to do this, but I'm pretty happy with the m2eclipse plugin from http://m2eclipse.sonatype.org/. The plugin installs cleanly from the update site at http://m2eclipse.sonatype.org/

Using Eclipse for Jackrabbit development (Was: Is JCR-1972 going to be included?)

2009-07-13 Thread Jukka Zitting
Hi, On Mon, Jul 13, 2009 at 1:03 PM, Paco Avila wrote: > I've some problems developing with jackrabbit in Eclipse. Where can I find > some info about this? There are many ways to do this, but I'm pretty happy with the m2eclipse plugin from http://m2eclipse.sonatype.org/. The plugin installs clea

[jira] Commented: (JCR-1972) Preserving UUID and document version history on repository migration

2009-07-13 Thread Paco Avila (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730304#action_12730304 ] Paco Avila commented on JCR-1972: - In 1.x branch, the class org.apache.jackrabbit.core.NodeIm

Re: Is JCR-1972 going to be included?

2009-07-13 Thread Paco Avila
This article is very clear about it: http://www.jroller.com/cdaniluk/entry/setting_up_an_eclipse_multi I will try this instructions. On Mon, Jul 13, 2009 at 1:03 PM, Paco Avila wrote: > I've some problems developing with jackrabbit in Eclipse. Where can I find > some info about this? The "prob

[jira] Updated: (JCR-1736) Expose BootstrapConfig in Servlets

2009-07-13 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-1736: --- Resolution: Fixed Fix Version/s: 1.6.0 Status: Resolved (was: Patch Available) I app

Re: Is JCR-1972 going to be included?

2009-07-13 Thread Paco Avila
I've some problems developing with jackrabbit in Eclipse. Where can I find some info about this? The "problem" is due maven2 modules and Eclipse project mapping. I have spend some time searching in Google with little luck. On Fri, Jul 10, 2009 at 4:23 PM, Jukka Zitting wrote: > Hi, > > On Fri, Ju

[jira] Resolved: (JCR-2201) Implement QueryResult.getSelectorNames()

2009-07-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-2201. --- Resolution: Fixed Fix Version/s: 2.0.0 Implemented in revision: 793507 > Implement Quer

[jira] Resolved: (JCR-2200) Implement Query.getBindVariableNames()

2009-07-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-2200. --- Resolution: Fixed Fix Version/s: 2.0.0 Implemented in revision: 793484 > Implement Quer

Re: node type nt:file

2009-07-13 Thread Julian Reschke
Tobias Bocanegra wrote: hi, no, the jcr:content node is not created automatically. ... But it maybe in some repositories, so make sure to handle that case as well :-) BR, Julian

Re: Per-repository thread pool in Jackrabbit

2009-07-13 Thread Marcel Reutegger
Hi, 2009/7/12 Jukka Zitting : > Hi, > > 2009/7/8 Marcel Reutegger : >> - paralleled execution of some work. this is primarily to make use of >> multi-core processors. execution should be distributed over and >> executed by N threads which is a factor of the available processors. > > If I recall co