xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kensche <david.kens...@rwth-aachen.de>
Subject Re: Error on adding document
Date Tue, 25 Nov 2003 12:49:22 GMT
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




View raw message