Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GWT works but Jetty doesn't

 
Clive vanHiltenn
Greenhorn
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic