I decided to do some stepping through the code and figured out that the AccessManager is not allowing permission, but I'm not sure why it would refuse permission when I'm logged in as superuser. I can see at the jackrabbit level that there are a bunch of items returned, but they all get filtered out by the AccessManager. Here's the line in question:
boolean isAllowed = this.accessManager.isGranted(Path.getAbsolutePath(node.getPath()), Permission.READ); That is line 92 in i.m.c.c.search.QueryResultImpl and isAllowed is always false. I tried walking through the accessManager code but that started getting really deep for me with Permission objects and Patterns and the length of the patterns having some sort of bearing on determining permissions. I would wonder if I had some odd permission, and I did check and confirm that the superuser has read/write permission on '/'. I'm assuming something isn't set right somewhere on my system but I have no clue how to interpret the Permission and Pattern objects and what's going on in the AccessManager.isGranted() method to track it down. Can anyone advise on what I can do to track down why AccessManager is always refusing permission in this situation? Thanks, Tom -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 10:21 PM To: [email protected] Subject: Re: [magnolia-user] search in 2.1.6 Thanks for the confirmations, at least I know it is most likely something that isn't right on my end. I tried turning logging all the way up to debug on jackrabbit and everything looks fine, no errors or warnings thrown. Is there a publicly available war of the 2.1.6-SNAPSHOT anywhere that I might be able to pull down? Thanks, Tom -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 7:58 PM To: [email protected] Subject: Re: [magnolia-user] search in 2.1.6 Hi Tom, Same here, doing full text search with pages and documents and it works very well. I am actually using the current trunk. Maybe you wanna turn on some more debug in the log4j.xml file, and see what's happening ? Nicolas, On May 19, 2006, at 12:25 AM, Erik Alphenaar wrote: > if its of any use: > We are using snapshot 2.1.6 on a public site, and search still > standing strong. > > It's not the sample search page though.... > > > Grtz, > > Erik Alphenaar > Net Effect > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: donderdag 18 mei 2006 17:24 > To: [email protected] > Subject: Re: [magnolia-user] search in 2.1.6 > > > Could someone else confirm/deny the problem that I am having with > search not working? I'd appreciate it if someone could do a fresh > subversion checkout of branches/magnolia2.1, mvn install, and deploy > the war on a Tomcat 5.5 server and try to use the sample search page > to see if it works. > > If someone else has done this already and knows that it works could > you please let me know, or possibly send me the war that you've > successfully used? > > We're in a bind here where we need the session/memory fixes of the > 2.1.6 > snapshot, but I'm not able to get search working under it. > > Thanks, > > Tom > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 5:50 PM > To: [email protected] > Subject: Re: [magnolia-user] search in 2.1.6 > > Hi Tom, > > You need to be using maven 2.0. > Also, you need to execute the command "mvn install" in the magnolia- > project folder. > > Hope this helps, > > Regards, > > Nicolas, > On May 17, 2006, at 8:10 AM, TomJensen wrote: > >> I pulled down the 2.1.6 code (in branches/magnolia2.1) from >> subversion, built the war (maven war) and discovered the jackrabbit >> jars were missing. So I pulled out the jackrabbit jars from 2.1.5, >> put them in the jar and started trying out the sample pages that are >> in there. I discovered that the sample search page doesn't seem to >> be > >> working anymore. It doesn't return any results for words like >> 'magnolia' >> whereas the 2.1.5 version does. Any suggestions as to what I might >> be > >> missing? >> >> Thanks, >> >> Tom >> >> ---------------------------------------------------------------- >> for list details see >> http://www.magnolia.info/en/magnolia/developer.html >> ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
