Re: Cleaning up version history

2014-06-26 Thread Rakesh Vidyadharan
On 26 Jun 2014, at 04:21, Julian Reschke julian.resc...@gmx.de wrote: On 2014-06-20 17:34, Rakesh Vidyadharan wrote: Hello all, We are using JackRabbit 2.4.3 through Magnolia CMS. Our users had used the documents workspace provided by Magnolia to upload large media files (movies, audio

Cleaning up version history

2014-06-20 Thread Rakesh Vidyadharan
Hello all, We are using JackRabbit 2.4.3 through Magnolia CMS. Our users had used the documents workspace provided by Magnolia to upload large media files (movies, audio), some of which are over 100mb. We migrated all that content away from Magnolia/JackRabbit into a regular Apache

Re: Obtaining the running repository through JNDI

2011-08-01 Thread Rakesh Vidyadharan
because i find my case helpfull for other newbies. I thank you all once more! Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://www.sptci.com/ | 400 N McClurg Ct, Suite 1411 | Chicago, IL 60611-4339 USA | | Ph: +1 (312) 212-3933 | Fax: +1 (312) 276-4410 | E-mail: rak

Database connection validation

2011-06-17 Thread Rakesh Vidyadharan
Hello, I have a requirement for our web app to perform some validation on the database being available before building the display. The database is configured as a JNDI resource, so I could fetch a connection from the pool and see if I get an exception. I was wondering whether there is some

Re: JCR browser that works with the latest version of Jackrabbit?

2011-06-12 Thread Rakesh Vidyadharan
On 12 Jun 2011, at 02:44, Alex Henderson wrote: Hi All, Is there anywhere I can get a version of a tool like the JCR browser that will work correctly against a remote Jackrabbit 2.2.7 instance? Try http://kenai.com/projects/jcrmanager. I have not tested it extensively with RMI

Re: jcr browsers

2011-03-30 Thread Rakesh Vidyadharan
a couple medium to large repositories I'd like to explore which are JR 2.1.3 2.2.5 based. -- Langley Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://www.sptci.com/ | 100 W. Chestnut, Suite 1305 | Chicago, IL 60610-3296 USA | | Ph: +1 (312) 212-3933 | Mobile: +1 (312

Re: jcr browsers

2011-03-30 Thread Rakesh Vidyadharan
, please let me know ;) I'd love to switch back. On Wed, Mar 30, 2011 at 11:14 AM, Rakesh Vidyadharan rak...@sptci.comwrote: It does, and has a few more expanded features than for 1.6. Rakesh (shameless plug). On 30 Mar 2011, at 12:02, ChadDavis wrote: That's good too, but it doesn't

Re: organizations using Jackrabbit in production environment

2011-03-15 Thread Rakesh Vidyadharan
On 15 Mar 2011, at 03:19, Michael Wechner wrote: On 3/15/11 12:19 AM, Rakesh Vidyadharan wrote: On 14 Mar 2011, at 15:10, kazim_ss...@yahoo.com wrote: Hi, Are there any organizations/companies that use jackrabbit as their production content management system? Can somebody name a few

Re: organizations using Jackrabbit in production environment

2011-03-14 Thread Rakesh Vidyadharan
On 14 Mar 2011, at 15:10, kazim_ss...@yahoo.com wrote: Hi, Are there any organizations/companies that use jackrabbit as their production content management system? Can somebody name a few? and how many files might there be in their system? And which approach is better db blob storage or

Re: Jackrabbit database

2011-03-06 Thread Rakesh Vidyadharan
On Sun, Mar 6, 2011 at 1:47 AM, Rakesh Vidyadharan rak...@sptci.com wrote: On 5 Mar 2011, at 15:26, Reza Aliakbari wrote: Hi, I downloaded the Jackrabbit WAR file and configured it with a database(I defined PersistenceManager at repository.xml). I hoped to see my nodes and main information

Re: Jackrabbit database

2011-03-05 Thread Rakesh Vidyadharan
On 5 Mar 2011, at 15:26, Reza Aliakbari wrote: Hi, I downloaded the Jackrabbit WAR file and configured it with a database(I defined PersistenceManager at repository.xml). I hoped to see my nodes and main information there at my database but I saw there 4 tables BINVAL, BUNDLE, NAMES and

Re: Linking JCR Nodes

2011-02-15 Thread Rakesh Vidyadharan
On 15 Feb 2011, at 20:33, Umashanthi Pavalanathan wrote: Hi , Jackrabbit's JCR implementation is used in the project I am working on. I have got a question about linking two JCR nodes; is there any concept of association/link between two nodes? The basic requirement is to create a

Re: HSQLDB as persistence manager

2011-02-12 Thread Rakesh Vidyadharan
On 12 Feb 2011, at 11:54, François Cassistat wrote: Hi, any pointer on how to configure Jackrabbit 2.2 to use HSQLDB ? Does BundleDbPersistenceManager supports connection pooling by default ? F We have our production website (Magnolia, JR 1.6) running on H2 with just the default

Re: adding existing datastore to jackrabbit repository

2010-11-15 Thread Rakesh Vidyadharan
On 15 Nov 2010, at 03:28, Ajay wrote: Hi, I am new to jackrabbit. I tried jackrabbit's webdav for storing documents in the repository. I have an existing database where i have xml files in DB. Is there any way that i can use to connect jackrabbit to existing database. I want to

Re: adding existing datastore to jackrabbit repository

2010-11-15 Thread Rakesh Vidyadharan
On 15 Nov 2010, at 06:11, Ajay wrote: On Mon, Nov 15, 2010 at 4:36 PM, Rakesh Vidyadharan rak...@sptci.comwrote: On 15 Nov 2010, at 03:28, Ajay wrote: Hi, I am new to jackrabbit. I tried jackrabbit's webdav for storing documents in the repository. I have an existing database where

Re: 30 secondes to create and open a repository ?

2010-11-11 Thread Rakesh Vidyadharan
On 11 Nov 2010, at 07:21, Ista Pouss wrote: 2010/11/11 Cech. Ulrich ulrich.c...@aeb.de No, I configure nothing ; the repository goes in an empty directory, as you can see with dirs.mkdirs(). Then, try to configure a repository.xml and choose simple FileSystem as PersistenceManager and so

Re: improving efficiency

2010-10-29 Thread Rakesh Vidyadharan
On 28 Oct 2010, at 16:12, ChadDavis wrote: I'm working on a CMS based on Jackrabbit. The UI is a RIA, of sorts. The user is presented with a file tree structure. If they are at the root folder, then the tree is pretty big. I *need* to have the whole data model in order to build the file

Re: improving efficiency

2010-10-29 Thread Rakesh Vidyadharan
On Oct 29, 2010, at 2:05 PM, ChadDavis chadmichaelda...@gmail.com wrote: On Fri, Oct 29, 2010 at 12:57 PM, Rakesh Vidyadharan rak...@sptci.com wrote: On 28 Oct 2010, at 16:12, ChadDavis wrote: I'm working on a CMS based on Jackrabbit. The UI is a RIA, of sorts. The user is presented

Re: Jackrabbit,getting started

2010-10-15 Thread Rakesh Vidyadharan
On 15 Oct 2010, at 10:04, Thomas Müller wrote: Hi, +1 any non-trivial Java application requires dependency management. -1. I think Jackrabbit is not that complicated, and one jar file would be enough. It would be a lot more convenient to use and develop Jackrabbit. Other projects that

Re: Jackrabbit,getting started

2010-10-14 Thread Rakesh Vidyadharan
On 14 Oct 2010, at 13:46, 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 are

Re: How to get a copy of repository?

2010-10-12 Thread Rakesh Vidyadharan
On 12 Oct 2010, at 21:07, Omid Milani wrote: Hi, I was trying to get a copy of a workspace into another repository with different persistence manager. I expected to be straightforward, but it proved extensively troubling. First I exported system view of jcr:root, but it wouldn't import

Re: Batch Import from mysql?

2010-09-29 Thread Rakesh Vidyadharan
. Sam Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://www.sptci.com/ | 100 W. Chestnut, Suite 1305 | Chicago, IL 60610-3296 USA | | Ph: +1 (312) 212-3933 | Mobile: +1 (312) 315-1596 | Fax: +1 (312) 276-4410 | E-mail: rak...@sptci.com

Re: Batch Import from mysql?

2010-09-29 Thread Rakesh Vidyadharan
significantly more memory than you would consume by creating those same nodes manually. But yes, node structure is important. Justin On 9/29/10 10:10 AM, Rakesh Vidyadharan wrote: In my experience importing from the system view XML requires huge amounts of memory. If the process requires

Re: connection to a legacy system

2010-09-28 Thread Rakesh Vidyadharan
On 28 Sep 2010, at 02:03, Nicolas Delsaux wrote: On Tue, Sep 28, 2010 at 8:51 AM, Ista Pouss ista...@gmail.com wrote: If you read only, you implements level one of jcr spec to read your system whith your own implementation. No need to use jackrabbit I think ? Why do you want to use

Re: what's the best way to start a server

2010-08-31 Thread Rakesh Vidyadharan
names like standalone server, JCR server, webdav servlet, RMI etc. I actually have tried to use the standalone server but the --conf argument seems to be for backup only and it won't read the repository configuration and provide a web interface to my repository. regards, mingfai Rakesh

Re: what's the best way to start a server

2010-08-31 Thread Rakesh Vidyadharan
On 31 Aug 2010, at 12:31, ChadDavis wrote: Thanks Rakesh. And thanks for your product. I use it frequently. I do wish I could conect at the same time as my application is connected though . . . is it possible at all? Should be possible over RMI. I have not tested at great length, other

Re: Persistence Manager - Query on Concurrency

2010-05-16 Thread Rakesh Vidyadharan
On 16 May 2010, at 20:37, Narendra Sharma wrote: I am learning about Apache JackRabbit and trying to understand the Bundle Persistence Manager. I observed that the methods (load and exists) in the AbstractBundlePersistenceManag er are synchronized. Is there any specific reason why they are

XPath question

2010-05-14 Thread Rakesh Vidyadharan
Is it possible to filter based on parent node properties when executing an XPath query (JR 1.6). Let me explain the scenario that I have. We have a repository for all the books published by a press. Each book has child nodes that identify the various formats it has been published in (cloth

Re: XPath question

2010-05-14 Thread Rakesh Vidyadharan
On 14 May 2010, at 12:09, Alexander Klimetschek wrote: On Fri, May 14, 2010 at 16:56, Rakesh Vidyadharan rak...@sptci.com wrote: Is it possible to filter based on parent node properties when executing an XPath query (JR 1.6). Let me explain the scenario that I have. We have a repository

Re: Can/should I embed repository.xml in my war?

2010-04-22 Thread Rakesh Vidyadharan
On 22 Apr 2010, at 16:46, Rob Brown wrote: I'm trying to get an embedded version of jackrabbit working in my web app. For convenience, I would like to package the repository.xml within the war file so I can upload in 1 step to tomcat. I'm building the war using eclipse. I've tried a

Re: Cannot instantiate persistence manager

2010-03-19 Thread Rakesh Vidyadharan
-persistence-manager-tp1599013p1599013.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://www.sptci.com/ | 100 W. Chestnut, Suite 1305 | Chicago, IL 60610-3296 USA | | Ph: +1 (312) 212-3933 | Mobile: +1 (312

Re: Accessing workspace other than default ?

2010-03-16 Thread Rakesh Vidyadharan
On 16 Mar 2010, at 07:35, Joseph Ottinger wrote: Is there a wiki that's collecting the right way to do all this stuff? The right way is usually to try and use only the JCR API (similar to using JDBC for instance). Google for JCR tutorials and you will get some good links.

Re: Database configuration for Apache Jackrabbit 2.0.0

2010-03-16 Thread Rakesh Vidyadharan
On 16 Mar 2010, at 11:35, pradeepkudale wrote: Hi all, I was trying to configure Apache Jackrabbit 2.0.0 in order to get everything stored in an mySql. It should not create any files on the LocalFileSystem but in my case it is creating some files. It is not possible to totally get rid

Re: Jackrabbit 1.5 License not free? for Debian/Ubuntu inclusion

2010-03-12 Thread Rakesh Vidyadharan
If Debian/Ubuntu is GPL v2, then they cannot include JackRabbit either. AFAIK GPL v2 is incompatible with the ASL. GPL v3 is compatible, so you will need to check that as well.

Re: Jackrabbit 1.5 License not free? for Debian/Ubuntu inclusion

2010-03-12 Thread Rakesh Vidyadharan
way round. IANAL, but I think including a ASL license in the GPL bundle is just fine. Including a GPL license in a ASL bundle is not fine as ASL is not viral. Perhaps I am missing the point. Ian On 12 Mar 2010, at 11:11, Rakesh Vidyadharan wrote: If Debian/Ubuntu is GPL v2

Re: Jackrabbit 1.5 License not free? for Debian/Ubuntu inclusion

2010-03-12 Thread Rakesh Vidyadharan
clauses as mentioned in the post. As far as I see, both Debian and Ubuntu are not strictly GPL. They allow a variety of licenses, including APL: http://www.debian.org/legal/licenses/ Regards, Thomas Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://www.sptci.com/ | 100

Re: hello

2010-02-26 Thread Rakesh Vidyadharan
On 25 Feb 2010, at 22:44, Richa wrote: thanx rakesh for the imformation..but iam really not able to find jcr-2.0.jar anywhere on internet,can u suggest some link from where i can download this jar file.. You should find it with the JackRabbit 2.0 web app bundle. Rakesh

Re: getRootNode() takes 27 seconds...

2010-02-26 Thread Rakesh Vidyadharan
On 26 Feb 2010, at 11:32, François Cassistat wrote: I have inserted ~25K nodes with ~1500 files (about 1.6G of files) and now Jackrabbit takes 27 seconds to get the root node, is it normal? Maybe it is because am I using the standalone server (2.0)? Also I am making tests since jcr2spi.

Re: getRootNode() takes 27 seconds...

2010-02-26 Thread Rakesh Vidyadharan
:16 PM, Rakesh Vidyadharan a écrit : On 26 Feb 2010, at 11:32, François Cassistat wrote: I have inserted ~25K nodes with ~1500 files (about 1.6G of files) and now Jackrabbit takes 27 seconds to get the root node, is it normal? Maybe it is because am I using the standalone server (2.0

Re: getRootNode() takes 27 seconds...

2010-02-26 Thread Rakesh Vidyadharan
, Rakesh Vidyadharan a écrit : On 26 Feb 2010, at 12:51, François Cassistat wrote: Thanks Rakesh for your reply, actually root have only one node, below 2 or 3 levels of that of that there is one node with 1500 nodes, this is the maximum. All other nodes have between 0 and 10 nodes. 1500 may

Re: Oracle 10g and Jackrabbit

2010-02-26 Thread Rakesh Vidyadharan
On 26 Feb 2010, at 18:52, Neil Lott wrote: Thanks Justin, Even though I can add more that 2450 nodes each time I add a node its really slow after that number. What would you suggest for troubleshooting this further? Neil It is going to get slower as the number of child nodes grow.

Re: hello

2010-02-25 Thread Rakesh Vidyadharan
On 25 Feb 2010, at 05:19, Richa wrote: Hi ,iam a new user to jackrabbit 2.0.0. while creating and starting the repository iam facing a lot of problems. The technologies iam using are:- apache tomcat 6.0.24 jackrabbit 2.0.0 war file operating system:linux mandriva 2006 Now these are

Re: Export/import on a Node basis Jackrabbit2.0

2010-02-19 Thread Rakesh Vidyadharan
On 19 Feb 2010, at 07:13, Niu, Xuetao wrote: Hello, Is it possible to export a unstructured node into some format (better to be readable) and import back ? I have found the document view more readable than the system view. You can also send the output through a filter or other system

Re: repo browser

2010-02-18 Thread Rakesh Vidyadharan
On 18 Feb 2010, at 12:05, ChadDavis wrote: On Tue, Feb 16, 2010 at 11:14 AM, Rakesh Vidyadharan rak...@sptci.com wrote: On 16 Feb 2010, at 11:52, Patricio Echagüe wrote: Hey Rakesh, thank you so much. It works great. You are welcome. I released 2.1 a couple of hours ago, with some

Re: repo browser

2010-02-18 Thread Rakesh Vidyadharan
On 18 Feb 2010, at 12:18, ChadDavis wrote: On Thu, Feb 18, 2010 at 11:05 AM, ChadDavis chadmichaelda...@gmail.com wrote: On Tue, Feb 16, 2010 at 11:14 AM, Rakesh Vidyadharan rak...@sptci.com wrote: On 16 Feb 2010, at 11:52, Patricio Echagüe wrote: Hey Rakesh, thank you so much

Re: repo browser

2010-02-18 Thread Rakesh Vidyadharan
On 18 Feb 2010, at 12:25, ChadDavis wrote: No, it is just a virtual path mapped to the servlet for the application. Just http://your server:port/jcrviewer/ should do the trick. I used this . . . http://localhost:8080/jcrmanager/index.jhtml using jcrviewer doesn't work . . . is

Re: repo browser [SEC=UNCLASSIFIED]

2010-02-17 Thread Rakesh Vidyadharan
: I deployed on Weblogic 10.3.1, but I only get 403 errors, can't see anything in the logs, when I try to go to the default page. Ross. Rakesh Vidyadharan rak...@sptci.com wrote on 17/02/2010 05:14:31 AM: From: Rakesh Vidyadharan rak...@sptci.com To: users@jackrabbit.apache.org

Re: repo browser

2010-02-16 Thread Rakesh Vidyadharan
On 16 Feb 2010, at 11:52, Patricio Echagüe wrote: Hey Rakesh, thank you so much. It works great. You are welcome. I released 2.1 a couple of hours ago, with some additional 2.0 features as well as RMI connection ability. Rakesh On Mon, Feb 15, 2010 at 1:06 PM, Rakesh Vidyadharan rak

Re: ThreadLocal errors logged in Tomcat 6.0.24

2010-02-15 Thread Rakesh Vidyadharan
On 15 Feb 2010, at 02:42, Thomas Müller wrote: Hi, It looks like the Jackrabbit repository is not closed when the web application is stopped. Could you verify this? Regards, Thomas I am using TransientRepository, and I verified that there are not .lock or .lck files under repository

Re: What are workspaces?

2010-02-15 Thread Rakesh Vidyadharan
On 15 Feb 2010, at 05:26, Alexander Klimetschek wrote: On Sat, Feb 13, 2010 at 19:25, Rakesh Vidyadharan rak...@sptci.com wrote: I was playing around with workspaces and ran into unexpected behaviours. It seems that regardless of the workspace my session is bound to, I see the same set

Re: repo browser

2010-02-15 Thread Rakesh Vidyadharan
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 throw an exception complaining about 2.0 dtd when trying to open up the repository.xml http://kenai.com/projects/jcrmanager

What are workspaces?

2010-02-13 Thread Rakesh Vidyadharan
I was playing around with workspaces and ran into unexpected behaviours. It seems that regardless of the workspace my session is bound to, I see the same set of nodes (using same credentials). I created the workspace with just name (without option to clone an existing workspace), then got a

Re: Repository storage structure change, exportSystemView and importXML

2010-02-12 Thread Rakesh Vidyadharan
the right APIs? Is importXML the counterpart to exportSystemView? Too many questions, I know... but I'm kinda stuck. Thanks in advance for your answers. -- Fabián Mandelbaum IS Engineer Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://sptci.com/ | 100 W. Chestnut

Re: Repository storage structure change, exportSystemView and importXML

2010-02-12 Thread Rakesh Vidyadharan
Mandelbaum wrote: AFAIK, there's no way to filter out nodes using exportSystemView, other than making several exports from the correct paths to avoid exporting the nodes you don't want... On Fri, Feb 12, 2010 at 10:16 AM, Rakesh Vidyadharan rak...@sptci.com wrote: I think the issue may

ThreadLocal errors logged in Tomcat 6.0.24

2010-02-12 Thread Rakesh Vidyadharan
I upgraded to Tomcat 6.0.24 earlier today and started noticing the following messages on Tomcat shutdown. The deployed web app is the same (not the JR webapp, but my own) and does not generate any of these messages on 6.0.20. 12-Feb-2010 14:23:20 org.apache.catalina.loader.WebappClassLoader

Re: performance

2010-02-10 Thread Rakesh Vidyadharan
If you are going to do a lot of writes, the filesystem option may turn out to be terribly slow. That was my experience on OS X importing around 4 nodes. Rajesh On Feb 10, 2010, at 9:53 AM, Luiz Fernando Teston feu.tes...@caravelatech.com wrote: Guo, Just curious that is there any

Re: XML import example

2010-02-02 Thread Rakesh Vidyadharan
On 2 Feb 2010, at 17:35, ChadDavis wrote: I'm looking for the XML import example. I thought it was on this page: http://jackrabbit.apache.org/first-hops.html But that page is returning an invalid/unsupported form of compression error.

Re: Beginner question, why is index stored on hard disk?

2010-01-30 Thread Rakesh Vidyadharan
On 30 Jan 2010, at 20:57, philip andrew wrote: Hi, I started using Jackrabbit and set it up to use the H2 database to store everything, although, it seems to store the index on the hard disk, is it supposed to do this? My intention is to store everything in the database. However in

Re: Preserve multi-value properties?

2010-01-27 Thread Rakesh Vidyadharan
On 27 Jan 2010, at 03:37, Alexander Klimetschek wrote: On Tue, Jan 26, 2010 at 16:53, Rakesh Vidyadharan rak...@sptci.com wrote: but if I remove one of the values Just to be sure: you mean if you remove the property in JCR, export the system view again, it won't have the multiple attribute

Re: [ANNOUNCE] Apache Jackrabbit 2.0.0 released

2010-01-27 Thread Rakesh Vidyadharan
and commercial users to easily deploy Apache software; the Foundation's intellectual property framework limits the legal exposure of its 2,500+ contributors. For more information, visit http://www.apache.org/ Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://sptci.com/ | 100

Re: Preserve multi-value properties?

2010-01-26 Thread Rakesh Vidyadharan
On 26 Jan 2010, at 01:57, Alexander Klimetschek wrote: On Mon, Jan 25, 2010 at 16:30, Rakesh Vidyadharan rak...@sptci.com wrote: I used the system view. You can see the exporter code at http://kenai.com/projects/jcrmanager/sources/svn/content/trunk/src/app/com/sptci/jcr/webui/listener/menu

Re: Preserve multi-value properties?

2010-01-25 Thread Rakesh Vidyadharan
On 25 Jan 2010, at 06:18, Alexander Klimetschek wrote: On Fri, Jan 22, 2010 at 22:38, Rakesh Vidyadharan rak...@sptci.com wrote: The current import/export system does not preserve multi-values properties when they happen to have only a single value. This causes some issues when we work

Preserve multi-value properties?

2010-01-22 Thread Rakesh Vidyadharan
The current import/export system does not preserve multi-values properties when they happen to have only a single value. This causes some issues when we work with known node structures, and where our application logic always ensures that a certain property is always created as multi-value.

Re: JCR session handling

2010-01-21 Thread Rakesh Vidyadharan
On 21 Jan 2010, at 11:41, John Tranier wrote: Hi everybody, I would like to have advices about how I should handle JCR sessions in my application context. I have read the guide on the wiki, but I'm not clear about what is called transient mods, if my application fall into it, and

Re: min max query

2010-01-12 Thread Rakesh Vidyadharan
this message in context: http://n4.nabble.com/min-max-query-tp1011086p1012075.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. Rakesh Vidyadharan President CEO Sans Pareil Technologies, Inc. http://sptci.com/ | 100 W. Chestnut, Suite 1305 | Chicago, IL 60610-3296 USA

Re: Practical limitations on the number of workspaces

2009-12-17 Thread Rakesh Vidyadharan
On 17 Dec 2009, at 10:46, Guo Du wrote: On Thu, Dec 17, 2009 at 3:15 PM, Alan Chaney a...@writingshow.com wrote: (which is a 3D modelling system) requires a very large number of references. However, David's Rule #5 - References considered harmful How large? If it's 1000+ per node and big

Re: Jackrabbit repository viewer?

2009-12-16 Thread Rakesh Vidyadharan
On 15 Dec 2009, at 22:04, Zhenhua Guo wrote: I wonder how you view the content in Jackrabbit repository for debugging. I tried to insert some nodes into repository and use the jackrabbit built-in webapp to browse the repository (via Remote access link like

Re: Filesystem versus PersistenceManager questions

2009-12-14 Thread Rakesh Vidyadharan
On 14 Dec 2009, at 13:24, ChadDavis wrote: 3) Is the Derby PM considered production worthy? Any reason not to use it? Personal I trust derby as a low overhead database with zero administration. It's not suitable if you have strong dba person which she/he may lose job:) You may use other db

Re: Filesystem versus PersistenceManager questions

2009-12-14 Thread Rakesh Vidyadharan
On Dec 14, 2009, at 1:52 PM, ChadDavis chadmichaelda...@gmail.com wrote: 3) Is the Derby PM considered production worthy? Any reason not to use it? Personal I trust derby as a low overhead database with zero administration. It's not suitable if you have strong dba person which she/he

Re: derby pm configuration

2009-12-14 Thread Rakesh Vidyadharan
Yes, that is what that configuration parameter does. Rakesh On Dec 14, 2009, at 2:07 PM, ChadDavis chadmichaelda...@gmail.com wrote: In the URL parameter, what is the create=true all about? Does this refer to whether the DB schema is created on initialization, if it doesn't already exist?

Re: ProxyRepository

2009-11-25 Thread Rakesh Vidyadharan
On 25 Nov 2009, at 15:55, ChadDavis wrote: In the standalone server, the JackrabbitRepositoryServlet creates the repository, then it stores a ProxyRepository, instead of the actual repository, in the servlet context. It appears that the proxy does nothing; it in fact returns the very same

Re: JackRabbit + JSP/JSTL

2009-11-23 Thread Rakesh Vidyadharan
On 23 Nov 2009, at 05:23, Torgeir Veimo wrote: 2009/11/23 Ben Short b...@benshort.co.uk: Is there any way to access the jcr api in a jsp file in a cleaner way or via jstl? Maybe try this code;

Re: David's Model question : nt:unstructured and SNS

2009-11-17 Thread Rakesh Vidyadharan
On 17 Nov 2009, at 5:32:13 AM, Ard Schrijvers wrote: I do not agree, and fortunately, mapping jcr nodes to simple java objects which again can be accessed from jsp / freemarker / velocity scripts feels much more natural to me, is quite easy: I do not want to burden other developers with

Re: David's Model question : nt:unstructured and SNS

2009-11-16 Thread Rakesh Vidyadharan
On 16 Nov 2009, at 6:38:34 AM, Alexander Klimetschek wrote: 2009/11/16 Fabián Mandelbaum fmandelb...@gmail.com: It's simpler than fiddling around with this low-level stuff actually: Just create a DAO to abstract all JCR operations (as you should be doing already) (To give my usual

Re: xpath

2009-11-12 Thread Rakesh Vidyadharan
On 12 Nov 2009, at 10:38:33 AM, nch wrote: Hi, there. I'm new to Jackrabbit and I'm having some problems to understand how xpath works here. If I have the following hierarchy: /test (jcr:folder) + file1.txt (jcr:file) + file2.txt (jcr:file) then I can retrieve all nodes in /test by

Re: JNDI datasource config help

2009-11-12 Thread Rakesh Vidyadharan
On 12 Nov 2009, at 6:32:07 PM, Phukan, Anit wrote: Thanks Rakesh, You are right about jboss having issues with java:comp/env prefix while accessing the jndi resource. After resolving that I get a different exception: Caused by: java.lang.ClassCastException:

Re: Equivalent JCR_SQL2 statement

2009-11-11 Thread Rakesh Vidyadharan
. Thanks, that is good news. I will stick to XPath for now. On Mon, Nov 9, 2009 at 14:32, Rakesh Vidyadharan rak...@sptci.com wrote: On 9 Nov 2009, at 1:36:25 AM, Thomas Müller wrote: select * from ['nt:unstructured'] where ['jcr:path'] like '/%/unitTestPage' and ['cms:nodeType'] = 'page

Re: 1.0 or 2.0

2009-11-11 Thread Rakesh Vidyadharan
On 11 Nov 2009, at 12:50:33 PM, Phukan, Anit wrote: Do I have to initialize the repository in my code in a different way to include the initialContext/lookup? I am also trying to read the datasource details from a properties.xml file. Till now I was using Repository repository = new

Re: SQL-2 Railroad Diagrams

2009-11-10 Thread Rakesh Vidyadharan
Thanks, this is very helpful indeed. Rakesh On 10 Nov 2009, at 9:18:32 AM, Thomas Müller wrote: Hi, I have create a first version of the SQL-2 railroad diagrams: http://www.h2database.com/jcr/grammar.html What do you think? So far it's just the diagrams, without textual description

Re: 1.0 or 2.0

2009-11-10 Thread Rakesh Vidyadharan
On 10 Nov 2009, at 12:25:08 PM, ChadDavis wrote: 2) If I go with 1.6, how difficult will a later migration to 2.0 be? What are the factors? I am currently working on migrating from 1.6 to 2 beta. I do not have any data yet (just code), but I assume XML import/export will work. The major

Re: 1.0 or 2.0

2009-11-10 Thread Rakesh Vidyadharan
On Nov 10, 2009, at 2:43 PM, ChadDavis chadmichaelda...@gmail.com wrote: On Tue, Nov 10, 2009 at 1:35 PM, Rakesh Vidyadharan rak...@sptci.com wrote: On 10 Nov 2009, at 12:25:08 PM, ChadDavis wrote: 2) If I go with 1.6, how difficult will a later migration to 2.0 be? What

Re: Equivalent JCR_SQL2 statement

2009-11-09 Thread Rakesh Vidyadharan
On Mon, Nov 9, 2009 at 8:20 AM, Thomas Müller thomas.muel...@day.com wrote: Hi, Try: select * from [nt:unstructured] where [jcr:path] like '/%/unitTestPage' and [cms:nodeType] = 'page' Regards, Thomas On Sun, Nov 8, 2009 at 5:30 AM, Rakesh Vidyadharan rak...@sptci.com wrote: Since

Re: Equivalent JCR_SQL2 statement

2009-11-09 Thread Rakesh Vidyadharan
] where [jcr:path] like '/%/unitTestPage' and [cms:nodeType] = 'page' Regards, Thomas On Sun, Nov 8, 2009 at 5:30 AM, Rakesh Vidyadharan rak...@sptci.com wrote: Since XPath is deprecated in JCR 2.0, I am trying to move to JCR_SQL2 (JR-2.0-beta1). I have the following XPath query: //unittestpa

Equivalent JCR_SQL2 statement

2009-11-07 Thread Rakesh Vidyadharan
Since XPath is deprecated in JCR 2.0, I am trying to move to JCR_SQL2 (JR-2.0-beta1). I have the following XPath query: //unittestpa...@cms:nodeType = 'page'] I tried writing the query in SQL as: select * from nt:unstructured where jcr:path like '/%/unitTestPage' and cms:nodeType = 'page'