To start Jetty using the bundled version just go to the source
directory. and type ./xindice.sh start
(You will have to build the class files first.)

Thats about all I know for Jetty stuff. If you would like to contribute
to the Jetty documentation I will be more then happy it put on the main
Xindice website for future users. After doing some searching it does
appear to be lacking.

I personal use and prefer Tomcat unless you are completely stuck on Jetty.

In the future please ask the question in the first part of your message.

Todd Byrne

THOMAS J BOYLE wrote:
> I want to run xindice using Jetty as the server. I am working in linux and use
> J2sdk1.4.2 regularly. I am a serious programmer but not a systems admin or web
> server guy.
> 
> I downloaded recently both the bin version and the src. I got the src because 
> it
> said Jetty was packaged with it. However, I did not find any directions on 
> what
> to do with the packaged jetty. So, I downloaded the current Jetty. That runs 
> OK
> and I know how to change the port number, but whenever I run xindice it 
> reports:
> 
> Here is proof that jetty is running:
> 
> [EMAIL PROTECTED] jetty-5.1.11RC0]$ java -jar start.jar conf/main.xml
> 13:25:54.895 INFO   [main] org.mortbay.log.LogImpl.add(LogImpl.java:109) >16>
> added [EMAIL PROTECTED]
> 13:25:54.833 INFO   [main]
> org.mortbay.util.FileResource.<clinit>(FileResource.java:60) >11> Checking
> Resource aliases
> 13:25:55.629 INFO   [main]
> org.mortbay.http.HttpServer.doStart(HttpServer.java:684) >10> Version
> Jetty/5.1.11RC0
> 13:25:55.772 INFO   [main] org.mortbay.util.Container.start(Container.java:74)
> 
>>15> Started [EMAIL PROTECTED]
> 
> 13:25:55.775 INFO   [main] org.mortbay.util.Container.start(Container.java:74)
> 
>>11> Started WebApplicationContext[/xindice,/xindice]
> 
> 13:25:55.779 INFO   [main]
> org.mortbay.http.SocketListener.start(SocketListener.java:205) >11> Started
> SocketListener on 0.0.0.0:8888
> 13:25:55.779 INFO   [main] org.mortbay.util.Container.start(Container.java:74)
> 
>>09> Started [EMAIL PROTECTED]
> 
> 
> Also, my browser finds it with
> http://127.0.0.1:8888/xindice/
> It doesn't say much but I can tell the difference between getting a response 
> and
> not.
> 
> But, tho I have tried all the xml things in your directories and tinkered with
> versions in Jetty, when I try running something like:
> 
> [EMAIL PROTECTED] bin]$ ./xindice list_collections  -c /db
> 
> [EMAIL PROTECTED] bin]$ ./xindice list_collections  -c /db
> /home/biowolp/java/j2sdk1.4.2_06
> /home/biowolp/downloads/indice/xindice-1.1b4
> /home/biowolp/downloads/indice/xindice-1.1b4/classes:/home/biowolp/downloads/ind
> ice/xindice-1.1b4/java/lib/commons-logging-1.0.3.jar:/home/biowolp/downloads/ind
> ice/xindice-1.1b4/java/lib/servlet-2.3.jar:/home/biowolp/downloads/indice/xindic
> e-1.1b4/java/lib/xalan-2.5.2.jar:/home/biowolp/downloads/indice/xindice-1.1b4/ja
> va/lib/xerces-2.6.0.jar:/home/biowolp/downloads/indice/xindice-1.1b4/java/lib/xm
> l-apis.jar:/home/biowolp/downloads/indice/xindice-1.1b4/java/lib/xmldb-api-20030
> 701.jar:/home/biowolp/downloads/indice/xindice-1.1b4/java/lib/xmldb-api-sdk-2003
> 0701.jar:/home/biowolp/downloads/indice/xindice-1.1b4/java/lib/xmldb-common-2003
> 0701.jar:/home/biowolp/downloads/indice/xindice-1.1b4/java/lib/xmldb-xupdate-200
> 40205.jar:/home/biowolp/downloads/indice/xindice-1.1b4/java/lib/xmlrpc-1.1.jar:/
> home/biowolp/downloads/indice/xindice-1.1b4/dist/xindice-1.1b4.jar
> trying to register database
> XMLDB Exception 0: Cannot communicate with the server:
> http://127.0.0.1:8888/xindice/
> 
> If I run this,
> [EMAIL PROTECTED] bin]$ ./xindice list_collections -l -c /db
> then I get meaningful stuff from xindice.
> 
> 
> I dont want to put you guys off, but frankly, I am amazed at how far you are
> from documenting how to bring this stuff up.
> 
> If you have solid suggestions to help me, I suggest that they be added to the
> documentation too.
> 
> Tom Boyle
> 
> 
> 
> 
> 
> 

Reply via email to