There are several modes of operation.

1). Servlet aka Tomcat, Cocoon
2). Built in jetty container aka standalone.
3). Embed

I personally use a tomcat because its easy( Tomcat for windows has an MSI installer). Drop the war in and your up and running no extra coding necessary. You get a database browse page for free and can use tomcat's manager to stop and start Xindice on a whim from browser. But running it embed is also another way to go.

I am sure I might have missed a operation mode so take a look here:
http://marc.theaimsgroup.com/?l=xindice-users&m=108275386813198&w=2

Has a good explanation about using the different managed driver types.

Todd

[EMAIL PROTECTED] wrote:
It doesn't work.

I don't use the newest version because I need a standalone db. If I correctly
understood, with the version 1.1b4 I need a servlet server...


Selon Todd Byrne <[EMAIL PROTECTED]>:


So right off the bat it looks like you have squashed two attributes togther.

Try that it worked for me. Also make sure your using the newest 1.1b4.

Todd

[EMAIL PROTECTED] wrote:

Hi!!

I'm a beginner with Xindice 1.0 (I need a standalone db) and Xupdate. I
implemented a Java program and I get this exception when perform my

request:

org.apache.xindice.client.corba.db.APIException:
IDL:org/apache/xindice/client/corba/db/APIException:1.0

Is it my query?

my Xupdate query is following, can you have a look on it?


                                                    > <need a space here

String xupdate = "<xu:modifications version=\"1.0\" " +


                 "xmlns:xu=\"http://www.xmldb.org/xupdate\";>" +
                 "<xu:append select=\"/images\" >" +
                 "<xu:element name=\"image\">" +
                 "<xu:attribute name=\"path\"> "+path+" </xu:attribute>" +
                        "<context>h</context>" +
                        "<people>f</people>" +
                        "<place>montain</place>" +
                        "<properties>" +
                                "<author>joe</author>" +
                                "<quality>best</quality>" +
                        "</properties>" +
"</xu:element>" + "</xu:append>" +
                "</xu:modifications>";




Reply via email to