• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

GWT works but Jetty doesn't

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

reply
    Bookmark Topic Watch Topic
  • New Topic