Hi Dirk,

Sorry about that last post!  I have switched to eXist ( www.exist-db.org/ )
as it meets my needs in what I think is an easier set-up.

When using the command line I think I always telneted into the server.  With
exist I using the cocoon based set-up provided.

Here is the section from the Xindice manual that might help with your
connection.


Accessing Xindice Remotely

By default Xindice assumes that the client and server are running on the
same machine. In most configurations this will not be the case so it will be
necessary to include the hostname and port of the server where Xindice is
running in your URIs. The port you use is the port that the Xindice HTTP
server is listening on. The port setting is displayed when you start the
server. By default the configuration used is xindice://localhost:4080. To
access the collection /db/addressbook on host xml.apache.org port 4090 the
URI would look something like this
xindice://xml.apache.org:4090/db/addressbook. If you are running the client
and server on the same machine you do not need to specify a host or port.
All examples in this document assume the client and server are on the same
machine.

If you are having problems accessing Xindice remotely this may be the result
of the server publishing an incorrect IP address as part of its CORBA IOR.
The IOR is generated by the ORB using the hostname setting of the server. If
the hostname is set to a fully qualified domain name that can not be
resolved by the client you will not be able to remotely access the server.
To fix this you must insure the host name on the server is resolvable by the
client. To see the setting of the host name on the server you should be able
to type hostname at a command prompt. If the hostname is not a fully
qualified domain name then the ORB will use the IP address of the server
instead of the name and you shouldn't have any problems.

----- Original Message -----
From: "Dirk Bromberg" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 13, 2002 10:14 AM
Subject: AW: Can't Remote Access to Xindice!


> The call
>
> \>xindice lc -c 134.102.218.246:4080/db
>
> without the 'l' is not a valid command!!!
> 'lc' is for list collections
>
> the problem must be another...
>
> Dirk
>
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Brian Blakeley [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 13. M�rz 2002 16:06
> > An: [email protected]
> > Betreff: Re: Can't Remote Access to Xindice!
> >
> >
> > Hello,
> >
> > The command you are using -lc starts a local instance to query the
server.
> > Try starting the server on the one machine and dropping the 'l' from
your
> > commands.
> >
> > This I think is set out in the users manual - but the step by
> > step approach
> > leaves it a little unclear - if I remember correctly.
> >
> > Good luck!
> >
> > Brian
> >
> >
> > ----- Original Message -----
> > From: "Dirk Bromberg" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Wednesday, March 13, 2002 4:55 AM
> > Subject: Can't Remote Access to Xindice!
> >
> >
> > > Hi,
> > >
> > > I've downloaded Xindice RC2. Then after unpacking I've started the
> > server...
> > > When I'm on the same machine i can list the collections with the
> > > commandline:
> > >
> > > $>xindice lc -c 134.xxx.xxx.xxx:4080/db
> > >
> > >   addressbook
> > >         system
> > >         test
> > >
> > > Total collections: 3
> > > $>
> > >
> > > When I'm on an other machine i can't list the collections, why ?
> > >
> > > $>xindice lc -c 134.xxx.xxx.xxx:4080/db
> > > ERROR:
> > >
> > > $>
> > >
> > >
> > > When I will access to xindice with the Example1.java from the Examles
> > there
> > > comes the Error:
> > >
> > > XML:DB Exception occured 1
> > > vendorCode : 2070
> > >
> > > Must I change something at the configfiles to access to xindice form
> > another
> > > machine ????
> > >
> > > Thanks
> > >
> > > Dirk Bromberg
> > > [EMAIL PROTECTED]
> > >
> >
> >
>

Reply via email to