You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Jo <jo...@speedlegal.com> on 2005/06/15 02:42:01 UTC
Domain.xml
Hi everyone,
I am new to slide and have just installed slide2.1 in Tomcat. There are some
questions below that I need answers or advice or pointers from you.
1. Is it possible to change the default /files path to something else; say
/repository by editting the domain.xml file ? If it is possible, can I just
replace all references to /files with /repository ?
2. I am aware that domain.xml is used for initialization only. Should I need
to re-initialize what do I have to do ?
Which directories under Tomcat base directory do I have to remove ?
Thanks a lot for your help.
Jo.-
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Domain.xml
Posted by Jo <jo...@speedlegal.com>.
Thanks for your prompt response, Sven.
Followings are three elements that have their 'uri' attribute set to
/files/* and I'm not sure whether I need to change those attribute values to
/mypath/* or not.
<extractor classname="org.apache.slide.extractor.SimpleXmlExtractor"
uri="/files/articles/test.xml">
<extractor classname="org.apache.slide.extractor.OfficeExtractor"
uri="/files/docs/">
<listener classname="org.apache.slide.search.IndexTrigger">
<configuration>
<indexer classname="org.apache.slide.search.LoggingIndexer"
synchronous="false" uri="/files/articles" />
</configuration>
</listener>
Could you tell me what these SimpleXMLExtractor, OfficeExtractor and
LoggingIndexer do ?
Jo.-
----- Original Message -----
From: "Sven Pfeiffer" <sv...@innoface.de>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Wednesday, June 15, 2005 4:14 PM
Subject: RE: Domain.xml
> Hi Jo,
>
> 1. you just have to change the value of <filespath>/files</filespath>
inside Domain.xml to the oath you want.
>
> 2. Because, as you said, Domain.xml is just for initialisation, the best
thing would be to "reset" the server totally, to remove all
> files and folders created by slide.
> AFAIK there is no good way to proceed changes in Domain.xml on a running
server.
> So, what you have to remove depends on your configuration of the stores,
if you use TxXMLFileDescriptorsStore and
> TxFileContentStore, which is the default, you can simply delete the
directories you specified as rootpath (and maybe these you
> definined as workpath, but I guess that is not
> necessary).
>
> You also have to look at your initial ACLs, if there are some for /files,
you should change this, too, and maybe your versioning
> configuration, but this should be all where you have to specify the path.
>
> Whether you can replace all /files occurences depends on your Domain.xml,
normally I would say yes, but be carefull ;-)
>
>
> hth
> SVen
>
> >-----Original Message-----
> >From: Jo [mailto:jojada@speedlegal.com]
> >Sent: Wednesday, June 15, 2005 2:42 AM
> >To: slide-user@jakarta.apache.org
> >Subject: Domain.xml
> >
> >
> >Hi everyone,
> >
> >I am new to slide and have just installed slide2.1 in Tomcat. There are
some
> >questions below that I need answers or advice or pointers from you.
> >
> >1. Is it possible to change the default /files path to something else;
say
> >/repository by editting the domain.xml file ? If it is possible, can I
just
> >replace all references to /files with /repository ?
> >
> >2. I am aware that domain.xml is used for initialization only. Should I
need
> >to re-initialize what do I have to do ?
> >Which directories under Tomcat base directory do I have to remove ?
> >
> >Thanks a lot for your help.
> >Jo.-
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
> !DSPAM:42afc92c57491730854058!
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
RE: Domain.xml
Posted by Sven Pfeiffer <sv...@innoface.de>.
Hi Jo,
1. you just have to change the value of <filespath>/files</filespath> inside Domain.xml to the oath you want.
2. Because, as you said, Domain.xml is just for initialisation, the best thing would be to "reset" the server totally, to remove all
files and folders created by slide.
AFAIK there is no good way to proceed changes in Domain.xml on a running server.
So, what you have to remove depends on your configuration of the stores, if you use TxXMLFileDescriptorsStore and
TxFileContentStore, which is the default, you can simply delete the directories you specified as rootpath (and maybe these you
definined as workpath, but I guess that is not
necessary).
You also have to look at your initial ACLs, if there are some for /files, you should change this, too, and maybe your versioning
configuration, but this should be all where you have to specify the path.
Whether you can replace all /files occurences depends on your Domain.xml, normally I would say yes, but be carefull ;-)
hth
SVen
>-----Original Message-----
>From: Jo [mailto:jojada@speedlegal.com]
>Sent: Wednesday, June 15, 2005 2:42 AM
>To: slide-user@jakarta.apache.org
>Subject: Domain.xml
>
>
>Hi everyone,
>
>I am new to slide and have just installed slide2.1 in Tomcat. There are some
>questions below that I need answers or advice or pointers from you.
>
>1. Is it possible to change the default /files path to something else; say
>/repository by editting the domain.xml file ? If it is possible, can I just
>replace all references to /files with /repository ?
>
>2. I am aware that domain.xml is used for initialization only. Should I need
>to re-initialize what do I have to do ?
>Which directories under Tomcat base directory do I have to remove ?
>
>Thanks a lot for your help.
>Jo.-
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org