Hello Upayavira, i tried command line xindice ac -c xmldb:xindice://localhost:8080/db -n test (xmldb is necessary) and always i receive this message:
[DEBUG] DatabaseImpl - -Using Sax Driver: 'xerces' [DEBUG] DatabaseImpl - -Using Service Location: '/xindice' [DEBUG] CollentionImpl - -Using URL: http://localhost:8080/xindice/ ERROR: Collection not found I haven't modified anything in the standard configuration: "db" collection directory is under $TOMCAT_HOME/xindice/WEB-INF/ i haven't modified "system.xml" file. Why? Thanks all, Saverio -----Original Message----- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: mercoledi 21 gennaio 2004 11.36 To: [email protected] Subject: Re: XINDICE-1.1b3 configuration Francesco Saverio Profiti wrote: >First of all thanks for your time Vadim. > >When i try to add a collection by command "xindice ac -c /db -n test", I >always receive >the same: > >[DEBUG] DatabaseImpl - -Using Sax Driver: 'xerces' >[DEBUG] DatabaseImpl - -Using Service Location: '/xindice' >[DEBUG] CollentionImpl - -Using URL: http://127.0.0.1:8888/xindice/ <= >(here's the problem) >XMLDB Exception with code 0 > >My tomcat application server is able to accept request on 8080 port (i've >modified >the server.xml). > >Instead, when i tried to start two difference istance of tomcat, one on port >8080 and one >on port 8888, it's all ok.. > >Why? > > What is your database connection string? You need to include localhost:8080 in it, as it defaults to localhost:8888 (ie.127.0.0.1:8888). I believe you need to use a string such as: xindice://localhost:8080/db/ So, maybe you need to do xindice ac -c xindice://localhost:8080/db -n test That's my guess (although I've never used XIndice in this way). Regards, Upayavira
