Re: [Jcrbrowser-developers] Updating JCR Browser Standard from 0.94 to 0.95 Beta 1
Brought to you by:
sandro_boehme
From: James G. <ga...@go...> - 2009-08-11 13:15:04
|
Hi all, I have solved the issue I had with multi-value properties not displaying, and search for a node by XPath not working. The error that was displaying when I tried either of these features was: Error unmarshaling return; nested exception is: java.net.MalformedURLException: no protocol: Files/Apache: Error unmarshaling return; nested exception is: java.net.MalformedURLException: no protocol: Files/Apache The solution was to reinstall Tomcat 6.0 to a path with no whitespace. i.e. C:\Apache\Tomcat_6.0 Hope this helps. Kind regards, James 2009/8/10 Sandro Boehme <san...@gm...> > Maybe you can crosscheck that the RMI-URL does not contain invalid > characters or leading or trailing whitespaces and that also the nodes do > not contain invalid characters. > If nothing quick helps I guess one would just need to debug to find out > what causes > "java.net.MalformedURLException: no protocol: Files/Apache". > BTW: you should also be able to reproduce this if you connect to your > repository via RMI by yourself when you call > node.getProperty("yourProperty").getString() > > Bye, > > Sandro > > James Gadbury schrieb: > > > > > > 2009/8/10 Sandro Boehme <san...@gm... <mailto: > san...@gm...>> > > > > Hi James, > > > > if I understand you correctly you got the 0.95 Standard version > working > > by putting the the old 0.94 plugins and the 0.95 plugins in the > plugin > > directory? If that's the case, thats really wired :-). > > > > > > Correct :) I restored the old deleted 0.94 files and 0.94 worked. I > > added 0.95 files in the plugins folder too and 0.95 worked. > > > > > > > > The only thing that differs between your home pc and your pc at work > is > > the content of the repository, right? Did you check, if Jackrabbit is > > really configured equally? E.g. checking if all Jackrabbit libraries > and > > config files are at the same directories and the config files are the > > same? > > > > > > There are minimal differences. I use the m2eclipse plugin for Eclipse > > so the project is Maven2 based and the project's libraries will be > > identical. I also use the same Jackrabbit configuration file. The > > repository contains the same test data from my JUnit test suite so > > content is the same. The repository is also in the same location on the > > same drive letter. > > > > I think what I may do is try to configure the project on another work PC > > and see if I encounter the same problem. > > > > > > > > Can you copy the repository you used at home to your pc at work to > > use the environment of your pc at work to connect to the repository > > that worked at home? If this works the problem can only be the > > configuration of the Jackrabbit instance. > > Good luck. > > > > > > Good idea. I shall try this. Thanks for the suggestions. > > > > Cheers, > > > > James. > > > > > > > > James Gadbury schrieb: > > > Hi Sandro. > > > > > > I now have 0.95 Standard and Standalone Edition working - thank > > you. I > > > restored version 0.94 and added the 0.95 JARs in to the plugins > > folder > > > too. I didn't realise I could have both versions within the > > plugins folder. > > > > > > Unfortunately, I still have the issue with the multi-value > properties > > > and searching for a node by XPath on my work PC, giving the error > > message: > > > > > > Error unmarshaling return; nested exception is: > > > java.net.MalformedURLException: no protocol: Files/Apache: > Error > > > unmarshaling return; nested exception is: > > > java.net.MalformedURLException: no protocol: Files/Apache > > > > > > However, I do not get this on my home PC and I can see multi-value > > > properties. Both are using Eclipse Galileo, Windows XP > Profressional > > > with SP3, Jackrabbit 1.5.7 and JCR Browser 0.95 > > > > > > Perhaps it is time to rebuild my work PC :) > > > > > > Enjoy your vacation. Kind regards, > > > > > > James > > > > > > 2009/8/10 Sandro Boehme <san...@gm... > > <mailto:san...@gm...> <mailto:san...@gm... > > <mailto:san...@gm...>>> > > > > > > Hi James, > > > > > > it should generally work to just drop in the new jars. The > > Eclipse OSGI > > > classloader can handle duplicate plugins and can load plugins > > with the > > > highest version number first. > > > The empty JCR perspective might be an orphaned information in > the > > > workspace that has not been cleaned up by "-clean". But to > > find out why > > > the 0.95 Beta 1 of the JCR Browser is not showing up I would > > really need > > > to debug that concrete scenario. I guess that something in > > your Eclipse > > > installation is corrupted. > > > Anyway - the good news is, that there is a standalone version > > of the JCR > > > Browser. This should work without problems. Please tell me if > > that > > > worked for you. > > > > > > Best, > > > > > > Sandro > > > > > > > > > James Gadbury schrieb: > > > > Hi all, > > > > > > > > Sorry to over-use this support recently but I'm not sure > where > > > else to > > > > ask :) > > > > > > > > I have been using Jackrabbit 1.4 and JCR Browser 0.94 on > > my work > > > PC. I > > > > would like to update to JCR Browser 0.95 Beta 1 and > Jackrabbit > > > 1.5.7 as > > > > using this combination on my home PC has allowed me to view > > > multi-value > > > > properties. On my work PC, although I have upgraded to > > Jackrabbit > > > > 1.5.7, using JCR Browser 0.94 does not allow me to view > > multi-value > > > > properties. I am hoping an update to 0.95 Beta 1 will > > alow me to > > > view them. > > > > > > > > I have removed all 0.94 org.visualcontent folders / jars > > from my > > > > Eclipse/plugins folder and pasted in the jars from the > > 0.95 Beta 1 > > > > download. I have restarted Eclipse with the -clean flag. > > Under > > > Windows > > > > > Preferences, I no longer get the JCR Browser menu, and > if I > > > view my > > > > Eclipse perspectives, <JCR> is at the top of the list > > (with the > > > angled > > > > brackets), but JCR's associated views are not present. It > > seems that > > > > the old version has not been completely removed. > > > > > > > > I am certain that all org.visualcontent jars and folders > > were removed > > > > from the Eclipse/plugins folder. I have also searched the > > Eclipse > > > > folder for any files containing the words 'jcr' and > > > 'visualcontent', but > > > > nothing exists. > > > > > > > > Does anyone know why the <JCR> perspective is still > > visible when > > > no JARs > > > > are in plugins and why the 0.95 Beta 1 version is not > > being picked up > > > > when I paste the JARs in? On my PC at home, I am also > > using Eclipse > > > > Galileo and I didn't have this problem (although it didn't > > have a > > > > previous version of JCR Browser) and upgrading Jackrabbit > to > > > 1.5.7 and > > > > installing JCR Browser 0.95 Beta 1 worked a treat. > > > > > > > > Thanks for reading. Kind regards, > > > > > > > > James > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Let Crystal Reports handle the reporting - Free Crystal > > Reports > > > 2008 30-Day > > > > trial. Simplify your report design, integration and > > deployment - > > > and focus on > > > > what you do best, core application coding. Discover what's > > new with > > > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > Jcrbrowser-developers mailing list > > > > Jcr...@li... > > <mailto:Jcr...@li...> > > > <mailto:Jcr...@li... > > <mailto:Jcr...@li...>> > > > > > > https://lists.sourceforge.net/lists/listinfo/jcrbrowser-developers > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Let Crystal Reports handle the reporting - Free Crystal > > Reports 2008 > > > 30-Day > > > trial. Simplify your report design, integration and > > deployment - and > > > focus on > > > what you do best, core application coding. Discover what's > > new with > > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > _______________________________________________ > > > Jcrbrowser-developers mailing list > > > Jcr...@li... > > <mailto:Jcr...@li...> > > > <mailto:Jcr...@li... > > <mailto:Jcr...@li...>> > > > > > https://lists.sourceforge.net/lists/listinfo/jcrbrowser-developers > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > ------------------------------------------------------------------------------ > > > Let Crystal Reports handle the reporting - Free Crystal Reports > > 2008 30-Day > > > trial. Simplify your report design, integration and deployment - > > and focus on > > > what you do best, core application coding. Discover what's new > with > > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Jcrbrowser-developers mailing list > > > Jcr...@li... > > <mailto:Jcr...@li...> > > > > https://lists.sourceforge.net/lists/listinfo/jcrbrowser-developers > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > > 30-Day > > trial. Simplify your report design, integration and deployment - and > > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Jcrbrowser-developers mailing list > > Jcr...@li... > > <mailto:Jcr...@li...> > > https://lists.sourceforge.net/lists/listinfo/jcrbrowser-developers > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Jcrbrowser-developers mailing list > > Jcr...@li... > > https://lists.sourceforge.net/lists/listinfo/jcrbrowser-developers > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Jcrbrowser-developers mailing list > Jcr...@li... > https://lists.sourceforge.net/lists/listinfo/jcrbrowser-developers > |