• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

GWT works but Jetty doesn't

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all. I am running Jetty 7.2.0 on Ubuntu and have a webapp which makes uses of Jetty's ContinuationFilter and ProxyServlet. Part of my webapp (built using GWT - Google Web Toolkit v2.2.0) enables access to a Bugzilla installation running on Apache (on the localhost). Accessing Bugzilla through http://localhost/bugzilla runs just fine, i.e. Apache and Bugzilla are playing nicely together. Running the webapp in GWT's development mode works just fine.

However, the link to Bugzilla fails with a 404 not found error when I try and access it through my webapp at http://localhost:8080/dash ('dash' is the name of the webapp folder); so there must be some problem with my Jetty setup. The link to Bugzilla is contained in this fragment of GWT code:

Bugzilla's welcome page is index.cgi, and this is found in /var/www/bugzilla on my Ubuntu machine. As I say, accessing http://localhost/bugzilla returns this welcome page and I can use Bugzilla just fine if I go direct rather than via my webapp.

Apache's log file indicates that requests from Jetty don't make it to Apache.

The Jetty request log confirms that the URL requested is not found:

This leads me to believe that Jetty fails to proxy the request to localhost.

I would be really grateful if anyone can help on this. I've spent days on it and posted to both the GWT group on Google groups and on stackoverflow.com, but no success yet. Thank you.

My webapp's web.xml reads as follows, are there any other relevant Jetty config files I need to dig into?

When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
create, convert, edit or print DOC and DOCX in Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!