Hi Natania,

With new command, the addressbook is created:

trying to register database
Created: xmldb:xindice://localhost:8080/db/addressbook

I can view the addressbook with browser as well.  However, when I try to
save the entered data, I got:

An ERROR has occured!!!

It seems there is not a lot of new info in the log file.  Thanks again for
your help.

Tak




On Wed, Sep 17, 2008 at 7:55 AM, Natalia Shilenkova
<[EMAIL PROTECTED]>wrote:

> On Tue, Sep 16, 2008 at 8:48 PM, Tak-po Li <[EMAIL PROTECTED]> wrote:
> >
> > Hi Natalia,
> >
> > Thank you for your help.  I have the database browser screen that shows
> > "db", after I rename and copy xindice.war into webapps.  However, with
> > "bin\xindice ac -c /db -n addressbook", I got:
> >
> > trying to register database
> > XMLDB Exception 0: Failed to execute command 'GetCollectionConfiguration'
> on
> > server: http://127.0.0.1:8888/xindice/, message: Failed to create input
> > stream: Unexpected end of file from server.
>
> OK, the command needs to be modifed a little bit. Please try this instead:
>
> bin\xindice ac -c xmldb:xindice://localhost:8080/db -n addressbook
>
> This is because the command tries to connect to default port number
> (8888) where your installation of Tomcat uses port 8080, so it is
> necessary to put full database URL in there.
>
> Please let me know if anything else breaks.
>
> Regards,
> Natalia
>
> >
> > Attached please find file Tomcat server.xml
> >
> > Thanks,
> >
> > Tak
> >
>

Reply via email to