Hi David i tried your suggestion: now "Document name" in not null, but the problem persists _____________________________________________ Document name = Chap0701 java.net.ConnectException: Connection timed out: connect ... ______________________________________________ it seems the client (xindice/xindiceadmin) is not able to find the server application!
Ciao Enzo ----- Original Message ----- From: "David Kensche" <[EMAIL PROTECTED]> To: <xindice-users@xml.apache.org> Sent: Tuesday, November 25, 2003 1:49 PM Subject: Re: Error on adding document > Enzo Formigoni wrote: > > >Hello ... can't get something! > >I'm tring xindice 1.0, the embedded version start up correctly ... > >output says: > >__________________________________________________ > >Xindice 1.0 (Birthday) > > > >Database: 'db' initializing > >Script: 'GET' added to script storage > >Service: 'db' started > >Service: 'HTTPServer' started @ http://ENZOFORMIGONI:4080/ > >Service: 'APIService' started > > > >Server Running > >___________________________________________________ > > > >using xindice.bat/xindiceadmin.bat i can navigate/create collections > >but when i try to add a document in a (existing) collection using > > > >xindice ad -c /db/test/ -f Chap0701.xml -v > > > > i got the following error > >___________________________________________________________________ > >ERROR : Connection timed out: connect > >Document name = null > >java.net.ConnectException: Connection timed out: connect > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) > > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:1 > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) > > at java.net.Socket.connect(Socket.java:425) > > at java.net.Socket.connect(Socket.java:375) > > at sun.net.NetworkClient.doConnect(NetworkClient.java:139) > > > > > > > I assume the problem is that you didn't specify a name for the document > (Document name = null). > You could try > > xindice ad -c /db/test/ -f Chap0701.xml -n Chap0701.xml -v > > > > instead. > > Bye, > > David > >