[jetty-user] Missing something about deployment

Howard Lewis Ship <[email protected]> Fri, 12 Aug 2011 14:09:33 -0700
Newsgroups gmane.comp.java.jetty.support
Message-ID <CACd-vsNffO-1G4Y5yyh6M43n45sPp_6DMB4wGTM_9ESf8Z+Nbg@mail.gmail.com>
I have Jetty 7.4.3 installed as ~/lib/jetty

I copy my war file to ~/lib/jetty/webapps

From ~/lib/jetty I execute java -jar start.jar

Jetty starts up for port 8080

However, http://localhost:8080/ returns a 404 response and the message
"No context on this server matched or handled this request"

The same .war file deploys into Tomcat 5.5.

I've even set JETTY_HOME.

Logs looks fine:

$ tail -f logs/2011_08_12.stderrout.log
2011-08-12 13:39:41.667:INFO::jetty-7.4.3.v20110701
2011-08-12 13:39:41.713:INFO::Started
[email protected]:8080 STARTING
2011-08-12 13:40:35.167:INFO::Graceful shutdown
[email protected]:8080 STARTED


This is Mac OS X Lion, Java 1.6

I must be missing something boneheaded here, but I've been pounding my
head over this for half an hour.

-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email