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 Jelle Alten <je...@hotmail.com> on 2004/05/13 14:45:54 UTC
Newbe trouble accessing Xindice
Hi,
I'm quite new to Xindice, but am having a little trouble to get it working already...
Two problems:
- I can start the Jetty version (Xindice 1.0) version ok, run the command tools (xindice/xindiceadmin) and even access it from my Java program. But I can't get XUpdate working here, it replies that it cant process or compile my query, which i think has no problems... I can even connect using XMLdbGUI, but this will also give the same error on XUpdate thingies.
- I can run Xindice 1.1b4 under Tomcat, and the ugly interface will run, but I can't connect to it using my Java program. I tried to change the Tomcat port to 8080, 8888 and 4080, but can't connect to it. I even tried to connect with XMLdbGUI, but that doesn't work either.
So how do I get XUpdate working with Jetty? Does anybody else have the same problem?
Where can I get a newer Jetty implementation if Xindice? Maybe that will solve the XUpdate problem.
Any clues on how to reach the XIndice server while running under Tomcat? Can I use the command line tools as well, while it runs under Tomcat? How?
I will write a wiki page on it once I have solved it...
Looking forward to any clues...
Jelle
Re: Newbe trouble accessing Xindice
Posted by Vadim Gritsenko <va...@reverycodes.com>.
Jelle Alten wrote:
> It looks like the xindice.jar from 1.0 doesn't want to play with the
> runtime of Xindice 1.1b4, and vice versa, which make some sense.
No, and it will never be! Take a moment to read release notes in README
file. Here is snippet for you:
---------- 8< ----------
Release Notes
-------------
Complete change list for the Apache Xindice releases now available
online, at:
http://xml.apache.org/xindice/changes.html
IMPORTANT NOTE: Deployment of Xindice 1.1 is very different
from Xindice 1.0. In many ways this should constitute a full
version change since it isn't really backwards compatible
with 1.0. However, the reasons this was done was to simplify
the code base in preparation for future development.
Unfortunately, the new features added do not justify a version
change to 2.0.
...
- The network access API is now based on XML-RPC rather then
CORBA. This was done for simplification and to eliminate the
constant problems with the CORBA ORB and consumption of
resources. It also was done to address UTF-8 encoding issues
that were present with CORBA. Initial tests show a minimal
performance impact from this change.
---------- 8< ----------
> I think that is the biggest part of my problem. Is that possible, or
> even plausible since the interface might have changed some?
>
> This would also explain why XMLdbGUI didn't want to play with the
> 1.1b4 version. Replacing some files in the lib directory of XMLdbGUI
> helped, it plays a little now... Still have to try xupdate.
>
> Jelle
>
>
> ----- Original Message -----
>
> *From:* Jelle Alten <ma...@hotmail.com>
> *To:* xindice-users@xml.apache.org
> <ma...@xml.apache.org>
> *Sent:* Thursday, May 13, 2004 2:45 PM
> *Subject:* Newbe trouble accessing Xindice
>
> Hi,
>
> I'm quite new to Xindice, but am having a little trouble to get it
> working already...
> Two problems:
>
> - I can start the Jetty version (Xindice 1.0) version ok,
>
Xindice 1.0 does *not* have Jetty.
> run the command tools (xindice/xindiceadmin) and even access it
> from my Java program. But I can't get XUpdate working here, it
> replies that it cant process or compile my query, which i think
> has no problems... I can even connect using XMLdbGUI, but this
> will also give the same error on XUpdate thingies.
>
>
> - I can run Xindice 1.1b4 under Tomcat, and the ugly interface
> will run, but I can't connect to it using my Java program. I tried
> to change the Tomcat port to 8080, 8888 and 4080, but can't
> connect to it. I even tried to connect with XMLdbGUI, but that
> doesn't work either.
>
http://xml.apache.org/xindice/community/howto/installation/tomcat.html#Copy+the+WAR+file
http://wiki.apache.org/xindice/XindiceFAQ/XindicePort
> So how do I get XUpdate working with Jetty? Does anybody else have
> the same problem?
>
No.
> Where can I get a newer Jetty implementation if Xindice? Maybe
> that will solve the XUpdate problem.
>
No, it won't solve. Following XUpdates work for me well:
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/xmldb/samples/populate.xml?rev=1.6&view=auto
(look at xu:* tags, ignore the rest)
> Any clues on how to reach the XIndice server while running under
> Tomcat? Can I use the command line tools as well, while it runs
> under Tomcat? How?
>
Yes, see above.
> I will write a wiki page on it once I have solved it...
>
Wiki FAQ about service location parameter should be helpful for the
newbies. More on this parameter is here:
http://xml.apache.org/xindice/api/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.html
Default service-location value is 'xindice', that is, it will look for
xindice server at http://host:port/xindice
Vadim
Re: Newbe trouble accessing Xindice
Posted by Imtiyaz <im...@yahoo.co.in>.
read this link for configuring tomcat and xindice
http://www.cocooncenter.org/articles/xindice.html
Jelle Alten <je...@hotmail.com> wrote:
It looks like the xindice.jar from 1.0 doesn't want to play with the runtime of Xindice 1.1b4, and vice versa, which make some sense. I think that is the biggest part of my problem. Is that possible, or even plausible since the interface might have changed some?
This would also explain why XMLdbGUI didn't want to play with the 1.1b4 version. Replacing some files in the lib directory of XMLdbGUI helped, it plays a little now... Still have to try xupdate.
Jelle
----- Original Message -----
From: Jelle Alten
To: xindice-users@xml.apache.org
Sent: Thursday, May 13, 2004 2:45 PM
Subject: Newbe trouble accessing Xindice
Hi,
I'm quite new to Xindice, but am having a little trouble to get it working already...
Two problems:
- I can start the Jetty version (Xindice 1.0) version ok, run the command tools (xindice/xindiceadmin) and even access it from my Java program. But I can't get XUpdate working here, it replies that it cant process or compile my query, which i think has no problems... I can even connect using XMLdbGUI, but this will also give the same error on XUpdate thingies.
- I can run Xindice 1.1b4 under Tomcat, and the ugly interface will run, but I can't connect to it using my Java program. I tried to change the Tomcat port to 8080, 8888 and 4080, but can't connect to it. I even tried to connect with XMLdbGUI, but that doesn't work either.
So how do I get XUpdate working with Jetty? Does anybody else have the same problem? Where can I get a newer Jetty implementation if Xindice? Maybe that will solve the XUpdate problem.
Any clues on how to reach the XIndice server while running under Tomcat? Can I use the command line tools as well, while it runs under Tomcat? How?
I will write a wiki page on it once I have solved it...
Looking forward to any clues...
Jelle
Yahoo! India Matrimony: Find your partner online.
Re: Newbe trouble accessing Xindice
Posted by Jelle Alten <je...@hotmail.com>.
It looks like the xindice.jar from 1.0 doesn't want to play with the runtime of Xindice 1.1b4, and vice versa, which make some sense. I think that is the biggest part of my problem. Is that possible, or even plausible since the interface might have changed some?
This would also explain why XMLdbGUI didn't want to play with the 1.1b4 version. Replacing some files in the lib directory of XMLdbGUI helped, it plays a little now... Still have to try xupdate.
Jelle
----- Original Message -----
From: Jelle Alten
To: xindice-users@xml.apache.org
Sent: Thursday, May 13, 2004 2:45 PM
Subject: Newbe trouble accessing Xindice
Hi,
I'm quite new to Xindice, but am having a little trouble to get it working already...
Two problems:
- I can start the Jetty version (Xindice 1.0) version ok, run the command tools (xindice/xindiceadmin) and even access it from my Java program. But I can't get XUpdate working here, it replies that it cant process or compile my query, which i think has no problems... I can even connect using XMLdbGUI, but this will also give the same error on XUpdate thingies.
- I can run Xindice 1.1b4 under Tomcat, and the ugly interface will run, but I can't connect to it using my Java program. I tried to change the Tomcat port to 8080, 8888 and 4080, but can't connect to it. I even tried to connect with XMLdbGUI, but that doesn't work either.
So how do I get XUpdate working with Jetty? Does anybody else have the same problem?
Where can I get a newer Jetty implementation if Xindice? Maybe that will solve the XUpdate problem.
Any clues on how to reach the XIndice server while running under Tomcat? Can I use the command line tools as well, while it runs under Tomcat? How?
I will write a wiki page on it once I have solved it...
Looking forward to any clues...
Jelle