Hi Remi, I am not so sure what is going on, please explain a little more about 
the policy, the rights datastream and the child and parent objects.

Cheers,
Gert

> -----Original Message-----
> From: Remi Malessa [mailto:[email protected]]
> Sent: Tuesday, January 20, 2009 4:11 PM
> To: Gert Schmeltz Pedersen
> Cc: [email protected]
> Subject: Re: [Fedora-commons-users] Problem with Rights datastream and
> auto-update
> 
> Hi Gert, thanks for the reply.
> I can't find anything pickin up the rights datastream in the xlst file.
> But just in case I'm attaching it to this post .
> The object is referenced in the policy datastream, and the link points
> to the parent object.
> 
> Any ideas appreciated.
> 
> Here is the catalina.out bit:
> 
> Jan 13, 2009 4:22:09 PM com.sun.xacml.finder.PolicyFinder findPolicy
> INFO: An error occured while trying to find a single applicable policy
> for a request: Error getting content stream
> dk.defxws.fedoragsearch.server.errors.FedoraObjectNotFoundException:
> Fedora Object llgc-id:101746 not found at DemoAtDtu; nested exception
> is:
>         fedora.server.errors.authorization.AuthzDeniedException:
>         at
> dk.defxws.fedoragsearch.server.GenericOperationsImpl.getFoxmlFromPid(Ge
> nericOperationsImpl.java:320)
>         at
> dk.defxws.fgssolr.OperationsImpl.fromPid(OperationsImpl.java:378)
>         at
> dk.defxws.fgssolr.OperationsImpl.updateIndex(OperationsImpl.java:226)
>         at
> dk.defxws.fedoragsearch.server.GenericOperationsImpl.updateIndex(Generi
> cOperationsImpl.java:288)
>         at
> dk.defxws.fedoragsearch.server.RESTImpl.updateIndex(RESTImpl.java:257)
>         at
> dk.defxws.fedoragsearch.server.RESTImpl.doGet(RESTImpl.java:114)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
> ationFilterChain.java:269)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> terChain.java:188)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> ve.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.java:174)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
> a:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> a:117)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
> .java:108)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 174)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:8
> 74)
>         at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.pro
> cessConnection(Http11BaseProtocol.java:665)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin
> t.java:528)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo
> werWorkerThread.java:81)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
> l.java:689)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: fedora.server.errors.authorization.AuthzDeniedException:
>         at
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.j
> ava:222)
>         at
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.ja
> va:129)
>         at
> org.apache.axis.encoding.DeserializationContext.endElement(Deserializat
> ionContext.java:1087)
>         at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
>         at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
> spatcher.dispatch(Unknown
> Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
> own
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>         at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
>         at
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationCo
> ntext.java:227)
>         at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
>         at
> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUndersta
> ndChecker.java:62)
>         at
> org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>         at org.apache.axis.client.Call.invoke(Call.java:2767)
>         at org.apache.axis.client.Call.invoke(Call.java:2443)
>         at org.apache.axis.client.Call.invoke(Call.java:2366)
>         at org.apache.axis.client.Call.invoke(Call.java:1812)
>         at
> fedora.server.management.FedoraAPIMBindingSOAPHTTPStub.export(FedoraAPI
> MBindingSOAPHTTPStub.java:639)
>         at
> dk.defxws.fedoragsearch.server.GenericOperationsImpl.getFoxmlFromPid(Ge
> nericOperationsImpl.java:318)
>         ... 21 more
> 
> Cheers
> Remi
> 
> 
> Gert Schmeltz Pedersen wrote:
> > Hi Remi
> >
> > It seems like you have to look into the indexing stylesheet and
> tailor it for your purpose. Let me hear, if you have tried this
> already, or if you need assistance on doing so.
> >
> > Cheers,
> > Gert
> >
> >
> >> -----Original Message-----
> >> From: Remi Malessa [mailto:[email protected]]
> >> Sent: Friday, January 16, 2009 5:43 PM
> >> To: [email protected]
> >> Subject: [Fedora-commons-users] Problem with Rights datastream and
> >> auto-update
> >>
> >> Hi everybody.
> >> I've got Fedora G Search configured to auto-update my index if
> object
> >> is ingested or removed etc.
> >> I use FGS's Solr plug-in to operate the index.
> >>
> >> I've got a problem with FGS index auto-update function.
> >> When ingesting objects the child objects are ingested first and
> >> parent objects later.
> >> This causes exception in FGS , as the child element has a reference
> >> to the foxml:datastream containing rights, and the parent element
> >> doesn't exist yet.
> >>
> >> Is there a way to stop auto-update from looking after this one
> >> particular datastream ?
> >>
> >> Cheers
> >> Remi
> >>
> >>
> >>
> >> --------------------------------------------------------------------
> -
> >> --
> >> -------
> >> This SF.net email is sponsored by:
> >> SourcForge Community
> >> SourceForge wants to tell your story.
> >> http://p.sf.net/sfu/sf-spreadtheword
> >> _______________________________________________
> >> Fedora-commons-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
> >>


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to