>Hopefully this is of use to somebody - jetty is a quite nice alternative to
Tomcat :)

What you described is almost exactly the same as Tomcat (dropping a .war
file in the directory and such). I have also been looking at Jetty and Resin
(http://www.caucho.com/resin-3.0/) but still have not much reason to switch
from Tomcat 5.5.x because it has worked so well for me.

Could you describe more specifically why you think it is an alternative to
Tomcat - or why you feel you need to stray from Tomcat (pun intended :-).


Aaron Bartell

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Thorbjørn Ravn Andersen
Sent: Tuesday, February 07, 2006 10:06 AM
To: 'Java Programming on and around the iSeries / AS400'
Subject: Jetty 5.1.10 - an alternative to Tomcat.

Just for the record.

The other day I tried whether Jetty (http://jetty.mortbay.org/jetty/) would
run under V5R3, and - yes - it would.

I downloaded jetty-5.1.10.zip to my PC and copied to \\host\tmp.  Logged in
and started "qsh".

    cd /tmp
    jar xvf jetty-5.1.10.zip
    cd jetty-5.1.10
    java -jar start.jar

After a while Jetty is ready (await line with "Started
org.mortbay.jetty.Server@" in it).

On PC browse to "http://host:8080";, and get a 404 error "No context on this
server matched or handled this request."

You may then browse the template and javadoc applications.

To deploy other web applications (war files) drag and drop them to
\\host\tmp\jetty-5.1.10\webapps, and restart jetty (in another qsh-session
run "java -jar stop.jar" and start it again with "java -jar start.jar").

Hopefully this is of use to somebody - jetty is a quite nice alternative to
Tomcat :)

--
  Thorbjørn






   

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.