Hello all,
I'm going through my first project which has multiple modules and I'm
getting a bit stuck.
First of all I'll say that all the things I'm trying to do here I've
done already in a small one module project based on the StockWatchers
tutorial and that for all sorts of reasons I need to use my own
customized servlets extending HttpServlet and the Glassfish Server.
I'm having two problems (the project is called NewMCPU):
1. I have a module called: com.aaa.bbb.ccc and in it I build a
RequestBuilder which uses GET method and this url: "http://localhost:
8082/NewMCPU/com.aaa.bbb.ccc/mcpu" by calling GWT.getModuleBaseURL()
+"mcpu"; my servlet is defined via annotations (supported from
Servlets 3.0) like this: @WebServlet(name="mCPUServiceImpl",
urlPatterns={"/com.aaa.bbb.ccc/mcpu"}, asyncSupported=true)
and when debugging I see that the server returns a 404 error code so I
don't understand how or where I'm mixing up the url? I think this is
connected to multiple modules because I have 3 modules and like I said
in the smaller one module project this worked, only there the url in
the client was hardcoded "http://localhost:8082/NewMCPU/mcpu"; and in
the servlet just "/mcpu".

2. I can't seem to debug my server side code. In the project there are
two other modules who for the time being use RPC which I was able to
debug before I started to using my server and not the built-in one but
now I can't seem to debug the server side code.
What I do is launch the Glassfish in debug mode and then start my app
in the debug as web application in eclipse.
The hosted mode shell launches and so does my app but all my server
side breakpoints are being ignored (not my client side).

I really would appreciate any help granted as I've been trying to
figure these out for the past two days...

Ittai
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to