workspaces, multiple repositories

2009-10-28 Thread ChadDavis
Hey. I'm in the design phase of a project. I'm going to use the JCR as my persistence for a content management system. In our production environment, we will have several instances of the CMS application running. Let's say that each of these instances is for a dedicated client hosted

Re: workspaces, multiple repositories

2009-10-28 Thread ChadDavis
From previous discussion in the maillist, workspace was designed for use case such as branches. Different workspaces share version history in a repository. Branches? Can you give me an example of what a branch is? Also, I don't understand what the significance of your comment about version

search questions

2009-11-08 Thread ChadDavis
1) Reading through the specification ( JCR 170 ) much of the search related specifications are optional. Does Jackrabbit implement most of these optionals? 2) I must say, I'm a bit impressed with the level of search that you get out of the box. Big step up functionally from my having to

1.0 or 2.0

2009-11-10 Thread ChadDavis
I'm starting a new project. The main development cycle will occur in the next 2-3 months. I would like to solicit opinions on whether the 2.0 version of jackrabbit should be my target platform. This depends upon a couple of things, that I'm aware of. 1) What's the time line for Jackrabbit 2.0

Re: 1.0 or 2.0

2009-11-10 Thread ChadDavis
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 are the factors? I am currently working on migrating from 1.6 to 2 beta.  I do not have any

Re: 1.0 or 2.0

2009-11-10 Thread ChadDavis
So, is 2.0 going to see a stable release in the next month? On Tue, Nov 10, 2009 at 3:33 PM, Alexander Klimetschek aklim...@day.com wrote: On Tue, Nov 10, 2009 at 22:53, Rakesh Vidyadharan rak...@sptci.com wrote: There is JQOM if you like expressing your queries as java objects and functions.  

deployment questions

2009-11-19 Thread ChadDavis
I'm in the early stages of a Jackrabbit based project. The existing application, to which I'm adding a Jackrabbit based feature, is a web application, running on Jetty. From a pure operational point of view, based upon our current circumstances, I initially thought we would deploy according to

maven compile java version

2009-11-23 Thread ChadDavis
In eclipse, with the m2eclipse plugin, my Jackrabbit 1.6 source won't compile. It failing to recognize assert and other java version related things. From the command line, I can build the project fine. But I wonder where the java version settings are? Doesn't maven use Java 1.3 by default?

Re: maven compile java version

2009-11-23 Thread ChadDavis
, On Mon, Nov 23, 2009 at 10:17 PM, ChadDavis chadmichaelda...@gmail.com wrote: In eclipse, with the m2eclipse plugin, my Jackrabbit 1.6 source won't compile.  It failing to recognize assert and other java version related things.  From the command line, I can build the project fine. But I wonder

Re: JCR-RMI, SPI, WEBDAV, and Sling's REST

2009-11-23 Thread ChadDavis
On Mon, Nov 23, 2009 at 2:49 PM, Dave Brosius dbros...@mebigfatguy.com wrote: Perhaps you are interested in this? http://jackrabbit.apache.org/jackrabbit-jcr-rmi.html I am interested in that. However, I've read that it's performance is horrible. Are you familiar with the performance? Also,

Re: JCR-RMI, SPI, WEBDAV, and Sling's REST

2009-11-23 Thread ChadDavis
On Sun, Nov 22, 2009 at 9:22 AM, Alexander Klimetschek aklim...@day.com wrote: On Fri, Nov 20, 2009 at 22:36, ChadDavis chadmichaelda...@gmail.com wrote: I'm having a hard time sorting out deployment information from the web site.  In perusing the mailing list, I find people recommending WEBDAV

Re: maven compile java version

2009-11-23 Thread ChadDavis
Just curious, why is Jackrabbit on 1.4? On Mon, Nov 23, 2009 at 2:31 PM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, On Mon, Nov 23, 2009 at 10:17 PM, ChadDavis chadmichaelda...@gmail.com wrote: In eclipse, with the m2eclipse plugin, my Jackrabbit 1.6 source won't compile.  It failing

Re: JCR-RMI, SPI, WEBDAV, and Sling's REST

2009-11-24 Thread ChadDavis
On Tue, Nov 24, 2009 at 1:05 AM, Alexander Klimetschek aklim...@day.com wrote: On Mon, Nov 23, 2009 at 22:53, ChadDavis chadmichaelda...@gmail.com wrote: On Mon, Nov 23, 2009 at 2:49 PM, Dave Brosius dbros...@mebigfatguy.com wrote: Perhaps you are interested in this? http

Re: JCR-RMI, SPI, WEBDAV, and Sling's REST

2009-11-25 Thread ChadDavis
Thanks for your help. I have another question below. The TransientRepository is not a tutorial-type thing, it's to be used when you want to run Jackrabbit in your standalone application. It says that it destroys the repository when the last session expires, then recreates the repo when

Re: [ANNOUNCE] Apache Jackrabbit 2.0 beta3 released

2009-11-25 Thread ChadDavis
I'm sure everyone asks this, and maybe it's an unanswerable question. But . . . I'm starting a project, with an intended completion date of March. Is Jackrabbit 2.0 on pace to see an official release this winter? On Wed, Nov 25, 2009 at 10:24 AM, Jukka Zitting ju...@apache.org wrote: The

Re: [ANNOUNCE] Apache Jackrabbit 2.0 beta3 released

2009-11-25 Thread ChadDavis
I'm personally hoping to have the release out already this year, but I'm known to be too optimistic about release schedules. :-) Me too. Thus, my March may actually be April . . .

branch or tag

2009-11-25 Thread ChadDavis
If I want to checkout a certain version of a release, say 1.6, to peruse and build in my local workspace. Should I checkout from branch/1.6 or tag/1.6? I assume it's tag, but I'm not accustomed to an organized build process ;) Isn't the branch/1.6 an moving target? I.e. this is where bug fixes

Re: branch or tag

2009-11-25 Thread ChadDavis
But that explains why the 1.6 branch, that I check out, has SNAPSHOT artifact names in the pom? On Wed, Nov 25, 2009 at 11:19 AM, Alexander Klimetschek aklim...@day.com wrote: On Thu, Nov 26, 2009 at 01:44, ChadDavis chadmichaelda...@gmail.com wrote: If I want to checkout a certain version

Repository Creation questions

2009-11-25 Thread ChadDavis
I'm looking at the standalone server code and I see that the creation of the underlying repository does not use the factory pattern. It instead uses the create method of the RepositoryImpl class itselt. Here's the code: repository = RepositoryImpl.create(RepositoryConfig.create(

ProxyRepository

2009-11-25 Thread ChadDavis
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 repository that was created earlier, but through

2.0 maven artifacts

2009-11-25 Thread ChadDavis
Why aren't the 2.0 maven artifacts available in the maven central repo? Is this because of the beta status?

RMI Shutdown

2009-11-30 Thread ChadDavis
I'm creating my own server wrapper around a RMI exposed repository. I'm trying to figure out how to properly write the shutdown method. In my start up method, I do the following: RemoteRepository remote = factory.getRemoteRepository(repository); Registry reg =

Re: RMI Shutdown

2009-12-01 Thread ChadDavis
The ServerRepository does not implement the JackrabbitRepository interface, in fact the jcr-rmi libray does not contain an implementation of that, thus there is no official shutdown method in this context (would probably be an interesting extension, though). What exactly does the

Re: Filesystem versus PersistenceManager questions

2009-12-04 Thread ChadDavis
BTW, I'm using 2.0-beta3. On Fri, Dec 4, 2009 at 4:28 PM, ChadDavis chadmichaelda...@gmail.com wrote: I'm reading the PersistenceManager FAQ [1].  There's a part where it discusses What combination of FS and PM is the best choice?  In reading through this section I have a couple of questions

DataStore

2009-12-04 Thread ChadDavis
In the default repository.xml, the datastore element is configured: DataStore class=org.apache.jackrabbit.core.data.FileDataStore/ Is this all that is needed for the PM to hand off binary storage to the datastore? There doesn't appear to be any wiring of the PM, or the Workspace, to the

jackrabbit configuration defaults

2009-12-04 Thread ChadDavis
I've just read through all of the configuration information on the jackrabbit web site. As far as I can tell, the default settings are pretty solid. I don't have any requirements for storing things in a particular db. I have application level security that will suffice for now. Maybe I'm

handler instantiation

2009-12-10 Thread ChadDavis
I'm writing a custom handler. Jetty 6.1. Is an instance of a handler created for each request. In other words, can I store stuff in instance variables that pertains the logic of the handle method? I'm thinking not.

Re: handler instantiation

2009-12-10 Thread ChadDavis
Please ignore this post. Sorry. On Thu, Dec 10, 2009 at 11:33 AM, ChadDavis chadmichaelda...@gmail.com wrote: I'm writing a custom handler.  Jetty 6.1.  Is an instance of a handler created for each request.  In other words, can I store stuff in instance variables that pertains the logic

Re: Filesystem versus PersistenceManager questions

2009-12-14 Thread ChadDavis
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 if: * Prepared to manage database. * Multi

Re: Filesystem versus PersistenceManager questions

2009-12-14 Thread ChadDavis
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 if: * Prepared to manage database. * Multi

derby pm configuration

2009-12-14 Thread ChadDavis
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? PersistenceManager class=org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager param name=url

Re: derby pm configuration

2009-12-14 Thread ChadDavis
On Mon, Dec 14, 2009 at 3:25 PM, Guo Du mrdu...@gmail.com wrote: On Mon, Dec 14, 2009 at 8: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

Re: Jackrabbit support (paid or otherwise)

2009-12-14 Thread ChadDavis
+1 On Fri, Dec 4, 2009 at 2:29 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, On Thu, Dec 3, 2009 at 11:28 PM, Samuel Cox crankydi...@gmail.com wrote: I'm unaware of anything outside of what is published from the Jackrabbit site (this mailing list).  Does anyone else know of anything

JCR-RMI 1.5 with Jackrabbit 2.0

2010-01-04 Thread ChadDavis
I'm having problem creating a Binary value. I searched this list and discovered that the JCR-RMI package simply doesn't support this 2.0 feature. The old thread suggests that the RMI stuff might not ever be updated to support the full 2.0 functionality. Is this true? Is there any way to create

Re: JCR-RMI 1.5 with Jackrabbit 2.0

2010-01-04 Thread ChadDavis
On Mon, Jan 4, 2010 at 3:10 PM, Alexander Klimetschek aklim...@day.com wrote: On Mon, Jan 4, 2010 at 21:54, ChadDavis chadmichaelda...@gmail.com wrote: I'm having problem creating a Binary value.  I searched this list and discovered that the JCR-RMI package simply doesn't support this 2.0

Re: remote JCR

2010-01-04 Thread ChadDavis
On Fri, Jan 1, 2010 at 8:09 AM, Mat Lowery mlow...@pentaho.com wrote: I'm trying to wrap my head around Deployment Model 3: Repository Server. Can anyone confirm that my understanding is accurate?  My understanding is that there are two ways to access a repository remotely: RMI and WebDAV.  If

SPI remoting

2010-01-04 Thread ChadDavis
After reading the documentation, it seems that the following two remote repository architectures are possible: 1) SPI Server with RMI remoting Client side: MyApp + jcr2spi Server Side: spi2jcr ( RepositoryServiceImpl ) + spi-rmi 2) SPI / Webdav remoting Client side: MyApp + jcr2spi

spi2dav versus spi2davex

2010-01-05 Thread ChadDavis
I see two things in the jackrabbit-spi2dav component. I'm on 2.0. What is the difference between these?

remoting with spi2dav

2010-01-05 Thread ChadDavis
I'm following the bit of a tutorial found at: http://wiki.apache.org/jackrabbit/RemoteAccess When I try to connect, I get an error that seems to indicate that the appropriate factory can't be found. I have put this appropriate jar on the classpath, however, as the tutorial says. Here's the

Re: remoting with spi2dav

2010-01-05 Thread ChadDavis
Doesn't the jackrabbit-spi2dav jar need a service file in it's manifest folder? On Tue, Jan 5, 2010 at 5:50 PM, ChadDavis chadmichaelda...@gmail.com wrote: I'm following the bit of a tutorial found at: http://wiki.apache.org/jackrabbit/RemoteAccess When I try to connect, I get an error

standalone versus jackrabbit-webapp

2010-01-07 Thread ChadDavis
The website says that the standalone server [1] is a convenience package, and it recommends using the jackrabbit-webapp package instead. From what I can tell, the standalone server is using the jackrabbit-webapp itself. I'm remoting the repository with the jcr2spi + spi2davex packages. It what

jackrabbit-webapp dependency on jasper

2010-01-07 Thread ChadDavis
Running in Tomcat, everything is good. But when I try to run the jackrabbit-webapp in Jetty, I get the following error complaining about the lack of jasper. What's going on here? Do I need to get the jasper dependency myself if I'm running in Jetty? 2010-01-07 17:55:25.944:INFO::NO JSP Support

Re: jackrabbit-webapp dependency on jasper

2010-01-07 Thread ChadDavis
I fixed this myself. Jetty needs to be configured to use the JSP engine. By default, it does not include JSP support. On Thu, Jan 7, 2010 at 5:56 PM, ChadDavis chadmichaelda...@gmail.com wrote: Running in Tomcat, everything is good.  But when I try to run the jackrabbit-webapp in Jetty, I get

jackrabbit-webapp configuration

2010-01-09 Thread ChadDavis
I'm trying to figure out how to configure the jackrabbit-webapp web application and the enclosed repository. In the javadoc for org.apache.jackrabbit.j2ee.RepositoryStartupServlet, it says: When using the first time, the configuraition can miss the relevant repository parameters in the web.xml.

problems running jackrabbit-webapp

2010-01-09 Thread ChadDavis
Jackrabbit 2.0 I'm trying to run the jackrabbit-webapp application. I've reviewed the mailing list for related threads. A couple of threads discuss this topic but do not resolve it, and I can find no documentation. I've explicitly documented my failed attempts. Please insert helpful

Re: problems running jackrabbit-webapp

2010-01-09 Thread ChadDavis
Does it matter if the WAR is not running in exploded directory format? On Sat, Jan 9, 2010 at 6:06 PM, ChadDavis chadmichaelda...@gmail.com wrote: Jackrabbit 2.0 I'm trying to run the jackrabbit-webapp application.  I've reviewed the mailing list for related threads.  A couple of threads

Re: [ANNOUNCE] Apache Jackrabbit 2.0 beta5 released

2010-01-11 Thread ChadDavis
Cheers! Thanks for the work. On Mon, Jan 11, 2010 at 10:46 AM, Jukka Zitting ju...@apache.org wrote: The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit 2.0 beta5. The release is available for download at:    http://jackrabbit.apache.org/downloads.html

configuring boostrap of jackrabbit-webapp

2010-01-12 Thread ChadDavis
I'm using the webapp and am having trouble finding documentation of how to manage the bootstrapping of the repository. Perhaps someone can advise me. I'm on Jackrabbit 2.0, BTW. Goals: 1) no RMI 2) no JDNI ( is this an option even ) 3) start up from a bootstrap.properties file with no existing

jackrabbit-webapp bootstrapping

2010-01-12 Thread ChadDavis
From the documentation, I understand that the initial startup of the webapp, when the repository needs to be created for the first time, can use one of two choices: 1) bootstrap.properties 2) in the absence of this file, a repository setup wizard that is bundled with the webapp My intent is to

jcr2spi spi2dav performance issue

2010-01-18 Thread ChadDavis
I'm load testing my application. The application is a web application that connects to a remote Jackrabbit server ( which is the jackrabbit webapp deployed in a Jetty instance ). The connection is using jcr2spi + spi2davex. I'm on jackrabbit 2.0-beta3. Our load tests show that the client side

Re: Remote repository

2010-01-18 Thread ChadDavis
On Sun, Jan 17, 2010 at 11:49 AM, Christopher M. Logan chrismik...@gmail.com wrote: I've been seeing other messages on the mailing list talking about the spi2jcr for remote access.  Was the spi meant for this usage?  Is there anything available that shows remote access using the spi? Should

verify my remoting

2010-01-18 Thread ChadDavis
I'm using the JcrUtils.getRepository() line in my code, passing it the uri parameter to point to my JCR WebDAV remoted repository. I noticed that the jar I have includes two factories, one for spi2dav and one for spi2davex. I want to be using davex, but I can't confirm that this is happening.

Re: Remote repository

2010-01-21 Thread ChadDavis
On Wed, Jan 20, 2010 at 6:50 PM, Christopher M. Logan chrismik...@gmail.com wrote: I'm going to rebuild my repository server with 2.0 . From what I understand. I can add what I need incrementally. From what I understand, I'll start the server and add the web dav component I think you want to

Re: jcr2spi spi2dav performance issue

2010-01-21 Thread ChadDavis
Ping. Does anyone know anything about this? I looked into the code a bit and it seems like that it might be a case of the HttpClient api usage. I'd be willing to invest some time into this issue, provided that some one could give me some pointers. On Mon, Jan 18, 2010 at 12:30 PM, ChadDavis

Re: JCR session handling

2010-01-21 Thread ChadDavis
On Thu, Jan 21, 2010 at 10:41 AM, John Tranier john.tran...@fylab.com 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

node type inheritance

2010-01-21 Thread ChadDavis
In the JCR 2.0 specification, one of the built in node types appears to inherit from a mixin type. To be specific: [nt:hierarchyNode] mix:created abstract Doesn't this mean that hierachyNode, a primary node type, uses a mixin type as a it's superclass? In other words, it doesn't have nt:base

registering new node types

2010-01-21 Thread ChadDavis
I want to register new node types with my repository. It's running as a WebDAV exported repo. I tried to the JCR code found at [1], but it doesn't work. It breaks with a class cast exception on converting the nodetypemanager to a jackrabbit node type manager. Here's the offending line from

Re: registering new node types

2010-01-21 Thread ChadDavis
I tried the straight JCR API to add new node types. It throws: java.lang.UnsupportedOperationException: JCR-2003. Implementation missing Does this mean that the jcr2spi repository doesn't support registration of node types? On Thu, Jan 21, 2010 at 1:28 PM, ChadDavis chadmichaelda...@gmail.com

Re: registering new node types

2010-01-21 Thread ChadDavis
On Thu, Jan 21, 2010 at 2:28 PM, Michael Dürig michael.due...@day.com wrote: Chad, Not all operations are supported on the SPI (yet). It should be fairly complete with respect to JSR-170. Some of the JSR-283 functionality is still missing though. See also Jukka's recent mail on the topic

Re: registering new node types

2010-01-22 Thread ChadDavis
On Thu, Jan 21, 2010 at 3:17 PM, Michael Dürig michael.due...@day.com wrote: What are my options for creating node types, then?  Is it possible from the jcr2spi + spi2davex client at all? You either have to do it on the server side, wait for someone to implement the missing functionality or

Re: Which jar to use to add Jackrabbit to a web app as a resource?

2010-01-23 Thread ChadDavis
I recommend using the jackrabbit-webapp webapp. It has a servlet that is there just to provide access to the repository, which is bootstrapped by another servlet dedicated to that purpose. I think this module contains all dependencies except for the jcr jar itself. On Sat, Jan 23, 2010 at 8:42

node type registration behavour

2010-01-23 Thread ChadDavis
I'm using the following line of code to register custom node types, Jackrabbit-2.0-beta3. manager.registerNodeTypes(new FileInputStream(./nodeTypes.cnd), JackrabbitNodeTypeManager.TEXT_X_JCR_CND); This works great, but not exactly as I expected. I expected that I could keep a single node type

Re: node type registration behavour

2010-01-25 Thread ChadDavis
IMO no ;) but there following method pretty much does what you'e looking for: http://jackrabbit.apache.org/api/1.6/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.html#registerNodeTypes(java.io.InputStream,%20java.lang.String,%20boolean) That method no longer exists in 2.0. Seems

Re: node type registration behavour

2010-01-25 Thread ChadDavis
Thanks. Perfect. On Mon, Jan 25, 2010 at 3:34 PM, Justin Edelson justinedel...@gmail.com wrote: On 1/25/10 5:14 PM, ChadDavis wrote: IMO no ;) but there following method pretty much does what you'e looking for: http://jackrabbit.apache.org/api/1.6/org/apache/jackrabbit/core/nodetype

namespace usage

2010-01-26 Thread ChadDavis
I'm coming up with my content model right now. I'm working on a CMS system. Some of my node types define the structure of actual documents in my CMS. Other node types define stuff like folders or search facets. I can't decide on the best way to organize node types. Should I create different

data first, structure on demand

2010-01-26 Thread ChadDavis
I've read a lot of stuff regarding the use of unstructured and avoiding structured node types as long as possible. I think I have a compelling reason to use a structured node type pretty early in my project . . . I'd like some thoughts from others who've been down this road. I want to be enable

Re: data first, structure on demand

2010-01-26 Thread ChadDavis
Jcr node type is kind of database schema, once defined, it's expensive to update/upgrade. I don't care about expensive -- I'm only considering an very rare event; not something triggered by users, or regular application level actions. Does this make sense?

Re: data first, structure on demand

2010-01-26 Thread ChadDavis
You might want to look at http://sling.apache.org I'll take a look. I haven't looked a sling before because I understand it to be a web application framework. I'm building a CMS feature into an existing application that has it's own web application framework. Is it easy to integrate sling

reading JCR api out of session

2010-01-26 Thread ChadDavis
I noticed that if I ready the PropertyDefintion.getName() outside of the scope of the session, it returns an expanded name, rather than the qualified name indicated in the JCR 2.0 specs. I then observed that, in scope of a session, this returns the qualifed name as advertised. Incidentally,

XML import example

2010-02-02 Thread ChadDavis
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: XML import example

2010-02-03 Thread ChadDavis
But that page is returning  an invalid/unsupported form of compression error. The link works fine for me at this point of time. Indeed, it seems to have been healed. -Guo

nuances of importing XML data

2010-02-03 Thread ChadDavis
I would like my app to import some data from system view XML at startup. It's a sort of configuration file. To import my file, I'm using the following code: session.importXML( /, fileInputStream , ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING ); This import occurs, as

Re: CND Definition Question:

2010-02-06 Thread ChadDavis
You should try to determine if your node types are actually loaded. On Fri, Feb 5, 2010 at 10:20 PM, Jeremy Norris jnor...@pattern73.com wrote: What is wrong with the following CND definition?  I am trying to enforce that a node of type Foo contains a node of type Bar. --- nt  =

repo browser

2010-02-08 Thread ChadDavis
Is there a repo browser that can show me the node structure, complete with properties, node types, property types, etc.?

dumb question, possible off topic

2010-02-10 Thread ChadDavis
I'm writing code to handle binary files. I'm following the specifications recommended use of the nt:file and nt:resource node types. Perhaps just because it's there, I'm trying to do wrap my head around what I could be doing with the encoding attribute. But I clearly am lacking some info: 1)

upgrade from 2.0-beta3 to 2.0.0 breaks app

2010-02-12 Thread ChadDavis
I'm having trouble figuring out what has changed from beta3 to 2.0.0. My app can no longer connect to my remote repository. My repository is exposed via the webdav remoting server. I am connecting with jcr2spi + spi2davex. Previously, this was working for me with the following code:

Re: upgrade from 2.0-beta3 to 2.0.0 breaks app

2010-02-12 Thread ChadDavis
12, 2010 at 5:26 PM, ChadDavis chadmichaelda...@gmail.com wrote: I'm having trouble figuring out what has changed from beta3 to 2.0.0. My app can no longer connect to my remote repository. My repository is exposed via the webdav remoting server.  I am connecting with jcr2spi + spi2davex

Re: What are workspaces?

2010-02-13 Thread ChadDavis
I think alot of people find the concept of workspaces a bit challenging. I certainly did. Mostly due to misconceptions. I kept thinking of it as something akin to a RDBMS schema; a user's section of the db with all of their related data structures. However, workspaces are nothing like this.

import with a contentHandler

2010-02-15 Thread ChadDavis
Until I recently read through the specification, I was assuming that the contentHandler import methods would allow me to write my own contentHandler methods to process the incoming data. But it doesn't seem to work like that. In fact, I can't really figure out how it works. Can some one explain

jackrabbit 2.0 query

2010-02-17 Thread ChadDavis
I'm just getting started with my search implementation, but I've noticed what appears to be a bug. The following line returns null: session.getRepository().getDescriptor(Repository.QUERY_LANGUAGES ) and this next code returns four supported options: queryManager.getSupportedQueryLanguages();

Re: jackrabbit 2.0 query

2010-02-17 Thread ChadDavis
On Wed, Feb 17, 2010 at 12:30 PM, Alexander Klimetschek aklim...@day.com wrote: On Wed, Feb 17, 2010 at 20:09, ChadDavis chadmichaelda...@gmail.com wrote: I'm just getting started with my search implementation, but I've noticed what appears to be a bug.  The following line returns null

Re: jackrabbit 2.0 query

2010-02-17 Thread ChadDavis
I entered the ticket. On Wed, Feb 17, 2010 at 1:36 PM, Alexander Klimetschek aklim...@day.com wrote: On Wed, Feb 17, 2010 at 20:36, ChadDavis chadmichaelda...@gmail.com wrote: On Wed, Feb 17, 2010 at 12:30 PM, Alexander Klimetschek aklim...@day.com wrote: On Wed, Feb 17, 2010 at 20:09

Jackrabbit 2.0.0 query language choices

2010-02-17 Thread ChadDavis
I'm starting to implement some search functionality in my application. I'm confronted with the choice between four supported query languages: sql, xpath, jcr-sql2 and jcr-jqom. I understand how these languages all sit on top of the AQM. And I understand what each of them is . . . I'm familiar

jackrabbit 2.0 binary search indexing

2010-02-18 Thread ChadDavis
I'm looking for information on how to enable binary search indexing. I found documentation for pre-2.0 jackrabbit, and reference to the fact that Tika is now used internally for the binary indexing. However, I can't find any documentation of how to enable the binary indexing . . .. Can some one

Re: repo browser

2010-02-18 Thread ChadDavis
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 additional 2.0 features as well as RMI connection

Re: repo browser

2010-02-18 Thread ChadDavis
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 that a different app?' BTW . . . is it possible to

Re: repo browser

2010-02-18 Thread ChadDavis
You can connect over RMI if the other application exposes the RMI server.   Alternative would be to configure the repository as a JEE resource and make available to both applications (assuming they are both web apps).  The web.xml and context.xml files in the war file have commented out

Re: jackrabbit 2.0 binary search indexing

2010-02-18 Thread ChadDavis
On Thu, Feb 18, 2010 at 2:39 PM, Alexander Klimetschek aklim...@day.com wrote: On Thu, Feb 18, 2010 at 18:35, ChadDavis chadmichaelda...@gmail.com wrote: I'm looking for information on how to enable binary search indexing. I found documentation for pre-2.0 jackrabbit, and reference to the fact

Re: jackrabbit 2.0 binary search indexing [SEC=UNCLASSIFIED]

2010-02-18 Thread ChadDavis
. The mimeType attribute will be application/octet-stream. Perhaps there is no plug-in that knows how to extract text from your binary files? I tried pdf, word, and a plain text file . . . how long does it take for a doc to be indexed? From:        ChadDavis chadmichaelda...@gmail.com

Re: jackrabbit 2.0 binary search indexing [SEC=UNCLASSIFIED]

2010-02-18 Thread ChadDavis
On Thu, Feb 18, 2010 at 5:41 PM, ross.dy...@ipaustralia.gov.au wrote: I only have a small dataset in my test application (100 docs), it certainly only takes a few seconds to be available for the keyword search. I figured it out. User error.

search performance

2010-02-18 Thread ChadDavis
I always understood the joins were one of the most expensive RDBMS operations. With this in mind, I'm wondering whether I should use a join ( JCR-JQOM ) or do two independent searches and combine the results myself. Or if there is even a difference. In my search, I need to hit two nodes of two

Re: jackrabbit 2.0 binary search indexing

2010-02-19 Thread ChadDavis
Make sure you have all the extractors configured you need. This is done in the SearchIndex configuration. You can also look this up at the wiki Is this necessary for jackrabbit 2.0?

FullTextSearchScore operand

2010-02-19 Thread ChadDavis
I'm trying to figure out exactly how to use the FullTextSearchScore operand. Can some one provide a simplest case usage example? JCR-JQOM, Jackrabbit 2.0.0

JQOM Descendant Node Constraint Problem

2010-02-22 Thread ChadDavis
Jackrabbit 2.0.0 I'm AND'ing a FullTextSearch constraint with a DescendantNode constraint. If I use the root node as the path to the descendent node constraint, i.e. if I use /, then it works. However, if I specify the path to one of my own application defined nodes in the repository, the

Re: JQOM Descendant Node Constraint Problem

2010-02-22 Thread ChadDavis
Okay. I think I've narrowed it down. I've found two bugs / behavioral issues in the DescendantNode factory creation method. 1) Requires that the absolute path ends with a slash In other words: qomFactory.descendantNode(mySelector,/documents/myFolder ); does not work, but the following

Jackrabbit 2.0.0 Query Issues

2010-02-23 Thread ChadDavis
I'm unable to correctly execute the following search logic. I have a folder node with documents and folders in it. I would like to search the folder's contents, but I would NOT like the search to enter the child folders. Assume the following folder structure: With this in mind, I'm trying to

jackrabbit 2.0 query options

2010-02-24 Thread ChadDavis
I chose to use the JQOM API for my search implementation. However, it's a bit buggy, I think. Could be user error, but I think there are some bugs. Would it be worth my time to switch to one of the other query API's on the basis that something like XPath, which seems to enjoy a larger user

jackrabbit 2.0 search bugs

2010-03-10 Thread ChadDavis
I've encountered several bugs, using the JQOM interface. I posted those bugs to this list, but got no response. Perhaps there are very few users using the JQOM interface? If anyone has been successfully using one of the other query interfaces ( xpath, sql, etc ) in jackrabbit 2.0, please let me

Re: SQL2 join question

2010-03-10 Thread ChadDavis
I've not used the sql query interface; I've been trying to use the jqom. So, I don't have any specific advise about hot to create an sql query, but I may have some conceptual pointers that could possible help. A join is a join of two types of node types -- a node type being equivalent to a

Re: jackrabbit 2.0 search bugs

2010-03-11 Thread ChadDavis
On Thu, Mar 11, 2010 at 5:27 AM, Gadbury gadb...@googlemail.com wrote: I just recently upgraded from 1.6 to 2.0.  My existing xpath queries are still working fine.  I have used a couple of sql2-based queries using join which seem to be working fine. Do your xpath queries have multiple

  1   2   3   >