presume this must be the directory defined in activemq.xml as
amqPersistenceAdapter directory. (fedora/data/activemq-data in this case),
however deleted this entire directory and let activemq recreate it but
still comes up with the same error
On 29 July 2013 15:18, Peri Stracchino <peri.stracch...@york.ac.uk> wrote:
> hi again. new issue.
> I'v solved my active-mq issue, am now
> getting org.fcrepo.server.security.xacml.pdp.data.PolicyIndexException: Non
> .xml files found in policy index cache directory when I run
> fedora-rebuild.sh.
>
> how can I find out the actual location of this directory in order to
> investigate whats causing the problem? have tried grepping for references
> to it it without success
>
>
> On 26 July 2013 09:23, Peri Stracchino <peri.stracch...@york.ac.uk> wrote:
>
>> Hi ben
>> I do have a policy-db, and it contains policies as xml files (eg
>> policy_york-york_3.xml. However the content is not the same as the old
>> pdp/database, which contained files called __db.001, __db.002 etc as well
>> as policies.dbxml, so this doesnt seem like the same thing
>>
>>
>> It doesnt contain a conf directory either, which is what the installation
>> guide directs me to in the instructions for Configuring FeSL AuthZ to
>> use DB XML . I DID find a file called config-policy-index in
>> fedora/server/config/spring/fesl/web with a commented out element for
>> BerkelyDbXML, which I uncommented. There were various other files too, I
>> dont know if I need to edit any more of these? I cant find (or havnt yet
>> found) the equivalent of config-dbxml in which to specify the location
>> of the DB XML database, which the instructions (though it doesnt look as if
>> these have been updated from older versions) say I need to do
>>
>> Cheers
>> peri
>>
>>
>> On 25 July 2013 17:41, Benjamin Armintor <armin...@gmail.com> wrote:
>>
>>> Peri:
>>> Just to try and go through your questions so far:
>>>
>>> 1. The WARN log about policy-enforcement.xml is expected. If you look at
>>> that file, there's a comment about it being intentionally empty.
>>>
>>> 2. I think pdp/database is called pdp/policy-db. In the testing
>>> configuration for FESL (config 'C'), that's the directory that's created.
>>>
>>> So, you're not seeing pdp/policy-db?
>>>
>>> - Ben
>>>
>>>
>>> On Thu, Jul 25, 2013 at 12:09 PM, Peri Stracchino <
>>> peri.stracch...@york.ac.uk> wrote:
>>>
>>>> hi Benjamin
>>>> our previous setup was run against an external activemq, and in this
>>>> the tempUsage was configured inside the various activemq.xml files. However
>>>> in the new installation I have initially set it up to run against the
>>>> bundled activemq for the sake of simplicity while debugging. So as yet
>>>> there is no tempUsage set up other than where I have put it in both
>>>> server/config/activemq.xml and
>>>> server/fedora-internal-use/config/activemq.xml. I have grep/xarged for
>>>> other occurences of the tempUsage element throughjout the new fedora
>>>> install (including the spring section) , and cant find any other than thses
>>>> two, so I'm at a bit of a loss really - I'v configured this element within
>>>> the broker element, in correct alphabetical order up exactly as suggested
>>>> on the activemq website
>>>>
>>>>
>>>> On 25 July 2013 16:36, Benjamin Armintor <armin...@gmail.com> wrote:
>>>>
>>>>> Peri,
>>>>> Where did you set systemUsage before? Some modules are configured
>>>>> first and foremost in the Spring configs since FC 3.5 (Server, for
>>>>> instance), so you might want to look over there.
>>>>>
>>>>> - Ben
>>>>>
>>>>>
>>>>> On Thu, Jul 25, 2013 at 11:05 AM, Peri Stracchino <
>>>>> peri.stracch...@york.ac.uk> wrote:
>>>>>
>>>>>> Hi
>>>>>> I'm trying to upgrade our system from fedora 3.4.2 with FeSL/DBXML on
>>>>>> ubuntu to fedora 3.6.2, still with FeSL/DBXML and running into some
>>>>>> problems. installed using fedora.fcfg as usual, but cant get fedora to
>>>>>> start. I'm wondering if this is to do with problems configuring the
>>>>>> policyIndex - the link referred to in the upgrade instructions appears to
>>>>>> apply to older versions of fedora, as it refers to files and folders
>>>>>> which
>>>>>> are not present in my new version, and appear to have been superceded by
>>>>>> various other configuration files under server/config/spring. As these
>>>>>> are
>>>>>> structured quite differently to the old files I'm having trouble working
>>>>>> out what I do and dont need to edit.
>>>>>>
>>>>>> I'v also noticed some differences in the directories created under
>>>>>> pdp first start-up. pdp directory has no conf or database subdirectories.
>>>>>> I'm guessing that pdp/conf is now superceded by server/config/spring, but
>>>>>> should pdp/database still be present? I'v tried running the a separate
>>>>>> 'quick' install under windows to see if its a problem with my
>>>>>> configuration, but it doesnt appear there either.
>>>>>>
>>>>>> can anyone tell me what additional configuration I need to do under
>>>>>> the new setup to configure the policyIndex, or point me towards where I
>>>>>> may
>>>>>> be going wrong?
>>>>>> fedora.log shows some warnings/errors:
>>>>>> 1* WARN Loaded 0 beans from
>>>>>> <fedora_home>/server/config/spring/policy-enforcement.xml
>>>>>> 2* WARN Store limit is 100000mb , whilst the data directory only has
>>>>>> 4583 mb of usable space
>>>>>> 3* ERROR Store limit is 500000mb , whilst the temporary data
>>>>>> directory only has 4583 mb of usable space
>>>>>> I know I can add a systemUsage element to fix these two above,
>>>>>> but although I'v tried adding to activemq.xml I'm still getting the same
>>>>>> message, is this limit getting overwritten or set somewhere else?
>>>>>>
>>>>>> 4* WARN Could not load the specified hint provider class (as
>>>>>> specified in spring bean definition), using default nullprovider
>>>>>> the log reports fedora pdp has initialised, however there is still
>>>>>> no pdp/database, and pointing a browser at fedora/describe returns
>>>>>> 403:INDETERMINATE
>>>>>>
>>>>>> any pointers or advice would be most appreciated!
>>>>>>
>>>>>> Cheers
>>>>>> Peri
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> See everything from the browser to the database with AppDynamics
>>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>>> Start your free trial of AppDynamics Pro today!
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>>> _______________________________________________
>>>>>> Fedora-commons-users mailing list
>>>>>> Fedora-commons-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> See everything from the browser to the database with AppDynamics
>>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>>> Start your free trial of AppDynamics Pro today!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Fedora-commons-users mailing list
>>>>> Fedora-commons-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> See everything from the browser to the database with AppDynamics
>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>> Start your free trial of AppDynamics Pro today!
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Fedora-commons-users mailing list
>>>> Fedora-commons-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Fedora-commons-users mailing list
>>> Fedora-commons-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>
>>>
>>
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users