xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enzo Formigoni" <enzo.formig...@infocamere.it>
Subject Error on adding document
Date Tue, 25 Nov 2003 12:33:55 GMT
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)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:366)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:582)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:292)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:253)
        at sun.net.www.http.HttpClient.New(HttpClient.java:321)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:301)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURL
ction.java:469)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConne
.java:460)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpU
nection.java:562)
        at java.net.URL.openStream(URL.java:955)
        at org.apache.xerces.readers.DefaultReaderFactory.createReader(Defa
aderFactory.java:149)
        at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
alEntity(DefaultEntityHandler.java:767)
        at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
alSubset(DefaultEntityHandler.java:566)
        at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTD
er.java:1139)
        at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(X
umentScanner.java:2145)
        at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocum
anner.java:2100)
        at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.
tch(XMLDocumentScanner.java:831)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
canner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
        at org.apache.xindice.tools.command.AddDocument.execute(AddDocument
:134)
        at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331)
        at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257)
        at org.apache.xindice.tools.XMLUserTools.main(XMLUserTools.java:98)
____________________________________________________________________________

I suppose that no httpserver is needed using embedded versions of xindice
...
The xml document i'm tring to add, exists: i tryed using wrong path and got
other error! but was ok!

Any clue!

java version "1.4.0_02"
OS= win2K
xindice 1.0 embedded

Have a nice day!
Enzo


Mime
View raw message