Thanks for the insight, it does make sense. I'll try that out.

> Message: 1
> Date: Fri, 14 Jan 2011 11:16:21 -0000
> From: "Steve Bayliss" <stephen.bayl...@acuityunlimited.net>
> Subject: Re: [fcrepo-user] FeSL Problem - Error evaluating Request:
> To: "'Support and info exchange list for Fedora users.'"
>       <fedora-commons-users@lists.sourceforge.net>
> Message-ID: <000201cbb3dc$7a7f4810$0301010a@asusp4t533>
> Content-Type: text/plain;     charset="iso-8859-1"
>
> Looking into the existing (non-FeSL) policy validation, it appears that this
> uses a local copy of the XACML schema, whereas the FeSL validation is using
> the schema location specified in config-dbxml.xml, which is not local.
>
> So we should probably modify this to be able to use a local copy of the
> schema and avoid this dependency on access to the Oasis web site?
>
> In the meantime you could try disabling validation (in config-dbxml.xml and
> config-pdm-fedora.xml).  The validation failure will be preventing the
> policies being loaded into dbxml.
>
> Steve
>
>> -----Original Message-----
>> From: Steve Bayliss [mailto:stephen.bayl...@acuityunlimited.net]
>> Sent: 14 January 2011 09:52
>> To: 'Support and info exchange list for Fedora users.'
>> Subject: Re: [fcrepo-user] FeSL Problem - Error evaluating Request:
>>
>>
>> Hi Jo?o
>>
>> Does your Fedora server have external web access, ie does it
>> have access to
>> the schema URL
>> http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-
>> policy-schema-
>> os.xsd ?
>>
>> Regards
>> Steve
>>
>> > -----Original Message-----
>> > From: Jo?o Zamite [mailto:zam...@xldb.di.fc.ul.pt]
>> > Sent: 13 January 2011 11:45
>> > To: fedora-commons-users@lists.sourceforge.net
>> > Subject: [fcrepo-user] FeSL Problem - Error evaluating Request:
>> >
>> >
>> > Greetings,
>> >
>> > I've been trying to get FeSL running on FCREPO 3.4.1 and
>> I'm always
>> > getting this Exception when services require authorization:
>> >
>> > org.fcrepo.server.security.xacml.pep.PEPException: Error
>> > evaluating request
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.evaluate(
>> > DirectPDPClient.java:77)
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:108)
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:80)
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:60)
>> >    at
>> > org.fcrepo.server.security.xacml.pep.ContextHandlerImpl.evalua
>> > te(ContextHandlerImpl.java:126)
>> >    at
>> > org.fcrepo.server.security.xacml.pep.rest.PEP.doFilter(PEP.java:149)
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> >    at
>> > org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFi
>> > lterJAAS.java:270)
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> >    at
>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
>> > rapperValve.java:233)
>> >    at
>> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
>> > ontextValve.java:191)
>> >    at
>> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
>> > henticatorBase.java:525)
>> >    at
>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
>> > Valve.java:128)
>> >    at
>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
>> > Valve.java:102)
>> >    at
>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
>> > gineValve.java:109)
>> >    at
>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap
>> > ter.java:293)
>> >    at
>> > org.apache.coyote.http11.Http11Processor.process(Http11Process
>> > or.java:849)
>> >    at
>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
>> > r.process(Http11Protocol.java:583)
>> >    at
>> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.
>> > java:454)
>> >    at java.lang.Thread.run(Thread.java:636)
>> > Caused by:
>> org.fcrepo.server.security.xacml.pep.PEPException: Could
>> > not initialise the PEP Client.
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.getClient
>> > (DirectPDPClient.java:111)
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.evaluate(
>> > DirectPDPClient.java:74)
>> >    ... 21 more
>> > Caused by:
>> org.fcrepo.server.security.xacml.pdp.MelcoePDPException:
>> > Could not initialise PDP: Error loading bootstrap FeSL policies
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.MelcoePDPImpl.(MelcoePDPI
>> > mpl.java:95)
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.getClient
>> > (DirectPDPClient.java:108)
>> >    ... 22 more
>> >
>> >
>> >
>> > When looking into the fedora Logs I find that we have this
>> exception
>> > occuring right after DBXMLManager is initialized:
>> >
>> > INFO 2011-01-13 11:47:10.251 [http-8443-1] (LogUtil) 20110113
>> > 11:47:10.251       null
>> > urn:fedora:names:fedora:2.1:action:id-findObjects  FedoraRepository
>> > INFO 2011-01-13 11:47:10.292 [http-8443-1]
>> > (FedoraPolicyStore) Loading
>> > config file:
>> > /srv/project-epiwork/fedora/pdp/conf/config-pdm-fedora.xml
>> > INFO 2011-01-13 11:47:10.375 [http-8443-1] (DbXmlManager) Loading
>> > config file: /srv/project-epiwork/fedora/pdp/conf/config-dbxml.xml
>> > INFO 2011-01-13 11:47:10.380 [http-8443-1] (DbXmlManager)
>> > Initialising
>> > validation
>> > ERROR 2011-01-13 11:47:14.653 [http-8443-1]
>> > (PolicyIndexInvocationHandler) Failed to initialise PolicyIndex
>> > org.fcrepo.server.security.xacml.pdp.data.PolicyIndexException
>> > : Error
>> > instantiating PolicyIndex
>> > org.fcrepo.server.security.xacml.pdp.data.DbXmlPolicyIndex
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.PolicyIndexFactory.n
>> > ewPolicyIndex(PolicyIndexFactory.java:38)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.decorator.PolicyIndexInvo
>> > cationHandler.init(PolicyIndexInvocationHandler.java:77)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.decorator.PolicyIndexInvo
>> > cationHandler.invoke(PolicyIndexInvocationHandler.java:96)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at $Proxy0.putTempStream(Unknown Source) [na:na]
>> >    at
>> > org.fcrepo.server.management.ManagementModule.putTempStream(Ma
>> > nagementModule.java:497)
>> > [fcrepo-server-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.FedoraPolicyStore.ad
>> > dPolicy(FedoraPolicyStore.java:242)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.FedoraPolicyStore.ad
>> > dPolicy(FedoraPolicyStore.java:148)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.util.PopulatePolicyDatabase.a
>> > ddDocuments(PopulatePolicyDatabase.java:124)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.MelcoePDPImpl.<init>(Melc
>> > oePDPImpl.java:73)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.getClient
>> > (DirectPDPClient.java:108)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.evaluate(
>> > DirectPDPClient.java:74)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:108)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:80)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:60)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.ContextHandlerImpl.evalua
>> > te(ContextHandlerImpl.java:126)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> >
>> org.fcrepo.server.security.xacml.pep.rest.PEP.doFilter(PEP.java:149)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> > [catalina.jar:na]
>> >    at
>> > org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFi
>> > lterJAAS.java:270)
>> > [fcrepo-security-jaas-3.4.1.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
>> > rapperValve.java:233)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
>> > ontextValve.java:191)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
>> > henticatorBase.java:525)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
>> > Valve.java:128)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
>> > Valve.java:102)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
>> > gineValve.java:109)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap
>> > ter.java:293)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.coyote.http11.Http11Processor.process(Http11Process
>> > or.java:849)
>> > [tomcat-coyote.jar:na]
>> >    at
>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
>> > r.process(Http11Protocol.java:583)
>> > [tomcat-coyote.jar:na]
>> >    at
>> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.
>> > java:454)
>> > [tomcat-coyote.jar:na]
>> >    at java.lang.Thread.run(Thread.java:636) [na:1.6.0_0]
>> > Caused by:
>> > org.fcrepo.server.security.xacml.pdp.data.PolicyStoreException
>> > : Could
>> > not initialise DBXML: schema_reference.4: Failed to read schema
>> > document
>> > 'http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0
>> > -policy-schema-os.xsd', because 1) could not find the
>> > document; 2) the document could not be read; 3) the root
>> > element of the document is not
>> > <xsd:schema>.
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.DbXmlManager.initCon
>> > fig(DbXmlManager.java:330)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.DbXmlManager.<init>(
>> > DbXmlManager.java:76)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.DbXmlPolicyIndex.ini
>> > t(DbXmlPolicyIndex.java:97)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.DbXmlPolicyIndex.<in
>> > it>(DbXmlPolicyIndex.java:88)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> > Method) [na:1.6.0_0]
>> >    at
>> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
>> > nstructorAccessorImpl.java:57)
>> > [na:1.6.0_0]
>> >    at
>> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
>> gatingConstructorAccessorImpl.java:45)
>> > [na:1.6.0_0]
>> >    at
>> > java.lang.reflect.Constructor.newInstance(Constructor.java:532)
>> > [na:1.6.0_0]
>> >    at java.lang.Class.newInstance0(Class.java:372) [na:1.6.0_0]
>> >    at java.lang.Class.newInstance(Class.java:325) [na:1.6.0_0]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.PolicyIndexFactory.n
>> > ewPolicyIndex(PolicyIndexFactory.java:36)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    ... 31 common frames omitted
>> > Caused by: org.xml.sax.SAXParseException:
>> schema_reference.4: Failed
>> > to read schema document
>> > 'http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0
>> > -policy-schema-os.xsd', because 1) could not find the
>> > document; 2) the document could not be read; 3) the root
>> > element of the document is not
>> > <xsd:schema>.
>> >    at
>> > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExcep
>> > tion(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> > org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
>> > [xercesImpl-2.9.1.jar:na]
>> >    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> > org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaEr
>> > ror(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> > org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocum
>> > ent(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> >
>> org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> > org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> > org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> > org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> >
>> org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown
>> > Source) [xercesImpl-2.9.1.jar:na]
>> >    at
>> >
>> javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:591)
>> > [na:1.6.0_0]
>> >    at
>> >
>> javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:623)
>> > [na:1.6.0_0]
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.data.DbXmlManager.initCon
>> > fig(DbXmlManager.java:322)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    ... 41 common frames omitted
>> > INFO 2011-01-13 11:47:15.293 [http-8443-1] (DefaultDOManager) New
>> > object PID is fedora-policy:access-fedora-internal-call
>> > INFO 2011-01-13 11:47:15.302 [http-8443-1] (DefaultManagement)
>> > Completed ingest(objectXML, format:
>> > info:fedora/fedora-system:FOXML-1.1, encoding: UTF-8, pid
>> > : null,
>> > logMessage: Fedora Policy Manager creating policy)
>> > ERROR 2011-01-13 11:47:15.304 [http-8443-1] (MelcoePDPImpl)
>> > Could not
>> > initialise PDP: Error loading bootstrap FeSL policies
>> > org.fcrepo.server.security.xacml.pdp.MelcoePDPException:
>> > Error loading
>> > bootstrap FeSL policies
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.MelcoePDPImpl.<init>(Melc
>> > oePDPImpl.java:75)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.getClient
>> > (DirectPDPClient.java:108)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.evaluate(
>> > DirectPDPClient.java:74)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:108)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:80)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:60)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.ContextHandlerImpl.evalua
>> > te(ContextHandlerImpl.java:126)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> >
>> org.fcrepo.server.security.xacml.pep.rest.PEP.doFilter(PEP.java:149)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> > [catalina.jar:na]
>> >    at
>> > org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFi
>> > lterJAAS.java:270)
>> > [fcrepo-security-jaas-3.4.1.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
>> > rapperValve.java:233)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
>> > ontextValve.java:191)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
>> > henticatorBase.java:525)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
>> > Valve.java:128)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
>> > Valve.java:102)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
>> > gineValve.java:109)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap
>> > ter.java:293)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.coyote.http11.Http11Processor.process(Http11Process
>> > or.java:849)
>> > [tomcat-coyote.jar:na]
>> >    at
>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
>> > r.process(Http11Protocol.java:583)
>> > [tomcat-coyote.jar:na]
>> >    at
>> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.
>> > java:454)
>> > [tomcat-coyote.jar:na]
>> >    at java.lang.Thread.run(Thread.java:636) [na:1.6.0_0]
>> > ERROR 2011-01-13 11:47:15.305 [http-8443-1]
>> (DirectPDPClient) Could
>> > not initialise the PEP Client.
>> > ERROR 2011-01-13 11:47:15.307 [http-8443-1]
>> (DirectPDPClient) Error
>> > evaluating request.
>> > org.fcrepo.server.security.xacml.pep.PEPException: Could not
>> > initialise the PEP Client.
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.getClient
>> > (DirectPDPClient.java:111)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.evaluate(
>> > DirectPDPClient.java:74)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:108)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:80)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.EvaluationEngineImpl.eval
>> > uate(EvaluationEngineImpl.java:60)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.ContextHandlerImpl.evalua
>> > te(ContextHandlerImpl.java:126)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> >
>> org.fcrepo.server.security.xacml.pep.rest.PEP.doFilter(PEP.java:149)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> > [catalina.jar:na]
>> >    at
>> > org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFi
>> > lterJAAS.java:270)
>> > [fcrepo-security-jaas-3.4.1.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>> > er(ApplicationFilterChain.java:235)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>> > cationFilterChain.java:206)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
>> > rapperValve.java:233)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
>> > ontextValve.java:191)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
>> > henticatorBase.java:525)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
>> > Valve.java:128)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
>> > Valve.java:102)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
>> > gineValve.java:109)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap
>> > ter.java:293)
>> > [catalina.jar:na]
>> >    at
>> > org.apache.coyote.http11.Http11Processor.process(Http11Process
>> > or.java:849)
>> > [tomcat-coyote.jar:na]
>> >    at
>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
>> > r.process(Http11Protocol.java:583)
>> > [tomcat-coyote.jar:na]
>> >    at
>> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.
>> > java:454)
>> > [tomcat-coyote.jar:na]
>> >    at java.lang.Thread.run(Thread.java:636) [na:1.6.0_0]
>> > Caused by:
>> org.fcrepo.server.security.xacml.pdp.MelcoePDPException:
>> > Could not initialise PDP: Error loading bootstrap FeSL policies
>> >    at
>> > org.fcrepo.server.security.xacml.pdp.MelcoePDPImpl.<init>(Melc
>> > oePDPImpl.java:95)
>> > [fcrepo-security-pdp-3.4.1.jar:na]
>> >    at
>> > org.fcrepo.server.security.xacml.pep.DirectPDPClient.getClient
>> > (DirectPDPClient.java:108)
>> > [fcrepo-security-pep-3.4.1.jar:na]
>> >    ... 22 common frames omitted
>> >
>> >
>> > Can anyone offer some insight into what's going wrong and how
>> > to fix it.
>> > Is this a configuration issue?
>> >
>> > It seems to be a policy manager issue having problems building the
>> > index. Also, I find it odd that pdp/database/ does not
>> exists while
>> > it's clearly stated in config-pdp.xml. And I'm also curious why
>> > config-policy-manager.xml does not exist, since it was
>> removed from
>> > the developers repository some builds ago.
>> >
>> > Regards,
>> > Jo?o Zamite
>> >
>> >
>> >
>> > --------------------------------------------------------------
>> > ----------------
>> > Protect Your Site and Customers from Malware Attacks
>> > Learn about various malware tactics and how to avoid them.
>> Understand
>> > malware threats, the impact they can have on your business,
>> > and how you
>> > can protect your company and customers by using code signing.
>> > http://p.sf.net/sfu/oracle-sfdevnl
>> > _______________________________________________
>> > Fedora-commons-users mailing list
>> > Fedora-commons-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>> >
>>
>>
>> --------------------------------------------------------------
>> ----------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business,
>> and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 14 Jan 2011 13:55:09 +0100
> From: Damian Kaliszan <dam...@man.poznan.pl>
> Subject: Re: [fcrepo-user] integration of djatoka image server and
>       Fedora
> To: "Support and info exchange list for Fedora users."
>       <fedora-commons-users@lists.sourceforge.net>
> Message-ID: <1989943454.20110114135...@man.poznan.pl>
> Content-Type: text/plain; charset=utf-8
>
> Hi gmario,
>
> Can       you      check      your      bDefPID="djatoka:bDef"      in
> djatoka:jp2sDep/MMETHODMAP
>
> I think bDefPID="djatoka:bDef" is either unnecessary or invalid...
>
>
> Damian
>
> W Twoim li?cie datowanym 14 stycznia 2011 (09:59:25) mo?na przeczyta?:
>
>> Il giorno gio, 13/01/2011 alle 12.05 -0600, Scott Prater ha scritto:
>>> Can you export your CModel, SDefine, and SDeploy objects and send me
>>> them?  Linking all the pieces together can get tricky, at this point,
>>> I'd need to look at your objects.
>
>> Ok, I have put them in attachment.
>
>> I have a question, when you do ingest a new object in fedora (on
>> where add some content like a jpeg2000 image)
>> is it enough to link that object just with CModel or it is need do  
>> something else?
>
>> Thanks again.
>> gmario
>
>>> -- Scott
>>>
>>> Gian Mario wrote:
>>> > Il giorno gio, 13/01/2011 alle 09.25 -0600, Scott Prater ha scritto:
>>> >> Check that you also have the following:
>>> >>
>>> >> 1)  In your cmodel "djatoka:jp2CModel", the RELS-EXT datastream should
>>> >> contain a "hasService" relation pointing to a sdefine object;
>>> >
>>> > It is so.
>>> >
>>> >> 2)  You should also have a sdeploy object that implements the call out
>>> >> to your djatoka server;  this sdeploy object should have in its RELS-EXT
>>> >> the relations "isDeploymentOf", pointing to your sdefine object (the
>>> >> same one the cmodel points to), and "isContractorOf", pointing to the
>>> >> cmodel object "djatoka:jp2CModel".
>>> >
>>> > this too.
>>> >
>>> > thanks
>>> > gmario
>>> >
>>> >> -- Scott
>>> >>
>>> >> Gian Mario wrote:
>>> >>> Il giorno gio, 13/01/2011 alle 15.40 +0100, Gian Mario ha scritto:
>>> >>>> Il giorno gio, 13/01/2011 alle 08.57 -0500, aj...@virginia.edu ha
>>> >>>> scritto:
>>> >>>>> A simple question, but did you also ingest the sDef and  
>>> sDep? You mention "an object with a jp2000 Datastream and Content  
>>> Model "info:fedora/djatoka:jp2CModel" but you don't mention the  
>>> sDef and sDep.
>>> >>>> yes I did. At first I ingest sDef, sDep and Content Model (from the
>>> >>>> files of the guide). Then, through fedora-admin, I create a new data
>>> >>>> object and into it I added a datastream with a jpeg2000 file.
>>> >>>>
>>> >>>> After that I add a RELS-EXT, formed like follow:
>>> >>>> subject                                                    predicate
>>> >>>> Object
>>> >>>> info:fedora/prova:102        fedora-model:hasModel
>>> >>>> info:fedora/djatoka:jp2CModel
>>> >>> I'm sorry, It is not very understandable.
>>> >>>
>>> >>> subject-> info:fedora/prova:102
>>> >>> predicate-> fedora-model:hasModel
>>> >>> object-> info:fedora/djatoka:jp2CModel
>>> >>>
>>> >>>> Now in
>>> >>>>
>>> >>>> http://localhost:8080/fedora/objects/prova:102/methods
>>> >>>>
>>> >>>> I see methods defined by sDef, but when I launch getImageView I obtain
>>> >>>> the error. I do something wrong in creating the new object? Maybe miss
>>> >>>> some realtions?
>>> >>>>
>>> >>>> thanks for your help.
>>> >>>> GMario
>>> >>>>
>>> >>>>> ---
>>> >>>>> A. Soroka
>>> >>>>> Digital Research and Scholarship R & D and Online Library Environment
>>> >>>>> the University of Virginia Library
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> On Jan 13, 2011, at 4:09 AM, Gian Mario wrote:
>>> >>>>>
>>> >>>>>> Hi all,
>>> >>>>>>
>>> >>>>>> I'm going straight to the problem :)
>>> >>>>>>
>>> >>>>>> I'm working on integrate fedora server with djatoka server. The two
>>> >>>>>> servers are working correctly separately.
>>> >>>>>>
>>> >>>>>> I followed this guide for integration:
>>> >>>>>>  
>>> http://sourceforge.net/apps/mediawiki/djatoka/index.php?title=Fedora_Integration
>>> >>>>>>
>>> >>>>>> In Fedora I ingest an object with a jp2000 Datastream and  
>>> Content Model
>>> >>>>>> "info:fedora/djatoka:jp2CModel" but after invoking  
>>> getImageView method,
>>> >>>>>> returns this error:
>>> >>>>>>
>>> >>>>>> fedora.server.errors.DisseminationBindingInfoNotFoundException:
>>> >>>>>> [DisseminationService] Dissemination Binding Info contained no data
>>> >>>>>>
>>> >>>>>> Can anyone give me some help?
>>> >>>>>> I'm not an expert on Fedora, maybe I have miss something?
>>> >>>>>>
>>> >>>>>> Best Regards
>>> >>>>>> Gian Mario
>>> >>>>>>
>
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
>
> ------------------------------
>
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
> End of Fedora-commons-users Digest, Vol 47, Issue 16
> ****************************************************
>



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to