Hi Biba,

Are you sure that those extractors are used? Or do you have your
configuration externally? Also, the extractors are only run when a
document is saved, so you would expect to see the new properties only
on changed and newly created documents.

Bart


On Wed, Sep 23, 2009 at 12:13 PM, Biba <[email protected]> wrote:
> Hi Bart,
>
> Sorry for being unclear :-)
>
> The thing is that repository is started with the extractors.xml file updated
> with two new properties in it: subject and metaPublicationTime.
> But when I collect list of files with dasl query I see that in these
> documents <subject/> and <metaPublicationTime/> tags are empty. Some of the
> documents have been touched and some of them are newly created, so I expect
> these two properties to be there.
>
> Payload gives this:
> <D:propstat>
>        <D:prop>
>                <caption>utorak</caption>
>                <type>news</type>
>                <index>00000000005</index>
>                <introduction>utorak intro</introduction>
>                <metaPublicationDate>2009-09-22</metaPublicationDate>
>                <title>utorak head</title>
>                <S:hitPosition>0</S:hitPosition>
>                <S:nrHits>8</S:nrHits>
>                <D:displayname>utorak.xml</D:displayname>
>        </D:prop>
>        <D:status>HTTP/1.1 200 OK</D:status>
> </D:propstat>
> <D:propstat>
>        <D:prop>
>                <subject/>
>                <metaPublicationTime/>
>        </D:prop>
>        <D:status>HTTP/1.1 404 Not Found</D:status>
> </D:propstat>
>
>
> Is there any specific thing that should be done to include those extractors
> changes under Tomcat maybe?
>
> Thanks in advance,
> Biba
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Bart van der
> Schans
> Sent: Wednesday, September 23, 2009 12:00 PM
> To: Hippo CMS development public mailinglist
> Subject: Re: [HippoCMS-dev] Hippo repository update
>
> Hi Biba,
>
> >From your mail it's not clear to me what exactly the problem is. Does
> the repository start? Do you see errors in the logs? What is happening
> that shouldn't happen or what should happen but is not happening?
>
> Regards,
> Bart
>
>
> On Tue, Sep 22, 2009 at 9:39 AM, Biba <[email protected]> wrote:
>> Hi all,
>>
>> I am having problems with updating extractors.xml file on
>> hippo-repository-1.2.15. This is updated fine in the binary distribution
>> that we are using on staging environment (no restart is required). But on
>> ACCT environment, provider use hippo repository as WAR file and it is
>> deployed under Tomcat (also Apache in front). We tried to redeploy War
> file,
>> and when Tomcat unpack it WEB-INF\slide\extractors.xml file is updated
> with
>> new properties.
>> Also work/localhost folders are deleted, but still nothing. Some documents
>> are touched and new ones are created.
>>
>> Two more properties are added to extractors (metaPublicationTime, subject)
>> like this:
>>
>> <extractor classname="nl.hippo.slide.extractor.HippoXmlPropertyExtractor"
>> uri="/files/ictu.preview" content-type="text/xml">
>>   <configuration>
>>     <instruction property="title" namespace="http://hippo.nl/cms/1.0";
>> xpath="string(/document/page/head/title)"/>
>>     <instruction property="introduction"
>> namespace="http://hippo.nl/cms/1.0";
>> xpath="string(/document/page/head/introduction)"/>
>>     <instruction property="metaPublicationDate"
>> namespace="http://hippo.nl/cms/1.0";
>> xpath="string(/document/meta/common/publicationDate)"/>
>>     <instruction property="metaPublicationTime"
>> namespace="http://hippo.nl/cms/1.0";
>> xpath="string(/document/meta/common/publicationTime)"/>
>>     <instruction property="subject" namespace="http://hippo.nl/cms/1.0";
>> xpath="string(/document/meta/common/subject)"/>
>> ..........
>>   </configuration>
>>  </extractor>
>>
>>
>>
>> Payload gives this:
>> <D:prop>
>> <caption>utorak</caption>
>> <type>news</type>
>> <index>00000000005</index>
>> <introduction>utorak intro</introduction>
>> <metaPublicationDate>2009-09-22</metaPublicationDate>
>> <title>utorak head</title>
>> <S:hitPosition>0</S:hitPosition>
>> <S:nrHits>8</S:nrHits>
>> <D:displayname>utorak.xml</D:displayname>
>> </D:prop>
>> <D:status>HTTP/1.1 200 OK</D:status>
>> </D:propstat>
>> <D:propstat>
>> <D:prop>
>> <subject/>
>> <metaPublicationTime/>
>> </D:prop>
>> <D:status>HTTP/1.1 404 Not Found</D:status>
>>
>>
>>
>> If anyone had similar problems, please share...
>>
>> Thanks in advance,
>> Biba
>>
>> ********************************************
>> Hippocms-dev: Hippo CMS development public mailinglist
>>
>> Searchable archives can be found at:
>> MarkMail: http://hippocms-dev.markmail.org
>> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
>>
>>
>
>
>
> --
> Hippo B.V.  -  Amsterdam
> Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466
>
> Hippo USA Inc.  -  San Francisco
> 101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
> -----------------------------------------------------------------
> http://www.onehippo.com   -  [email protected]
> -----------------------------------------------------------------
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
> Searchable archives can be found at:
> MarkMail: http://hippocms-dev.markmail.org
> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
>
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
> Searchable archives can be found at:
> MarkMail: http://hippocms-dev.markmail.org
> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
>
>



-- 
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  [email protected]
-----------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to