You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Olivier RICHAUD <ol...@richaud.net> on 2003/07/01 09:38:15 UTC

RE : RE : RE : Changing dbroot attributes in system.xml

Thanks, it works fine now.

By the way, what about Cocoon integration? I saw version 1.0 was
integrated with Cocoon. What about the current version?

Olivier.

-----Message d'origine-----
De : Kevin Ross [mailto:Kevin.Ross@iverticalleap.com] 
Envoyé : lundi 30 juin 2003 03:39
À : xindice-users@xml.apache.org
Objet : RE: RE : RE : Changing dbroot attributes in system.xml


The xml declaration at the top did not specify the encoding as UTF-8.  I
have run into issues with other applications in the past, where this
caused some problems.  Checkout from cvs, the system.xml now has the
encoding attribute.

-Kevin

-----Original Message-----
From: Olivier RICHAUD [mailto:olivier@richaud.net] 
Sent: Saturday, June 28, 2003 6:53 AM
To: xindice-users@xml.apache.org
Subject: RE : RE : Changing dbroot attributes in system.xml

I'm not sure to understand what sort of of issue it is. Could you
elaborate on? Encoding?

Do you have a Bug ID for this? If I have time, I may try solve it.

Thanks.

Olivier.

-----Message d'origine-----
De : Kevin Ross [mailto:Kevin.Ross@iVerticalLeap.com] 
Envoyé : samedi 28 juin 2003 00:22
À : xindice-users@xml.apache.org
Objet : RE: RE : Changing dbroot attributes in system.xml


I'm sure they have, but that should be an issue if encoding is set
properly, which, I just checked...and it isn't.  I'll fix that in cvs,
give it a shot.  I'm not sure if that is an issue for you, but I have
run into file-reading errors for different encodings.  

-Kevin Ross

-----Original Message-----
From: Olivier RICHAUD [mailto:olivier@richaud.net] 
Sent: Friday, June 27, 2003 3:04 PM
To: xindice-users@xml.apache.org
Subject: RE : Changing dbroot attributes in system.xml

What i did was to unjar the war, change dbroot in WEB-INF/system.xml to
d:/xindice/db (the directory exists and is writtable), rejar and put the
new war in jboss' deployment directory. And all went wrong.... As I
previsoully mentionned.

Has anyone changed system.xml with Windows?

Olivier.

-----Message d'origine-----
De : Kevin Ross [mailto:Kevin.Ross@iVerticalLeap.com] 
Envoyé : vendredi 27 juin 2003 18:05
À : xindice-users@xml.apache.org
Objet : RE: Changing dbroot attributes in system.xml


Did you change the setting on the system.xml file inside the war?  Since
it is constantly redeployed, it must be set in there.

Just a thought,

Kevin Ross

-----Original Message-----
From: Olivier RICHAUD [mailto:olivier@richaud.net] 
Sent: Friday, June 27, 2003 8:49 AM
To: xindice-users@xml.apache.org
Subject: Changing dbroot attributes in system.xml

Hi all!

I'am having a strange problem changing the dbroot property which is set
to ./b by default in WEB-INF/system.xml. All I want to do is to se this
dbroot attribute to something like d:/xindice/db to point to another
location.

My configuration :
Jboss/jetty 3.2.1 / windows 2003 server / java 1.4

I have installed xindice-1.1b.war in a dedicated Xindice.ear repository
to have the a webapp with /Xindice context root. I have created a dummy
application.xml file to set the context root.

With this configuration out of the box, I have no problem, but when I
restart Jboss, the war file is redeployed and I loose my database. I
decided to change the dbroot property to d:/xindice/db but now : 1. My
webapp does not start without any explanation. In fact, it does not seem
to start. I tuned on the full debugging options and I have nothing. 2.
The command line tool crashes, when for example I add a new collection
with xindice -c /db -n xmi, saying:
	Fatal error parsing XML : org.xml.sax.SAXParserException: Open
quote is expected for attribute "BORDER".


Thanks in advance.

Olivier.



RE : Changing dbroot attributes in system.xml

Posted by Olivier RICHAUD <ol...@richaud.net>.
Ok, I almost understand, but could you give me a sample url as an
example of query?

Sorry, I'm new to Xindice.

Olivier.

-----Message d'origine-----
: Yury Mikhienko [mailto:Yury.Mikhienko@mobicomk.ru] 
Envoyé : mardi 1 juillet 2003 15:37
À : xindice-users@xml.apache.org
Objet : Re: Changing dbroot attributes in system.xml


Cocoons XMLDBSource and XMLDBSourceFactory use the xmldb api for access
the xindice database and implements the xmldb:xindice cocoon pseudo
protocol.

I install the xindice1.1b on tomcat 4.1.24 and get the documents from
database with cocoon using. For example: in cocoon's sitemap:

   <map:match pattern="db-news">
    <map:match type="request-parameter" pattern="query">
     <map:generate src="xmldb:xindice:///db/web/news-arch/#{1}"/>
     <map:serialize type="xml"/>
    </map:match>
   </map:match>


> Could your elaborate on?
> 
> 
> What do you mean "the cocoon integration"?
> Cocoon has the XMLDBSource and XMLDBSourceFactory classes for 
> implementation the xmldb:xindice pseudo protocol.
> 


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"


Re: Changing dbroot attributes in system.xml

Posted by Yury Mikhienko <Yu...@mobicomk.ru>.
Cocoons XMLDBSource and XMLDBSourceFactory use the xmldb api for access the xindice database
and implements the xmldb:xindice cocoon pseudo protocol.

I install the xindice1.1b on tomcat 4.1.24 and get the documents from database with cocoon using.
For example:
in cocoon's sitemap:

   <map:match pattern="db-news">
    <map:match type="request-parameter" pattern="query">
     <map:generate src="xmldb:xindice:///db/web/news-arch/#{1}"/>
     <map:serialize type="xml"/>
    </map:match>
   </map:match>


> Could your elaborate on?
> 
> 
> What do you mean "the cocoon integration"?
> Cocoon has the XMLDBSource and XMLDBSourceFactory classes for
> implementation the xmldb:xindice pseudo protocol.
> 


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

RE : RE : RE : RE : Changing dbroot attributes in system.xml

Posted by Olivier RICHAUD <ol...@richaud.net>.
Could your elaborate on?

-----Message d'origine-----
De : Yury Mikhienko [mailto:Yury.Mikhienko@mobicomk.ru] 
Envoyé : mardi 1 juillet 2003 11:21
À : xindice-users@xml.apache.org
Objet : Re: RE : RE : RE : Changing dbroot attributes in system.xml


On Tue, 1 Jul 2003 09:38:15 +0200
"Olivier RICHAUD" <ol...@richaud.net> wrote:

> Thanks, it works fine now.
> 
> By the way, what about Cocoon integration? I saw version 1.0 was 
> integrated with Cocoon. What about the current version?
> 
> Olivier.
> 

What do you mean "the cocoon integration"?
Cocoon has the XMLDBSource and XMLDBSourceFactory classes for
implementation the xmldb:xindice pseudo protocol.

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"


Re: RE : RE : RE : Changing dbroot attributes in system.xml

Posted by Yury Mikhienko <Yu...@mobicomk.ru>.
On Tue, 1 Jul 2003 09:38:15 +0200
"Olivier RICHAUD" <ol...@richaud.net> wrote:

> Thanks, it works fine now.
> 
> By the way, what about Cocoon integration? I saw version 1.0 was
> integrated with Cocoon. What about the current version?
> 
> Olivier.
> 

What do you mean "the cocoon integration"?
Cocoon has the XMLDBSource and XMLDBSourceFactory classes for implementation the xmldb:xindice pseudo protocol.

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"