You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Henrik Mohr <he...@webdata.dk> on 2003/05/22 00:46:00 UTC

Newbie problems - please help!

Hi there,

I can't get Xindice to work.
This is what I did:

1: Downloaded the src, jar & war-versions of Xindice 1.1
2: Renamed the war-file to Xindice.war
3: Copied Xindice.war to [TOMCAT_HOME]/webapps/
4: Started Tomcat (which runs on port 8080)
5: Verifying Xindice by calling http://localhost/Xindice - it works (I can
browse with the "ugly debug tool")
6: Edited my classpath, so it points to all the jar-files under
[XINDICE_HOME]/java/lib
7: Tried the command "xindice lc -l -c /db" - which defaults to "./db" and
returns "system". (access as local database)
8: Tried the command "xindice lc -c /db" - which returns "ERROR : Collection
not found!". (access as remote database via XML-RPC)

What do I do wrong? I've used 3 nights trying to make this work, with no
luck at all.. I'm pretty desperate and running out of patience..

Please help!

Thanks in advance,

Henrik, Denmark

Re: Newbie problems - please help!

Posted by Henrik Mohr <he...@webdata.dk>.
My Tomcat runs on port 80, not 8080..
Sorry for the inconvenience!

Regards,
Henrik
  -----Oprindelig meddelelse-----
  Fra: Henrik Mohr [mailto:henrik@webdata.dk]
  Sendt: 22. maj 2003 00:46
  Til: xindice-users@xml.apache.org
  Emne: Newbie problems - please help!


  Hi there,

  I can't get Xindice to work.
  This is what I did:

  1: Downloaded the src, jar & war-versions of Xindice 1.1
  2: Renamed the war-file to Xindice.war
  3: Copied Xindice.war to [TOMCAT_HOME]/webapps/
  4: Started Tomcat (which runs on port 8080)
  5: Verifying Xindice by calling http://localhost/Xindice - it works (I can
browse with the "ugly debug tool")
  6: Edited my classpath, so it points to all the jar-files under
[XINDICE_HOME]/java/lib
  7: Tried the command "xindice lc -l -c /db" - which defaults to "./db" and
returns "system". (access as local database)
  8: Tried the command "xindice lc -c /db" - which returns "ERROR :
Collection not found!". (access as remote database via XML-RPC)

  What do I do wrong? I've used 3 nights trying to make this work, with no
luck at all.. I'm pretty desperate and running out of patience..

  Please help!

  Thanks in advance,

  Henrik, Denmark

SV: Newbie problems - please help!

Posted by Henrik Mohr <he...@webdata.dk>.
Hello Charles,

Thank you for your answer.
Yes, I do have the /db directory under webapps/Xindice. And I can browse the
db through the "ugly debug tool".

I use Tomcat 5.02 and JDK1.4.1_01.
I've tried to compile Xindice from source, but the zipped source-download
misses the "/config" folder which contains xindice.xml, commands.xml etc.

Do you think I should build from cvs? And where is the cvs stored?

Thanks,
/Henrik
  -----Oprindelig meddelelse-----
  Fra: Charles Hsiao [mailto:chsiao@mrxsolutions.com]
  Sendt: 22. maj 2003 01:58
  Til: xindice-users@xml.apache.org
  Emne: Re: Newbie problems - please help!


  In 1.1, the /db should be created when you start Xindice the first tiime.

  Do you have /db in your <Xindice> directory?

  On Wednesday, May 21, 2003, at 03:46 PM, Henrik Mohr wrote:


    Hi there,

    I can't get Xindice to work.
    This is what I did:

    1: Downloaded the src, jar & war-versions of Xindice 1.1
    2: Renamed the war-file to Xindice.war
    3: Copied Xindice.war to [TOMCAT_HOME]/webapps/
    4: Started Tomcat (which runs on port 8080)
    5: Verifying Xindice by calling http://localhost/Xindice - it works (I
can browse with the "ugly debug tool")
    6: Edited my classpath, so it points to all the jar-files under
[XINDICE_HOME]/java/lib
    7: Tried the command "xindice lc -l -c /db" - which defaults to "./db"
and returns "system". (access as local database)
    8: Tried the command "xindice lc -c /db" - which returns "ERROR :
Collection not found!". (access as remote database via XML-RPC)

    What do I do wrong? I've used 3 nights trying to make this work, with no
luck at all.. I'm pretty desperate and running out of patience..

    Please help!

    Thanks in advance,

    Henrik, Denmark


  Charles Hsiao

  MRX Solututions Corp.
  Smart Practice, Smart Solutions

RE: Newbie; can't access Xindice through XML-RPC - please help!

Posted by Andi Heusser <ah...@gmx.ch>.
Hi Henrik (and others)

Did you manage to get the command line tool working with xindice-1.1b? I'm
running into the exact same problems and couldn't find any helpful info on
the web nor the archive of the mailing list.

If not, could anyone please help me with that issue? It seems that quite a
few people are using Xindice 1.1b by now and therefore I assume that it's
working for at least a few of those.

I'm using Xindice 1.1b under Tomcat 4.1.24 and Windows XP. The database is
correctly deployed under Tomcat since I can access it through the ugly debug
tool. I can access the database using the -l and -d flags (accessing it
locally), but I can't get the command line tool to work via the network
using either the -u or --uri flags.

Any ideas/help would be greatly appreciated. Thanks.

Andi Heusser



----------------------------------------------------------------------------
-----
Hello again (Charles and others),

OK, I've now fetched the souce from the public cvs repository, and compiled
it. No problems.
I've copied the _new_ Xindice.war to my "webapps" folder in Tomcat, and
started it.

I can still browse the CVS through a browser pointing to
http://localhost/Xindice, but I still can't use the command line:
C:\java\xml-xindice\bin>.\xindice.bat lc -c /db
ERROR : Collection not found!

C:\java\xml-xindice\bin>.\xindice.bat lc -c /db -u http://localhost/Xindice
ERROR : Collection not found!

C:\java\xml-xindice\bin>.\xindice.bat lc -c /db -u
http://localhost:80/Xindice
ERROR : Collection not found!

Any ideas? Please help, I'm on my 4th night without any access to Xindice
1.1.

Just for the record:
I use Tomcat 5.02 and Sun JDK1.4.1_01.

Thanks in advance!

Regards,
Henrik, Denmark



Newbie; can't access Xindice through XML-RPC - please help!

Posted by Henrik Mohr <he...@webdata.dk>.
Hello again (Charles and others),

OK, I've now fetched the souce from the public cvs repository, and compiled
it. No problems.
I've copied the _new_ Xindice.war to my "webapps" folder in Tomcat, and
started it.

I can still browse the CVS through a browser pointing to
http://localhost/Xindice, but I still can't use the command line:
C:\java\xml-xindice\bin>.\xindice.bat lc -c /db
ERROR : Collection not found!

C:\java\xml-xindice\bin>.\xindice.bat lc -c /db -u http://localhost/Xindice
ERROR : Collection not found!

C:\java\xml-xindice\bin>.\xindice.bat lc -c /db -u
http://localhost:80/Xindice
ERROR : Collection not found!

Any ideas? Please help, I'm on my 4th night without any access to Xindice
1.1.

Just for the record:
I use Tomcat 5.02 and Sun JDK1.4.1_01.

Thanks in advance!

Regards,
Henrik, Denmark

Re: Newbie problems - please help!

Posted by Charles Hsiao <ch...@mrxsolutions.com>.
In 1.1, the /db should be created when you start Xindice the first 
tiime.

Do you have /db in your <Xindice> directory?

On Wednesday, May 21, 2003, at 03:46 PM, Henrik Mohr wrote:

> Hi there,
>  
> I can't get Xindice to work.
> This is what I did:
>  
> 1: Downloaded the src, jar & war-versions of Xindice 1.1
> 2: Renamed the war-file to Xindice.war
> 3: Copied Xindice.war to [TOMCAT_HOME]/webapps/
> 4: Started Tomcat (which runs on port 8080)
> 5: Verifying Xindice by calling http://localhost/Xindice - it works (I 
> can browse with the "ugly debug tool")
> 6: Edited my classpath, so it points to all the jar-files under 
> [XINDICE_HOME]/java/lib
> 7: Tried the command "xindice lc -l -c /db" - which defaults to "./db" 
> and returns "system". (access as local database)
> 8: Tried the command "xindice lc -c /db" - which returns "ERROR : 
> Collection not found!". (access as remote database via XML-RPC)
>  
> What do I do wrong? I've used 3 nights trying to make this work, with 
> no luck at all.. I'm pretty desperate and running out of patience..
>  
> Please help!
>  
> Thanks in advance,
>  
> Henrik, Denmark
>
Charles Hsiao

MRX Solututions Corp.
Smart Practice, Smart Solutions