GWT app problem, requested resource is not available.
Hi I've deployed a GWT app on Apache-Tomcat-7.0.8, I'm using GIN in
frontend and GUICE in backend.
My app will run just fine from my development environment, but as soon
as i run it in production it quickly turns ugly.
When i attempt the first RPC call i get an error message which outputs
a chunk of HTML code and some clues as to what the problem is:
"<html><head><title>Apache Tomcat/7.0.8 - Error report</
title><style><!--H1 {font-family:Tahoma ..... <body><h1>HTTP Status
404 - /pendler/dispatch</h1><HR size="1" noshade="noshade"><p><b>type</
b> Status report</p><p><b>message</b> <u>/pendler/dispatch</u></
p><p><b>description</b> <u>The requested resource (/pendler/dispatch)
is not available.</u> ...... </html>"
I've used the HUPA project as a reference while working on the app:
http://james.apache.org/hupa/project-info.html
The reference to the resource it can't find is in my
DispatchServletModule:
public class DispatchServletModule extends ServletModule {
@Override
public void configureServlets() {
super.configureServlets();
serve("/pendler/dispatch").with(DispatchServiceServlet.class);
}
}
I have the following Guice servlet config:
public class MyGuiceServletConfig extends GuiceServletContextListener
{
@Override
protected Injector getInjector() {
return Guice.createInjector(new ServerModule(), new
DispatchServletModule());
}
}
Any clues as to what might be causing this error? I've been working on
this for two days without too much luck.
Any help would be most appreciated.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home