Still was not able to call the RPC, the html page has loaded fine, no error logs in the localhost_access_log file, i have installed firebug, can anyone tell me what should i see in it.
What could be the possible problem for not calling the RPC? On Dec 23, 4:20 pm, AmaraSat <amara.forthewo...@gmail.com> wrote: > Hello Nirmal, > I have some questions (please also look for my above post and reply > for it too) > > From the StockWatcher application project, after i compile i have > StockPriceServiceImpl.class, this means my server side code is > compiled right? or do i have to do to the non eclipse method and build > my war file using "ant build" and then use those files. > > Right now i am going through everything using these steps "http:// > code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web- > toolkit-doc-1-5&t=DevGuideRPCDeployment", will let you know how it > went!! > > On Dec 23, 11:33 am, AmaraSat <amara.forthewo...@gmail.com> wrote: > > > Hello Nirmal, > > > Sorry for reposting again, i am confused so i reposted it again. > > > As you said i am pasting ym GWT.Xml and Web.Xml here, > > > StockWatcher.gwt.xml: > > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.2// > > EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.2/distro- > > source/core/src/gwt-module.dtd"> > > <module rename-to='stockwatcher'> > > <inherits name='com.google.gwt.user.User'/> > > <inherits name='com.google.gwt.rpc.RPC'/> > > <entry-point > > class='com.google.gwt.sample.stockwatcher.client.StockWatcher'/> > > <servlet path='/stockPrices' > > > class='com.google.gwt.sample.dynatable.server.StockPriceServiceImpl' / > > > </module> > > > web.Xml: > > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE web-app > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > <web-app> > > <servlet> > > <servlet-name>stockPriceServiceImpl</servlet-name> > > <servlet- > > class>com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl</ > > servlet-class> > > </servlet> > > > <servlet-mapping> > > <servlet-name>stockPriceServiceImpl</servlet-name> > > <url-pattern>/stockwatcher/stockPrices</url-pattern> > > </servlet-mapping> > > > </web-app> > > > My remote servlet path is the same -- StockPriceService.java: > > > @RemoteServiceRelativePath("stockPrices") > > > This is what i have in Tomcat: > > > C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps > > \stockwatcher -- contains my .css, .gwt.xml, .html > > C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps > > \stockwatcher\stockwatcher -- contains the .cache, gwt folder > > and .nocache.js > > C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps > > \stockwatcher\WEB-INF -- contains classes, lib and web.xml > > > and > > C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps > > \stockwatcher\client > > C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps > > \stockwatcher\server -- these contain the actual jave files(source > > files) i dont think i need these. > > > I have turned on access logging on Tomcat: > > > This is the error on localhost_access_log > > 127.0.0.1 - - [23/Dec/2010:10:44:14 -0500] "GET /stockwatcher/ > > stockwatcher/stockwatcher.nocache.js HTTP/1.1" 200 5548 > > 127.0.0.1 - - [23/Dec/2010:10:44:14 -0500] "GET /stockwatcher/ > > stockwatcher/07CFDAF5832B06D1C2CA4E468883DC49.cache.html HTTP/1.1" 200 > > 91481 > > if i reload the whole page again > > 127.0.0.1 - - [23/Dec/2010:11:13:33 -0500] "GET /stockwatcher/ > > StockWatcher.html HTTP/1.1" 304 - > > 127.0.0.1 - - [23/Dec/2010:11:13:33 -0500] "GET /stockwatcher/ > > StockWatcher.css HTTP/1.1" 304 - > > 127.0.0.1 - - [23/Dec/2010:11:13:33 -0500] "GET /stockwatcher/ > > stockwatcher/stockwatcher.nocache.js HTTP/1.1" 304 - > > 127.0.0.1 - - [23/Dec/2010:11:13:33 -0500] "GET /stockwatcher/ > > stockwatcher/07CFDAF5832B06D1C2CA4E468883DC49.cache.html HTTP/1.1" 304 > > - > > 127.0.0.1 - - [23/Dec/2010:11:13:33 -0500] "GET /stockwatcher/ > > stockwatcher/gwt/standard/standard.css HTTP/1.1" 304 - > > 127.0.0.1 - - [23/Dec/2010:11:13:33 -0500] "GET /stockwatcher/ > > stockwatcher/gwt/standard/images/hborder.png HTTP/1.1" 304 - > > > If you need any information let me know. Am i doing something wrong, > > are my tomcat deployed folders correct? -- 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-tool...@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.