Hi Rob and Josema,
  using Rob's step by step setup everything works fine for me and I don't
get any exception during the connection (I'm using the default port
configuration btw).

I've noticed a couple of problems with XMLdbGUI and Xindice 1.1:
1- as Rob reported, if the connection URI is wrong, than the application
seems to hang. The truth is that it's not hanging but just doing nothing
since the connection has failed but the Xindice API didn't throw any
exception (and consequentially no error message is displayed).
I have added a double-check and at least now an error message is displayed.

2- there was a problem when creating new collection. The GUI showed an error
stating that a collection with the same name was already present, thus the
new collection wasn't added.
In this case the problem was due to an incorrect implementation by Xindice
of the method:
org.xmldb.api.base.Collection.getChildCollection(String name).
This method is supposed to return null (as explained in the XML:DB
documentation) if a collection with the specified name is not present.
Instead Xindice returns something else, deceiving my code :-)
I have found a workaround for this too, and it's now working fine.

I will commit this 2 changes in the cvs for XMLdbGUI on Monday, and will be
available for download from the usual titanium.dstc.edu.au website.

Unluckily I haven't found any solution for the connection problem that
Josema is experiencing, but I have the feeling that it hasn't to deal with
the GUI application. If I'm right she has the same problem in trying to
connect from Cocoon in fact.

Regards,
  Andrea


----- Original Message -----
From: "Rob Walker" <[EMAIL PROTECTED]>
To: "Josema Alonso" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Friday, November 08, 2002 9:25 PM
Subject: RE: XMLDB UI - tips from use against latest CVS version of Xindice


> Josema
>
> > I'm on windows XP, JDK 1.4, Tomcat 4.1.9.
> > Certainly my config is not the default. I'm running my server on port
6712,
> > but the IP is the default one.
> > I'm using version 1.0 from Cocoon and it's working well, I have tried to
> > access the CVS version from XMLdbGUI and from Cocoon and no luck.
>
> Ok - i run all default, so I don't see the error. I tried to recreate it
as follows:
>
> - deleted my tomcat 8080 connector, and added a port 9080 connector
>
> When it try and connect from xmldbgui, it hangs - I don't get the
exception
>
> I then mod'd the xmldbgui conf file as follows:
>
> was:
>
>     <Uri>xmldb:xindice://</Uri>
>
> now:
>
>     <Uri>xmldb:xindice://127.0.0.1:9080</Uri>
>
> I start up and it runs fine
>
> Note - my environment is slightly different:
>
> - Tomcat 4.1.23
>
> - Xindice CVS (aka 1.1b)
>
> - XMLDBGUI with all the file replacements/additions from my email.
>
> Note that the file replacements/additions from my email will mean your
> xmldbgui will *only* work with Xindice 1.1. The out of the box xmldbgui is
> needed to work with 1.0. The two aren't compatible. May be worth double
> checking the steps to see that you did all the file deletes/replaces/adds
>
> -- Rob
>
> SoftSell Business Systems, Ltd.
> ' testing solutions for a changing world '
>
> +44 (20) 7488 3470
> www.softsell.com
> [EMAIL PROTECTED]
>

Reply via email to