Hi Nicholas That's interesting. I reported https://jira.duraspace.org/browse/FCREPO-866 a short while ago - and that was discovered on a FeSL installation. So maybe the issue is FeSL-related. I'll add a note to the issue comment and we'll look into it.
Are you able to verify on your installation that getObjectProfile does have the correct namespace (as reported in that issue)? Steve > -----Original Message----- > From: Nicholas W [mailto:4...@log1.net] > Sent: 11 March 2011 15:37 > To: Support and info exchange list for Fedora users. > Cc: Steve Bayliss > Subject: Re: [fcrepo-user] fedora.cfg setup for FeSL > > > Hi Steve, > Thanks very much for your overview of how it works and the pointers > to what's different. This has actually given > me a clue to the other difference I have seen, and it seems it may be > related to the FeSL installation. > > In my non FeSL installation, when I listdatastreams with a url like: > > http://myhost:8080/fedora/objects/myobject%3A2444077/datastrea > ms?format=xml > > I get an XML root element that looks like this: > > <objectDatastreams xmlns="http:// > www.fedora.info/definitions/1/0/access/" > xmlns:xsi="http://www.w3.org/2001/ > XMLSchema-instance" > xsi:schemaLocation="http://www.fedora.info/definitions/ > 1/0/access/ > http://www.fedora-commons.org/definitions/1/0/listDatastreams.xsd" > pid="myobject:2444077" baseURL="http://myhost:8080/fedora/" > > > The important thing to note is that the xmlns is correctly specified. > In my FeSL installation the root element > looks like this: > > <objectDatastreams xmlns:xsi="http://www.w3.org/2001/ > XMLSchema-instance" > xsi:schemaLocation="http://www.fedora.info/definitions/ > 1/0/access/ > http://www.fedora-commons.org/definitions/1/0/listDatastreams.xsd" > pid="myobject:2444077" baseURL="http://myhost:8080/fedora/" > > > The default namespace definition is missing. > > Now if I take the server-config.wsdd and web.xml from the non-FeSL > installation and copy them on to the > FeSL installation and restart tomcat, clearly the FeSL part is > disabled, but the XML returned by the > query has the correct namespace definition. Comparing them, the only > obvious differences seem to be > to do with the FeSL, but I could be missing something. > > If I move over just the web.xml without the server-config.wsdd then > there is no change - apart from the > FeSL is disabled. > > Do you know what could be causing this namespace problem? > > Thanks again for your help, > > Regards, > Nicholas W. > > > > On Fri, Mar 11, 2011 at 10:38 AM, Steve Bayliss > <stephen.bayl...@acuityunlimited.net> wrote: > > Hi Nicholas > > > > The decorator is responsible for maintaining an index/cache of XACML > > policies for evaluation - hence why it is present with FeSL > installed. > > > > There are other differences between non-FeSL and FeSL > installations - > > significantly the web.xml adds servlet filters to actually > do the AuthN and > > AuthZ. > > > > FeSL policies are stored in DOs with a FESLPOLICY > datastream. There are > > some default/bootstrap policies that are added when the > server starts up for > > the first time - in your FeSL installation you will see > these; in your > > non-FeSL installation these won't be present. > > > > You'll probably find it easier overall to start from a new > installation, and > > point the installation at your objects and datastreams > directories from your > > old installation; similarly with the SQL database (or you > can just do a > > rebuild to rebuild your SQL database and resource index). > If you take a > > look at the upgrade instructions you'll see how to do this. > > > > Regards > > Steve > > > >> -----Original Message----- > >> From: Nicholas W [mailto:4...@log1.net] > >> Sent: 11 March 2011 09:16 > >> To: Fedora-commons-users@lists.sourceforge.net > >> Subject: [fcrepo-user] fedora.cfg setup for FeSL > >> > >> > >> Hi All, > >> I am looking at the difference between two fedora.cfg files that > >> where set up using the installation script. One is on a > slightly older > >> installation without FeSL installed, and the newer one I installed > >> just recently with FeSL. I am looking to see what I might need to > >> change to add FeSL to an existing running repository (and also at > >> another unrelated apparent difference in the > installations). I notice > >> in the > >> > >> <module role="org.fcrepo.server.management.Management" > >> class="org.fcrepo.server.management.ManagementModule"> > >> > >> definition there is added: > >> > >> <param name="decorator2" > >> value="org.fcrepo.server.security.xacml.pdp.decorator.PolicyIn > >> dexInvocationHandler"/> > >> > >> > >> However nothing appears to have been added to: > >> <module role="org.fcrepo.server.access.Access" > >> class="org.fcrepo.server.access.DefaultAccess"> > >> > >> in the FC with FeSL. > >> > >> Is this normal? I would like to be able to apply policies that can > >> control the reading of certain types of datastreams in > certain types > >> of objects. Should this still work? > >> > >> Thanks a lot, > >> Nicholas W. > >> > >> -------------------------------------------------------------- > >> ---------------- > >> Colocation vs. Managed Hosting > >> A question and answer guide to determining the best fit > >> for your organization - today and in the future. > >> http://p.sf.net/sfu/internap-sfd2d > >> _______________________________________________ > >> Fedora-commons-users mailing list > >> Fedora-commons-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > >> > > > > > > > -------------------------------------------------------------- > ---------------- > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > > for your organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > _______________________________________________ > > Fedora-commons-users mailing list > > Fedora-commons-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users