Re: Creating Users Within A Specific Path

2020-11-14 Thread Justin Edelson
Hi, Your email is a bit vague (seemingly on purpose), but take a look at https://jackrabbit.apache.org/api/2.12/org/apache/jackrabbit/api/security/user/UserManager.html#createUser(java.lang.String,%20java.lang.String,%20java.security.Principal,%20java.lang.String) The fourth argument to that

Re: FW: Information on encryption methodology of Jack Rabbit Repository

2017-07-17 Thread Justin Edelson
not sure > how to extract the data stored in VER_BUNDLE to DATASTORE. > > > > Could you please let us know on how the data is stored from VER_BUNDLE to > DATASTORE. > > > > If you are still unclear on the case, I would like to invite you to a > conference call

Re: FW: Information on encryption methodology of Jack Rabbit Repository

2017-07-14 Thread Justin Edelson
Hi, I responded to this email already. Did you see my response? On Fri, Jul 14, 2017 at 9:13 AM Dilipkumar S wrote: > Hello Users & Dev, > > > > Could someone please assist with the below case. > > Thanks & Regards, > Dilipkumar S > > > > *From:* Dilipkumar S > *Sent:*

Re: Information on encryption methodology of Jack Rabbit Repository

2017-07-14 Thread Justin Edelson
Hi, What leads you to believe that the data is encrypted? I suppose in theory it could be encrypted if you have a custom DataStore implementation or there is encryption done by the JDBC driver, but there's none in the standard DbDataStore itself. Regards, Justin On Wed, Jul 12, 2017 at 1:49 AM

Re: ACL inheritance

2014-05-05 Thread Justin Edelson
Hi, Your question seems to be... if I deny read access to everyone, does that deny read access to everyone? In which case the answer is yes. Justin On Mon, May 5, 2014 at 6:48 AM, anjan poliset...@gmail.com wrote: I am still having this question. Can anyone please clarify my understanding.

Re: Searching by exclusions

2013-09-19 Thread Justin Edelson
Hi, I think you want //element(*,nt:file)[@prop:group != '9ef90c86-734a-414e-84c3-64dc6452864c'] You should be using the JCR specification as the point of reference. The fact that Lucene is used is an implementation detail. Regards, Justin On Thu, Sep 19, 2013 at 10:49 AM, hsp

Re: DavEx to connect to multiple repositories?

2013-07-24 Thread Justin Edelson
Hi Chris, Each repository would be a separate port. Justin On Wed, Jul 24, 2013 at 11:29 AM, crm6360 crm6...@hotmail.com wrote: The wiki page suggests that we can use DavEx to connect to a remote repository: http://wiki.apache.org/jackrabbit/RemoteAccess

Re: Nodes with multiple parents - multi-filing

2013-01-01 Thread Justin Edelson
Hi, This is referred to as Shareable Nodes. See http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.9 Shareable Nodes Model Regards, Justin On Mon, Dec 31, 2012 at 9:54 PM, Günther Schmidt guenther.schm...@kmmd.dewrote: Hi, on this page

Re: XPath query - ClosedByInterruptException

2012-11-01 Thread Justin Edelson
Apparently this is a known issue with Lucene: http://lucene.472066.n3.nabble.com/Nasty-NIO-behavior-makes-NIOFSDirectory-silently-close-channel-td602851.html On Thu, Nov 1, 2012 at 9:44 AM, Robert Haycock robert.hayc...@artificial-solutions.com wrote: Hi, Jackrabbit: 2.4.3 Glassfish: 3.1.1

Re: problem after registering a custom privilege

2012-05-02 Thread Justin Edelson
You need to check if the privilege already exists before registering it. Justin On Wed, May 2, 2012 at 10:13 AM, Malzer Ferdinand OSP sIT ferdinand.mal...@s-itsolutions.at wrote: Hello, I try to register a custom privileg with the following code. session = repository.login(new

Re: How to calculate size of data uploaded under certain node

2012-04-26 Thread Justin Edelson
Hi Anand, In JCR, you would generally do this though the Visitor pattern, not by using a query. Justin On Apr 26, 2012 6:44 AM, Anand Rathi rath...@gmail.com wrote: Hi, I am using jackrabbit v2.2.5. I have hierarchy of nodes and uploading files under those nodes. I want to measure the

Re: Security on JR through Webdav

2012-04-11 Thread Justin Edelson
Francisco- What do you mean by 'ACLs don't work through WebDAV'? The repository enforces ACLs regardless of client type/protocol. Justin On Apr 11, 2012, at 6:57 AM, Francisco Carriedo Scher fcarrie...@gmail.com wrote: Hi there, regarding security on Webdav accessed JR repositories i

Re: Bulk Copy issue

2012-03-14 Thread Justin Edelson
Kiran- This refers to a CRX-specific feature which isn't found in Jackrabbit. This would be better sent to DayCare or posted in the CQ forum: http://forums.adobe.com/community/digital_marketing_suite/cq5 Regards, Justin On Wed, Mar 14, 2012 at 1:55 PM, dddkiran dddki...@gmail.com wrote: I am

Re: Jackrabbit servlet-api dependency

2012-03-01 Thread Justin Edelson
FWIW, I've yet to see a message which describes an actual problem. I understand you think JR should be compiled against Servlet API 2.4, but what problem is that going to solve? Are you getting an error message? Is something not working correctly? Regards, Justin On Thu, Mar 1, 2012 at 6:28 AM,

Re: maven, poms, etc

2012-01-31 Thread Justin Edelson
Robert- You might want to take a look at the Sling Maven Archetypes (http://sling.apache.org/site/maven-archetypes.html). These provide a baseline for JCR/Sling OSGi bundle development. HTH, Justin On Tue, Jan 31, 2012 at 11:13 AM, Robert A. Decker dec...@robdecker.com wrote: Hi, I normally

Re: Maximum number of workspaces each repository can have??

2011-12-07 Thread Justin Edelson
On Dec 6, 2011, at 11:16 PM, goutham_pn goutham...@persistent.co.in wrote: http://markmail.org/message/eso35utn3k3572nv#query:+page:1+mid:ipqepol3p3etyg5r+state:results The above link says there can be only 2-digit number of concurrent active users this is unbelievable. That's not what

Re: Multiple backends with Jackrabbit

2011-12-03 Thread Justin Edelson
Hi Gaurav, If the text files are stored as String properties and the binary data is stored as BINARY properties, then this is fine. You need to use a MySQL Persistance Manager and an S3 DataStore. The DataStore stores BINARY properties above a configurable threshold. See

Re: jackrabbit - the best solution for our requirements?????

2011-11-20 Thread Justin Edelson
customer. I don’t know if we could have multiple versions of the content, like v1.0, v2.0, etc. With Jackrabbit it is easy to implement this concepts and build some services to export content and build an application with our requirements? Thanks Pedro On 11/20/11 2:23 AM, Justin Edelson

Re: jackrabbit - the best solution for our requirements?????

2011-11-19 Thread Justin Edelson
Pedro- If you are looking for consulting services around Jackrabbit, there are a number of companies who do that. I would suggest reaching out to them directly rather than through this mailing list. Justin On Sat, Nov 19, 2011 at 8:15 PM, Pedro Vilaça pedro.vil...@alert-online.com wrote: Hi

Re: jackrabbit - the best solution for our requirements?????

2011-11-19 Thread Justin Edelson
think that jackrabbit is the best option to do that? Thanks! Best regards, Pedro On 11/20/11 1:52 AM, Justin Edelson jus...@justinedelson.com wrote: Pedro- If you are looking for consulting services around Jackrabbit, there are a number of companies who do that. I would suggest reaching

Re: Trouble in cluster config?

2011-11-11 Thread Justin Edelson
Joan- Is it possible you are using the same node id on both nodes? Justin On Nov 11, 2011, at 11:29 AM, Joan Bales joa...@gmail.com wrote: Hi all! If have a problem configuring a jackrabbit cluster (Im using sling standalone) I up the two standalone servers, and seems all ok; no error

Re: Is it possible to have multiple repositories in one web app?

2011-10-21 Thread Justin Edelson
. On Fri, Oct 21, 2011 at 9:09 AM, Justin Edelson jus...@justinedelson.comwrote: Indeed, but that's not to say that a repository per subscriber is :) Access Control is the way to do what you want to do. That said, AFAIK, there's no reason you can't have multiple repositories per VM as long

Re: Use jackrabbit in the same java process

2011-09-25 Thread Justin Edelson
Yes. In fact, this is arguably how Jackrabbit works best. Justin On Sep 25, 2011, at 12:09 PM, Lahiru Gunathilake glah...@gmail.com wrote: Hi all, Does jackrabbit has an embedded version of it ? Can I start Jackrabbit instance in my java process itself and access it rather starting a

tracing issue in full text extraction back to the node

2011-09-21 Thread Justin Edelson
When importing a files into Jackrabbit, I occasionally get a warning logged from LazyTextExtractorField that JR Failed to extract text from a binary property. Now obviously if I only imported a single file, it'd be easy to identify the file responsible for this error. But let's say I'm importing

Re: Setting up Access Control

2011-09-13 Thread Justin Edelson
You should not need to write your own implementations of any Jackrabbit or JCR interfaces to set an ACL on a node. Regards, Justin On Sep 13, 2011, at 7:38 AM, Francisco Carriedo Scher fcarrie...@gmail.com wrote: Hi there, i have been diving in mailing list and source code of Jackrabbit

Re: How to add the same node to many path?

2011-08-12 Thread Justin Edelson
JCR 2 added the ability to clone within a workspace. It's referred to as corresponding nodes: http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.10 Corresponding Nodes But I'm not sure that's the right content model. There's not a lot of detail in the original post, but I would suggest

Re: Help with downloading files via WEBDAV

2011-05-26 Thread Justin Edelson
curl -u username:password http://myhost:myport/pathtofile ? For downloading files, WebDAV just uses regular GET requests. Is there something specific that's causing you trouble? Justin On Thu, May 26, 2011 at 9:23 PM, Johnny Wan johnny@asggroup.com.au wrote: Hi, I am trying to download

Re: Invalid namespace index error

2011-05-25 Thread Justin Edelson
I believe this error refers to the numeric index assigned to each namespace when properties are persisted. Are you operating in a cluster? Did something happen to the ns_idx.properties file? Justin On Wed, May 25, 2011 at 12:07 PM, Sumit Shah sumit.s...@cgifederal.com wrote: Hello All, I am

Re: data integrity (mix:referenceable)

2011-05-21 Thread Justin Edelson
Keep in mind that mix:referenceable nodes are meant to be the *target* of a REFERENCE or WEAKREFERENCE property. You seem to be thinking of using them as the *source* which is not the case. In the case you're describing, I would have a node at /content/top_10_articles/2011/05 with a multi-valued

Re: Calling a resource from an OSGi bundle

2011-05-08 Thread Justin Edelson
More of a Sling than a Jackrabbit question, no? In any case, you should be able to use the SlingRequestProcessor to do this. Search the (sling) list archives for details. If you have questions, post them to the sling users list, not the jackrabbit users list. HTH, Justin On Sun, May 8, 2011 at

Re: New to JCR (again) and mildly baffled by workspaces

2011-05-08 Thread Justin Edelson
On Sun, May 8, 2011 at 12:32 PM, Tom Anderson t...@urchin.earth.li wrote: Hello! I'm new to JCR (still - i looked into JCR, and was on this list briefly, a year ago, but never managed to make time to really understand things), and trying to get my head around some of the concepts - in

Re: DataStore files not removed when content is removed

2011-04-29 Thread Justin Edelson
Did you do a datastore garbage collection? Justin On Apr 29, 2011, at 8:03 AM, Fabián Mandelbaum fmandelb...@gmail.com wrote: Hello, while doing some tests yesterday I've noticed the following (unexpected) behaviour with JackRabbit 2.2.5 (probably 1.6.x behaves the same): I have a

Re: DataStore files not removed when content is removed

2011-04-29 Thread Justin Edelson
resource-costly? On Fri, Apr 29, 2011 at 9:10 AM, Justin Edelson jus...@justinedelson.com wrote: Did you do a datastore garbage collection? Justin On Apr 29, 2011, at 8:03 AM, Fabián Mandelbaum fmandelb...@gmail.com wrote: Hello, while doing some tests yesterday I've noticed

Re: problem with removeMixin

2011-04-11 Thread Justin Edelson
You should use removeMixin(). But, as the OP noted, you can't remove a mixin which wasn't added by addMixin(). On Sun, Apr 10, 2011 at 1:40 PM, davidjgonzalez davidjgonza...@gmail.com wrote: Were you able to resolve this? I am running into a similar problem trying to remove a MixinType from a

Re: Jackrabbit database

2011-03-06 Thread Justin Edelson
On 3/6/11 8:19 AM, Rakesh Vidyadharan wrote: Having said that, in my experience most complex query requirements are a direct consequence of the relational data model and usually not a business requirement. When you model data for a nosql store (JackRabbit should be thought of in that

Re: XPath Query Help

2011-02-15 Thread Justin Edelson
AFAIK, XPath doesn't support this kind of glob expression inside a path segment. But even if it did, you're probably better off using node.getNodes(9*) to get all the nodes starting with '9' Justin On Feb 15, 2011, at 9:04 AM, Neil ncorbe...@hotmail.com wrote: Hello Everyone, I have

Re: Need help regarding importXML - IMPORT_UUID_COLLISION_REPLACE_EXISTING!

2011-02-10 Thread Justin Edelson
The SAXParseException is self-explanatory. As for your overall issue, it sounds like you need to specify the UUIDs in the first import. Or maybe not use importXML and write your own importer (I think that's what the last part of Jukka's initial response meant) Justin On Feb 10, 2011, at 8:40

Re: configFile vs repository.xml

2011-01-23 Thread Justin Edelson
On Sun, Jan 23, 2011 at 1:38 PM, PREVOSTO, Laurent laurent.prevo...@sfr.com wrote: From the documentation, it looks like the actual configuration (persistenceManager, datastore, etc.) should come from /foobar/myapp/data/jcr/workspaces/default/workspace.xml (which first starts as a copy of

Re: Unable to cast to jackrabbitSession to get the UserManager

2011-01-22 Thread Justin Edelson
This seems like a pretty straightforward classloader problem. The classloader providing JackrabbitSession to the Jackrabbit webapp is \ not the same as the classloader providing JackrabbitSession to the webapp in which the code below runs. I'm not sure why you'd use two webapps to begin with. But

Re: FullText Indexing

2010-12-16 Thread Justin Edelson
Sergio- The ClassCastException and the NoSuchMethodException you posted on d...@suggest a classpath problem. I would suggest posting the details of your deployment - what JARs you are using, app server details, etc. Justin On Thu, Dec 16, 2010 at 9:31 AM, Rojas Buitrago, Sergio

Re: FullText Indexing

2010-12-16 Thread Justin Edelson
other util information to proporcionate? Regards. -Mensaje original- De: justinedel...@gmail.com [mailto:justinedel...@gmail.com] En nombre de Justin Edelson Enviado el: jueves, 16 de diciembre de 2010 16:26 Para: users@jackrabbit.apache.org Asunto: Re: FullText Indexing Sergio

Re: FullText Indexing

2010-12-16 Thread Justin Edelson
: justinedel...@gmail.com [mailto:justinedel...@gmail.com] En nombre de Justin Edelson Enviado el: jueves, 16 de diciembre de 2010 17:40 Para: users@jackrabbit.apache.org Asunto: Re: FullText Indexing I would remove that dependency. Using a 1.6.4 library with Jackrabbit 2.1.2 just seems like

Re: FullText Indexing

2010-12-16 Thread Justin Edelson
+34 926 27 08 49 Ext: 237849 sro...@indra.es www.indra.es -Mensaje original- De: justinedel...@gmail.com [mailto:justinedel...@gmail.com] En nombre de Justin Edelson Enviado el: jueves, 16 de diciembre de 2010 17:52 Para: users@jackrabbit.apache.org Asunto: Re: FullText

Re: Item cannot be saved because it has been modified externally: node /

2010-12-15 Thread Justin Edelson
2010/12/14 François Cassistat f...@maya-systems.com At least, in your text editor example, the user have the choice to override. But I understand it is a JCR limitation, not Jackrabbit. If that's the behavior you want, just catch the exception, prompt the user and do the needful. Justin

Re: Eclipse Helios, Jackrabbit, Tomcat 6. Almost there, could use some advice

2010-11-30 Thread Justin Edelson
There is no need to build Jackrabbit from source. You can, but there's no need to. I would focus on writing your application. This is really more of a Maven question, but IMHO, what you should do is: 1) Install m2eclipse 2) Create a new Maven project in Eclipse using the war packaging type (you

Re: newbie question: service_unvailable error

2010-11-21 Thread Justin Edelson
What URL is returning a 503 error? On Nov 20, 2010, at 11:52 PM, Mark Phillips mark.phill...@mophilly.com wrote: I downloaded the stand alone jackrabbit server, and launched it on Mac OS X 10.6.5 client on a MacBook Pro (intel). I tried using the double click and the CLI methods. In the

Re: newbie question: service_unvailable error

2010-11-21 Thread Justin Edelson
Have you looked at the log file? On Nov 21, 2010, at 9:41 AM, Mark Phillips wrote: On Nov 21, 2010, at 6:08 AM, Justin Edelson jus...@justinedelson.com wrote: What URL is returning a 503 error? Http://localhost:8080/ - Mark

Re: newbie question: service_unvailable error

2010-11-21 Thread Justin Edelson
On Sun, Nov 21, 2010 at 11:06 AM, Mark Phillips mark.phill...@mophilly.com wrote: On Nov 21, 2010, at 7:02 AM, Justin Edelson wrote: Have you looked at the log file? Yes and no. Yes, in that I have looked at them and no insofar as to understanding what I am seeing. One question does come

Re: Multiple instances of repository

2010-11-17 Thread Justin Edelson
or multiple physical machines. Justin Any ideas will be of great help. -Nikhil -Original Message- From: justinedel...@gmail.com [mailto:justinedel...@gmail.com] On Behalf Of Justin Edelson Sent: Wednesday, November 17, 2010 12:12 AM To: users@jackrabbit.apache.org Subject: Re

Re: software engineering question

2010-11-16 Thread Justin Edelson
FWIW, this is actually a spec question, not a Jackrabbit question. Justin On Tue, Nov 16, 2010 at 1:11 PM, ChadDavis chadmichaelda...@gmail.com wrote: I'm curious as to the design motivations behind some of the Jackrabbit code.  I'm not questioning these choices.  I'm actually trying to learn

Re: Multiple instances of repository

2010-11-16 Thread Justin Edelson
Nikhil- I think you should rethink you're architecture. It really doesn't make sense to be bringing repository instances up only for a 2-4 minute job. Instead, you should think about using the Command pattern and package your applications as executable jobs which can be run inside a long-running

Re: Jackrabbit standalone server with Oracle PM : classpath problem

2010-11-15 Thread Justin Edelson
-jar and -cp can't be used together. Check the docs for the java executable. Justin On Nov 15, 2010, at 8:24 AM, Nicolas Betheuil nicolas.bethe...@europe.adp.com wrote: Hi all, I am very surprised i can't sucess to make work simply the oracle persistence manager. Like this

Re: Problem with Clustering Setup (PostgreSQL)

2010-11-05 Thread Justin Edelson
It could be an instance of LocalFileSystem, if the file system pointed to was shared by, for example, NFS or CIFS. But DbFileSystem is another way to do that. Justin On 11/5/10 12:22 PM, Sergiy Shyrkov my.public.mail...@gmail.com wrote: Hello Etile, if I correctly understood the discussion

Re: Problem with Clustering Setup (PostgreSQL)

2010-11-05 Thread Justin Edelson
On 05.11.2010 17:56, Justin Edelson wrote: It could be an instance of LocalFileSystem, if the file system pointed to was shared by, for example, NFS or CIFS. But DbFileSystem is another way to do that. Justin On 11/5/10 12:22 PM, Sergiy Shyrkovmy.public.mail...@gmail.com wrote: Hello

Re: Problem with Clustering Setup (PostgreSQL)

2010-10-28 Thread Justin Edelson
Unless I'm missing something (always a possibility), your repository.xml is missing the Cluster configuration entirely. That's probably a major source of your issue. Justin On Oct 28, 2010, at 8:56 AM, Etile Basson wrote: Hi, I'm having a problem with a clustered jackrabbit setup, using

Re: Jackrabbit,getting started

2010-10-15 Thread Justin Edelson
On 10/15/10 3:11 AM, Jukka Zitting wrote: Hi, On Fri, Oct 15, 2010 at 6:41 AM, Tsirkin Evgeny tsir...@gmail.com wrote: Yes .I was asking about getting binary jars including all dependences into my project without using maven and it seems there is no such way. You can use Ivy, Buildr or

Re: Is these any way to set up a custom Extractor in Jackrabbit 2.

2010-10-14 Thread Justin Edelson
Perhaps you should vote for https://issues.apache.org/jira/browse/JCR-2642 and/or provide a patch for that issue. Justin On 10/14/10 1:14 PM, taha ben salah wrote: Hi all, Is these any way please to set up a custom Extractor in Jackrabbit 2. What i ended up to guess is that JR2 uses Tika

Re: Jackrabbit,getting started

2010-10-14 Thread Justin Edelson
It is not necessary to build Jackrabbit from source in order to integrate it into your application. However, it is important to note that the source releases are the official releases. Binary JARs are made available as a convenience via the central Maven repository

Re: Jackrabbit,getting started

2010-10-14 Thread Justin Edelson
On 10/14/10 2:46 PM, Tsirkin Evgeny wrote: On Thu, Oct 14, 2010 at 8:23 PM, Justin Edelson jus...@justinedelson.comwrote: It is not necessary to build Jackrabbit from source in order to integrate it into your application. However, it is important to note that the source releases

Re: Multiple Workspaces: Howto?

2010-10-01 Thread Justin Edelson
Did you call Workspace.createWorkspace(test2) ? On 10/1/10 9:58 AM, Meenakshi Khatri wrote: Hi everyone, I am trying to use jackrabbit's feature of using multiple workspaces. Of what I have understood so far, Creating a new workspace should be including a new entry in the repository.xml

Re: Cannot create JDBC driver of class 'org.apache.derby.jdbc.EmbeddedDriver' for connect URL 'jdbc:derby:...'

2010-09-30 Thread Justin Edelson
Something looks weird about this line: String home = /dev/sling/sling/jackrabbit; You're running on Windows, right? So maybe this should be String home = c:\\dev\\sling\\sling\\jackrabbit; WDYT? Justin On Thu, Sep 30, 2010 at 10:18 AM, Clemens Wyss clemens...@mysign.ch wrote: I am trying to

Re: Cannot create JDBC driver of class 'org.apache.derby.jdbc.EmbeddedDriver' for connect URL 'jdbc:derby:...'

2010-09-30 Thread Justin Edelson
() line: 27        Proj2SlingApp.main(String[]) line: 68 ... What dependencies (jar's) am I possibly missing? -Original Message- From: justinedel...@gmail.com [mailto:justinedel...@gmail.com]on Behalf Of Justin Edelson Sent: Thursday, September 30, 2010 4:56 PM To: users

Re: Batch Import from mysql?

2010-09-29 Thread Justin Edelson
It is defined in Section 7 of JSR 283 : http://www.day.com/specs/jcr/2.0/7_Export.html On 9/29/10 9:19 AM, sam lee wrote: Hey, What is system view XML ? My Google hadouken failed. thanks. sam On Tue, Sep 28, 2010 at 9:18 PM, Justin Edelson justinedel...@gmail.com

Re: Batch Import from mysql?

2010-09-29 Thread Justin Edelson
performance. Rakesh On 28 Sep 2010, at 20:18, Justin Edelson wrote: You can generate a system view XML file from your MySQL data and then import that in one shot. Justin On 9/28/10 9:14 PM, sam lee wrote: Hey, I need to migrate data stored in mysql to jackrabbit. I'm using JCR API

Re: Question about updating node types

2010-09-28 Thread Justin Edelson
Yes, although not if the property is mandatory. On 9/28/10 4:01 PM, Zoltan Farkas wrote: Can a node type be updated ? (add a property) --zoly

Re: Question about updating node types

2010-09-28 Thread Justin Edelson
. I should point out that this only works with Jackrabbit 2.0 and above. Justin On 9/28/10 5:04 PM, Zoltan Farkas wrote: Cool, how can I achieve that? Can you point me to the API, or a sample? Thank you --zoly On Sep 28, 2010, at 4:27 PM, Justin Edelson justinedel...@gmail.com wrote

Re: accessing repository

2010-09-28 Thread Justin Edelson
It looks like your classpath is missing some jars. The error message should look something like this: Unable to access a repository with the following settings: org.apache.jackrabbit.repository.uri: http://localhost:7402/crx/server The following RepositoryFactory classes were consulted:

Re: Batch Import from mysql?

2010-09-28 Thread Justin Edelson
You can generate a system view XML file from your MySQL data and then import that in one shot. Justin On 9/28/10 9:14 PM, sam lee wrote: Hey, I need to migrate data stored in mysql to jackrabbit. I'm using JCR API (Node.addNode().. etc). And it takes many hours to do so. Is there a

Re: Adding new nodes to a cluster

2010-09-16 Thread Justin Edelson
On 9/14/10 6:01 AM, Vidar Ramdal wrote: Yes, I know the cluster node ID in repository.xml - but is that the only place the ID is held? It can also be an a system property (org.apache.jackrabbit.core.cluster.node_id). Not sure what happens when it is defined in both repository.xml and the

Re: Always getting exception:Session has pending changes

2010-09-15 Thread Justin Edelson
Your code sequence is wrong. You need to: checkout modify save checkin (repeat) On 9/15/10 5:11 AM, shahid.khan wrote: Hi All, I am facing problem when doing checkin after a checkout of mix:versionable node. I am getting following exception at the time of checkin:

Re: Node Type Registration in JCR 2.0

2010-09-09 Thread Justin Edelson
The API you should use is CndImporter.registerNodeTypes (from the JCR Commons module). This method accepts a Reader (not an InputStream), so you should be able to construct a InputStreamReader with the appropriate character encoding. Justin On Thu, Sep 9, 2010 at 8:14 AM, Gadbury

Re: CacheManager - Cannot Cast BindableRepository to RepositoryImpl

2010-09-09 Thread Justin Edelson
On 9/9/10 3:12 PM, James Abley wrote: On 9 September 2010 18:42, Gadbury gadb...@googlemail.com wrote: Hi all, I have read the CacheManager article on the Jackrabbit Wiki. I have also searched around for a solution. I am using the following code: Repository repository =

Re: Example project showing Issue JCR-2701

2010-09-08 Thread Justin Edelson
Cory- Just curious... why is the JCA packaging so attractive to you? Justin On Sep 8, 2010, at 1:32 PM, Cory Prowse c...@prowse.com wrote: Firstly, apologies for the duplicate email (bad network connection atm). I'll have a crack at it in a week or so, will probably pester the list for

Re: Creating a new node Type

2010-09-03 Thread Justin Edelson
be appreciated. Justin From: Justin Edelson justinedel...@gmail.com To: users@jackrabbit.apache.org Sent: Thu, September 2, 2010 8:39:19 PM Subject: Re: Creating a new node Type You should use JcrUtils.getRepository(file:///path/to/repository

Re: Creating a new node Type

2010-09-02 Thread Justin Edelson
You can only create new node types by accessing the repository in-process, not by RMI or WebDAV. Justin On Sep 2, 2010, at 5:36 AM, sriraj paul srirajp...@yahoo.co.uk wrote: Hello , I want to create a new node type derived from nt:file , such that it allows to add a new node inside it

Re: Creating a new node Type

2010-09-02 Thread Justin Edelson
From: Justin Edelson justinedel...@gmail.com To: users@jackrabbit.apache.org users@jackrabbit.apache.org Sent: Thu, September 2, 2010 5:03:13 PM Subject: Re: Creating a new node Type You can only create new node types by accessing the repository in-process, not by RMI

Re: Help with JCR 2 access control

2010-09-01 Thread Justin Edelson
You should use DefaultAccessManager. I also suspect you want to use getEffectivePolicies() or getPolicies() instead of getApplicablePolicies(), but that's up to you. Justin On 9/1/10 2:25 PM, aimran wrote: It seems, there is very sparse information about one of the key features [access

Re: Help with JCR 2 access control

2010-09-01 Thread Justin Edelson
On 9/1/10 5:46 PM, aimran wrote: I tried that. Apparently there is no way to set permissions at root level. Not true. Everyone gets read access. This is true by default, but you can revoke the read privilege for the everyone principal. Also, it seems that there is no way to set permission

Re: query node by node identifier

2010-08-30 Thread Justin Edelson
Why not just use session.getNodeByIdentifier() ? If you need to use query, I'm pretty sure you'll have to use jcr:uuid as the property name. This would only be useable with mix:referenceable nodes. Justin On 8/30/10 1:12 PM, JOSE FELIX HERNANDEZ BARRIO wrote: hi, i'm trying to extract a

Re: Workspace creation and configuration programmatically, possible?

2010-08-23 Thread Justin Edelson
On 8/23/10 3:14 AM, john wrote: Le Sat, 21 Aug 2010 17:32:08 -0400, Justin Edelson a écrit : The Workspace configuration in repository.xml is used as a template for any newly-created workspace. Do you want to use postgres for all workspaces or only some? The former is just a matter

Re: Workspace creation and configuration programmatically, possible?

2010-08-21 Thread Justin Edelson
The Workspace configuration in repository.xml is used as a template for any newly-created workspace. Do you want to use postgres for all workspaces or only some? The former is just a matter of changing the template. The latter would be tricky, but might be doable, depending on the details.

Re: ClientNodeTypeManager cannot be cast to JackrabbitNodeTypeManager

2010-08-16 Thread Justin Edelson
Why are you asking for code which will run on the server side if you are unable to change the server's code? On 8/16/10 7:41 AM, Thomas Lustig wrote: Hi Alex, Thanks for your help! which interface could be used on serverside for registering nodes programmatically? ( I am not able to change

Re: Registering new Nodetypes - NodeTypeManagerImpl cannot be cast to JackrabbitNodeTypeManager

2010-08-15 Thread Justin Edelson
It appears you are trying to register nodetypes over DavEX. This isn't currently supported. On Aug 15, 2010, at 8:11 AM, Thomas Lustig tho...@futuredesign.at wrote: Hi all, I am using Jackrabbit 2.1 and i want to add additional properties to my Filenodes nt:file. For example i would like

Re: Clustering

2010-08-14 Thread Justin Edelson
Perhaps you are not using a unique cluster ID? As I understand it, you should not need to manually copy anything between nodes. On Aug 14, 2010, at 9:10 AM, Carl Hall c...@hallwaytech.com wrote: I've been able to cluster JackRabbit backed by Oracle but I have a question about something I've

Re: Clustering

2010-08-14 Thread Justin Edelson
. I'll keep digging. On Sat, Aug 14, 2010 at 11:08 AM, Justin Edelson justinedel...@gmail.comwrote: Perhaps you are not using a unique cluster ID? As I understand it, you should not need to manually copy anything between nodes. On Aug 14, 2010, at 9:10 AM, Carl Hall c...@hallwaytech.com

Re: Clustering

2010-08-14 Thread Justin Edelson
try? On Sat, Aug 14, 2010 at 12:17 PM, Justin Edelson justinedel...@gmail.comwrote: Is this the only error in the log? You might be running into the namespace index problem I reported a few weeks ago, but that had a different error. On Aug 14, 2010, at 11:31 AM, Carl Hall c

Re: R: referencing versioned nodes

2010-08-11 Thread Justin Edelson
On Aug 11, 2010, at 12:34 PM, Fabio Barbon fabio.bar...@exprivia.it wrote: Hi -Messaggio originale- Da: Jukka Zitting [mailto:jukka.zitt...@gmail.com] ... A reference always points to the current version of a referenceable node. Ok, I see. What I need instead is that a

Re: reference properties across workspaces

2010-08-09 Thread Justin Edelson
Hard to judge without knowing more about what this configuration data is, but if it doesn't semantically belong in the publish workspace (e.g. If it configured how a folder's contents are edited), I would probably store it in a secondary hierarchy. For example, the configuration data for

Re: Referring usage of JackRabbit in web application..

2010-07-28 Thread Justin Edelson
On 7/26/10 10:28 AM, Nitesh krishna P wrote: Hi, I am new to ECM and JCR..Need a basic information... I am trying to develop a web application which need to maintain documents (in storage) also other relevant data related to the document. I am thinking to use JackRabbit API in my

Re: RepositoryCopier and default Jackrabbit Configuration (embedded derby)

2010-07-20 Thread Justin Edelson
What gives you the impression you can only run a single derby database per VM? The default Jackrabbit config starts three. On Tue, Jul 20, 2010 at 9:49 AM, sascha.the...@innovations.de wrote: Hi all, we are using the RepositoryCopier to copy our repository data with the default embedded

Re: Problem connecting to remote repository

2010-07-14 Thread Justin Edelson
On 7/14/10 5:41 AM, Ahmed Elshereay wrote: All, I have jackrabbit on my pc, and I can connect to it just fine, but I also have jackrabbit running on another linux machine (QA server), and I need to connect to jackrabbit QA remotly. I followed the steps mentioned at:

Re: URGENT PLEASE - Problem connecting to remote repository

2010-07-14 Thread Justin Edelson
FYI - Three hours isn't really an appropriate amount of time before resubmitting a question. On 7/14/10 8:21 AM, Ahmed Elshereay wrote: All, I have jackrabbit on my pc, and I can connect to it just fine, but I also have jackrabbit running on another linux machine (QA server), and I need

Re: Add property to a folder

2010-07-09 Thread Justin Edelson
You should not be able to add arbitrary properties to nodes of either type nt:file or nt:folder without adding mixins. See http://wiki.apache.org/jackrabbit/nt%3Afile and http://wiki.apache.org/jackrabbit/nt%3Afolder (and http://wiki.apache.org/jackrabbit/nt%3AhierarchyNode) Personally, I found

Re: Slightly out of the norm... (perhaps)

2010-06-28 Thread Justin Edelson
: On Jun 25, 2010, at 12:32 PM, Justin Edelson wrote: Tony- I should have thought of this before, but is it possible this is the PM configuration inside the Versioning element? I think that would explain the error. If not, you should probably post the *whole* repository.xml file. Justin

Re: Slightly out of the norm... (perhaps)

2010-06-28 Thread Justin Edelson
Pretty sure something exactly like this was posted within the past weeks, but I forgot what the resolution was. Search the archives for that ClassCastException and if you don't find anything, create a new thread. Justin On 6/28/10 5:07 PM, Tony Giaccone wrote: Ok, So one step forward I can

Re: Slightly out of the norm... (perhaps)

2010-06-25 Thread Justin Edelson
Tony- I should have thought of this before, but is it possible this is the PM configuration inside the Versioning element? I think that would explain the error. If not, you should probably post the *whole* repository.xml file. Justin On 6/25/10 12:28 PM, Tony Giaccone wrote: I've been

Re: session export / import

2010-06-22 Thread Justin Edelson
On 6/22/10 1:44 PM, bruno coelho wrote: hi all, I'm developing a way of doing backups of our JCR repository built with Jackrabbit. I started by creating a node /bruno and used *session.exportDocumentView(/, outputStream, skipBinary, noRecurse);* to export all the content to a xml

Re: mix:lastModified strange behavior

2010-06-21 Thread Justin Edelson
jcr:lastModified is not (yet) auto-updated in Jackrabbit 2.x. See https://issues.apache.org/jira/browse/JCR-2233 Justin On Jun 21, 2010, at 12:31 PM, JOSE FELIX HERNANDEZ BARRIO wrote: hi, i've created a node type from nt:folder that has the mixing mix:lastModified. when i create a node

Re: Migration to Jackrabbit 2.1.0

2010-06-17 Thread Justin Edelson
On 6/17/10 11:50 AM, Juan Diego Botiva Leon wrote: If I have to change my CND file, this means that the data in the repository can't be migrated to Jackrabbit 2.1.0 ? I don't think this is *necessarily* the case, it is dependent upon the change you make. Changing the primary item of a node

Re: Problems Migrating Cluster Data

2010-06-08 Thread Justin Edelson
A few things jump out in the configuration below: 1) You aren't assigning a Cluster ID. This is required. 2) Each cluster node is sharing the same database for the FileSystem implementations. This is wrong. Each cluster node needs a private FileSystem (as Thomas said below). You can find them on

  1   2   >