Josema

Tricky one - it's not throwing an exception in the same place mine was.

Looking through the stack trace, I noticed the following:

Error: Connection refused: connect

It doesn't give a lot of clues - but it implies the socket connect statement is 
failing. Most likely guess here would be that the address/port combination 
your using on the XMLDB side does not match that of the web 
server/xmlrpc server on the Xindice side. I used the default both sides 
(127.0.0.1:8080).

If it's not this, then maybe provide some more details about the environment 
your running e.g. whether are you using Xindice standalone or in Tomcat 
(and which version of Xindice)

-- Rob


Send reply to:          [email protected]
From:                   "Josema Alonso" <[EMAIL PROTECTED]>
To:                     <[email protected]>
Subject:                Re: XMLDB UI - tips from use against latest CVS version 
of Xindice
Date sent:              Fri, 8 Nov 2002 01:02:42 +0100

> Dear Rob,
> 
> Thanks for the tips. I got XMLdbGUI running but when I try Select XMLdb -->
> Xindice, I get an exception (stack trace below). Any ideas?
> 
> Thanks.
> 
> ------------
> org.xmldb.api.base.XMLDBException: A connection to the Database instance
> 'db' co
> uld not be created. Error: Connection refused: connect
>         at
> org.apache.xindice.client.xmldb.DatabaseImpl.init(DatabaseImpl.java:3
> 86)
>         at
> org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseIm
> pl.java:205)
>         at
> org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:194)
> 
>         at
> org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
> 
>         at com.dstc.xml.xmldb.gui.XMLdbGUI.initXMLDB(XMLdbGUI.java:315)
>         at
> com.dstc.xml.xmldb.gui.XMLdbGUI.connectButtonActionPerformed(XMLdbGUI
> .java:820)
>         at com.dstc.xml.xmldb.gui.XMLdbGUI.access$1700(XMLdbGUI.java:74)
>         at
> com.dstc.xml.xmldb.gui.XMLdbGUI$16.actionPerformed(XMLdbGUI.java:663)
> 
>         at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
> 67)
>         at
> javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
> ctButton.java:1820)
>         at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
> .java:419)
>         at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257
> )
>         at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
> istener.java:258)
>         at java.awt.Component.processMouseEvent(Component.java:5021)
>         at java.awt.Component.processEvent(Component.java:4818)
>         at java.awt.Container.processEvent(Container.java:1380)
>         at java.awt.Component.dispatchEventImpl(Component.java:3526)
>         at java.awt.Container.dispatchEventImpl(Container.java:1437)
>         at java.awt.Component.dispatchEvent(Component.java:3367)
>         at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214
> )
>         at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
> 
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
>         at java.awt.Container.dispatchEventImpl(Container.java:1423)
>         at java.awt.Window.dispatchEventImpl(Window.java:1566)
>         at java.awt.Component.dispatchEvent(Component.java:3367)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
>         at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:190)
>         at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:144)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> 
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
> 
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
> 


SoftSell Business Systems, Ltd.
' testing solutions for a changing world '
 
+44 (20) 7488 3470
www.softsell.com
[EMAIL PROTECTED]

Reply via email to