Hi Andrew,


Yes, thats progress - and tanks to you I have come futher.

My environment variables was correct, but as I was queueing a Xindice instance 
on my local PC I did
not think of supplying the port number. Port 8080 was used by Jetty so I 
installed Tomcat with port
8765.

Trying:

xindice ac -c xmldb:xindice://localhost:8765/db -n test

-did work!

C:\Xindice\xindice-1.1b3\bin>xindice ac -c xmldb:xindice://localhost:8765/db -n 
test
[DEBUG] DatabaseImpl - -Using SAX Driver: 'xerces'
[DEBUG] DatabaseImpl - -Using Service Location: '/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://localhost:8765/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://localhost:8765/xindice/'
Created : xmldb:xindice://localhost:8765/db/test

If you know how to change the default port for the command line tool, I would 
like to be informed.

I am now working on getting XMLdbGUI up and running.

Kim Daugaard




                                                                                
                                                                             
              [EMAIL PROTECTED]                                                 
                                                                              
              .com                   To:       xindice-users@xml.apache.org, 
[EMAIL PROTECTED]                                                               
                                     cc:                                        
                                                                             
              01/27/2004 04:55       Subject:  Re: Xindice 1.1b3 
install/configuration frustrations on Windows XP                                
            
              PM                                                                
                                                                             
              Please respond                                                    
                                                                             
              to xindice-users                                                  
                                                                             
                                                                                
                                                                             
                                                                                
                                                                             
                                                                                
                                                                             




In a message dated 1/27/2004 3:31:10 PM GMT Standard Time, [EMAIL PROTECTED] 
writes:

 Hi Andrew

 Thanks.

 I am with you to step 10.  I did build (1.1b3) from source so I have 
config\commands.xml


Kim,

That's progress. :)

 Still the command line tool does not work. What I do not understand is: If 
Xindice is running as a
 plug-in under Tomcat, what should then CLASSPATH be set to? Running Xindice 
1.0 CLASSPATH was set
 to
 C:\Xindice\xml-xindice-1.0\java\lib\Xindice.jar

 Xindice 1.1b3 does not have this .jar file

 Kind Regards
 Kim Daugaard


I have the following environment variables set (adjust to your circumstances):
JAVA_HOME - c:\j2sdk1.4.2_03
CATALINA_HOME - c:\Tomcat 5.0.18
XINDICE_HOME - c:\xindice-1.1b3

I have nothing in CLASSPATH relating to Xindice. As I mentioned in a later 
email I downloaded and
installed the binary which included a jar file after the war file and before 
the source zip. I don't
know if that jar is helping make it work or not. <shrug/>

I navigate to c:\xindice-1.1b3\bin and type "xindice" and the batch file runs 
successfully. It shows
a set of accepted parameters/switches.

I was able to create a test collection using the following (and also confirm it 
was added by
navigating to database.xml in the browser). The Command window output is also 
shown.

C:\xindice-1.1b3>xindice ac -c xmldb:xindice://localhost:8080/db -n test
[DEBUG] DatabaseImpl - -Using SAX Driver: 'xerces'
[DEBUG] DatabaseImpl - -Using Service Location: '/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://localhost:8080/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://localhost:8080/xindice/'
Created : xmldb:xindice://localhost:8080/db/test

You say "does not work". The actual error message(s) would be more helpful.

Andrew Watt


Reply via email to