You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Kurt Ward <ku...@yahoo.com> on 2002/12/27 05:37:38 UTC

Jetty Config

 Gianugo,
 
 Do you have a quicky howto, etc. to get Xindice
 running under Jetty?  I haven't looked at it yet,
 but I would like to start doing most of my dev
 testing under Jetty instead of Tomcat.
 
 Kurt


Re: Jetty Config

Posted by Joan M Carroll <jc...@world.std.com>.
On Fri, 27 Dec 2002, Gianugo Rabellino wrote:
<clipped>
> A piece of cake. :-) Just create a /tools/jetty directory, and copy
> there the Jetty directory structure files from, say, Cocoon or Forrest, i.e:

just a version ctl note for whatever it's worth:

- the jetty dist on forrest/cocoon may be a couple of point
releases behind mortbay (recently 4.1 vs. 4.2.3)

- may also need to tailor the .xml config references
(e.g. infozone) to whatever your current cvs version


thanks for the info!


Re: Jetty Config

Posted by Gianugo Rabellino <gi...@apache.org>.
Kurt Ward wrote:
>  Gianugo,
>  
>  Do you have a quicky howto, etc. to get Xindice
>  running under Jetty?  I haven't looked at it yet,
>  but I would like to start doing most of my dev
>  testing under Jetty instead of Tomcat.

A piece of cake. :-) Just create a /tools/jetty directory, and copy 
there the Jetty directory structure files from, say, Cocoon or Forrest, i.e:

$ ls -lR xml-xindice/tools/jetty/
xml-xindice/tools/jetty/:
totale 4
drwxrwxrwx    2 Administ Nessuno         0 Dec 27 09:29 conf
drwxrwxrwx    2 Administ Nessuno      4096 Dec  9 16:03 lib

xml-xindice/tools/jetty/conf:
totale 4
-rwxrwxrwx    1 Administ Nessuno      3224 Dec 13 16:33 jettyconf.xml

xml-xindice/tools/jetty/lib:
totale 873
-rwxrwxrwx    1 Administ Nessuno     74487 Dec  3 01:10 javax.servlet.jar
-rwxrwxrwx    1 Administ Nessuno    249707 Dec  3 01:10 
org.apache.jasper.jar
-rwxrwxrwx    1 Administ Nessuno    529324 Dec  3 01:10 
org.mortbay.jetty-jdk1.2
.jar
-rwxrwxrwx    1 Administ Nessuno     39526 Dec  3 01:10 org.mortbay.jmx.jar


Copy under /tools/jetty/jettyconf.xml the attached file, and use the 
"run" target from the jetty.xml attached build file. You should be up 
and running out of the box, no more deploying needed. :-)

LMK if you need more help,

-- 
Gianugo

Re: Jetty Config

Posted by Joan M Carroll <jc...@world.std.com>.
On Thu, 26 Dec 2002, Kurt Ward wrote:
<clipped>
>  Do you have a quicky howto, etc. to get Xindice
>  running under Jetty?  I haven't looked at it yet,

i wrote one but i need to re-org it.

3 quick steps that worked for me (linux,jdk1.3.1):

PREP: assume JAVA_HOME is set & JAVA_HOME/bin is in PATH

1) Install Jetty

a. download jetty binary
   wget ftp://jetty.mortbay.org/pub/Jetty-4.2.3.tgz
b. untar into it's home dir
   tar -xvzf blahblah
c. set JETTY_HOME

2) Drop-in Xindice webapp

a. build Xindice webapp
b. unjar the .war file in Xindice subdir of $JETTY_HOME/webapp
c. edit the WEB-INF/system.xml file to set dbroot as you want it


3) Run Jetty

a. '$JETTY_HOME/bin/jetty.sh start' to start (dflt port: 8080)
b. '$JETTY_HOME/bin/jetty.sh stop' to stop



there are *lots* of other ways to do this - this one was just
the quickest for me
good luck!
j