Hello, I took one of those you mention, changed all jars with JR 2.2.x's and its dependencies, modified the script to use those jars instead, added the jar for H2 (my storage backend) too, and I can use it to browse JR 2.2.x repos (tried with JR 2.2.4, but should work for others). Not all features of the software work though, but for just browsing it's fine.
Here's the modified script: #!/bin/sh java -Dlog4j.configuration=log4j.properties \ -cp \ asm-3.1.jar:\ bcmail-jdk15-1.45.jar:\ bcprov-jdk15-1.45.jar:\ boilerpipe-1.1.0.jar:\ commons-codec-1.4.jar:\ commons-collections-3.2.1.jar:\ commons-compress-1.1.jar:\ commons-dbcp-1.2.2.jar:\ commons-fileupload-1.2.1.jar:\ commons-httpclient-3.0.jar:\ commons-io-1.4.jar:\ commons-pool-1.3.jar:\ concurrent-1.3.4.jar:\ derby.jar:\ dom4j-1.6.1.jar:\ fontbox-1.3.1.jar:\ geronimo-stax-api_1.0_spec-1.0.1.jar:\ h2.jar:\ jackrabbit-api-2.2.4.jar:\ jackrabbit-core-2.2.4.jar:\ jackrabbit-jcr-commons-2.2.4.jar:\ jackrabbit-jcr-rmi-2.2.4.jar:\ jackrabbit-jcr-server-2.2.4.jar:\ jackrabbit-jcr-servlet-2.2.4.jar:\ jackrabbit-spi-2.2.4.jar:\ jackrabbit-spi-commons-2.2.4.jar:\ jackrabbit-webdav-2.2.4.jar:\ jcr-2.0.jar:\ jdom-1.0.jar:\ jempbox-1.3.1.jar:\ log4j-1.2.15.jar:\ log4j-over-slf4j-1.5.11.jar:\ logback-classic-0.9.20.jar:\ logback-core-0.9.20.jar:\ lucene-core-2.4.1.jar:\ metadata-extractor-2.4.0-beta-1.jar:\ netcdf-4.2-min.jar:\ pdfbox-1.3.1.jar:\ poi-3.7.jar:\ poi-ooxml-3.7.jar:\ poi-ooxml-schemas-3.7.jar:\ poi-scratchpad-3.2-FINAL.jar:\ poi-scratchpad-3.7.jar:\ rome-0.9.jar:\ slf4j-api-1.5.11.jar:\ slf4j-api-1.5.8.jar:\ slf4j-log4j12-1.5.8.jar:\ tagsoup-1.2.jar:\ tika-core-0.8.jar:\ tika-parsers-0.8.jar:\ tm-extractors-1.0.jar:\ xmlbeans-2.3.0.jar:\ jcrconnector.jar startConnector Hope this helps. On Sun, Jun 12, 2011 at 4:44 AM, Alex Henderson <[email protected]> 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? > > I did manage to download and connect using to my standalone instance using > the "JCR Browser" off sourceforge - (had to use the "HTTP" connection > method, but unforutnately it doesn't seem to be able to deserialize any of > the property values in the workspace I'm examining, which is using MySql > persistence - whenever I fetch the value of a property for a node, I get > this error: > > Could not get the String-Value of the property => > *java.rmi.UnmarshalException: > error unmarshalling return; nested exception is: > **java.io.InvalidClassException: > org.apache.jackrabbit.rmi.value.ReferenceValue; local class incompatible: > stream classdesc serialVersionUID = 5245358709465803351, local class > serialVersionUID = -3160494922729580458* > * > * > Which I'm guessing is because the JCR Browser is using the v1.5 jackrabbit > jars. > > I tried updating the jars by copying in the new files and updating manifests > etc. - but this just broke the JCR browser completely. > > Since then I've also tried the JCR Controller, and jrviewer - but neither of > these seemed to work at all. > > I'm a total jackrabbit newbie - so being able to visualize the set of data > I'm having to work against (from a 3rd party tool) would be really helpful. > > Cheers, > > Alex > -- Fabián Mandelbaum IS Engineer
