Tuesday, December 28, 2010

Re: Confused about Servlet mapping and Url Pattern, RPC not working when Deployed

On Dec 28, 12:18 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> From your Tomcat access logs, the app does not seem to be calling the server
> at all (no reference to stockPrices); so the "issue" might be that you
> actually don't make an RPC call from your client-side code.

But what i am talking here about is the tutorial stockwatcher
application given by GWT itself, so you say the example is never
making an RPC call?

this is what i have implemneted "http://code.google.com/webtoolkit/doc/
latest/tutorial/RPC.html
", at the end it says a link for deploying
RPC, that is what i was working for "Simple Example with Apache
Tomcat", i was not able to understand whats going wrong, as soon as i
enter the url http://localhost:8080/stockwatcher/StockWatcher.html and
hit enter, none of my tomcat log files were getting changed, sometimes
i get this in my localhost_access_log.2010-12-28.txt file:

127.0.0.1 - - [28/Dec/2010:14:28:40 -0500] "GET /stockwatcher/
stockwatcher/gwt/standard/standard.css HTTP/1.1" 200 26804
127.0.0.1 - - [28/Dec/2010:14:28:40 -0500] "GET /stockwatcher/
stockwatcher/07CFDAF5832B06D1C2CA4E468883DC49.cache.html HTTP/1.1" 200
91481
127.0.0.1 - - [28/Dec/2010:14:28:40 -0500] "GET /stockwatcher/
stockwatcher/gwt/standard/images/hborder.png HTTP/1.1" 200 1384

if i refresh the page i get

127.0.0.1 - - [28/Dec/2010:14:18:56 -0500] "GET /stockwatcher
%20original/StockWatcher.html HTTP/1.1" 304 -
127.0.0.1 - - [28/Dec/2010:14:18:56 -0500] "GET /stockwatcher
%20original/StockWatcher.css HTTP/1.1" 304 -
127.0.0.1 - - [28/Dec/2010:14:18:56 -0500] "GET /stockwatcher
%20original/stockwatcher/stockwatcher.nocache.js HTTP/1.1" 304 -
127.0.0.1 - - [28/Dec/2010:14:18:56 -0500] "GET /stockwatcher
%20original/stockwatcher/07CFDAF5832B06D1C2CA4E468883DC49.cache.html
HTTP/1.1" 304 -
127.0.0.1 - - [28/Dec/2010:14:18:57 -0500] "GET /stockwatcher
%20original/stockwatcher/gwt/standard/standard.css HTTP/1.1" 304 -
127.0.0.1 - - [28/Dec/2010:14:18:57 -0500] "GET /stockwatcher
%20original/stockwatcher/gwt/standard/images/hborder.png HTTP/1.1" 304
-

If i get this example to work on web using tomcat it would solve many
further issues for me, in eclipse its working fine, i never tested it
in hosted mode as i dont know how to do it.

--
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


Real Estate