

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
12 messages in com.googlegroups.google-web-toolkitRe: Question about Deploying RPC| From | Sent On | Attachments |
|---|---|---|
| Lin Li | Jul 14, 2008 7:17 am | |
| Jeremiah Elliott | Jul 14, 2008 8:13 am | |
| Lin Li | Jul 14, 2008 8:45 am | |
| gregor | Jul 14, 2008 5:21 pm | |
| Lin Li | Jul 15, 2008 3:05 am | |
| gregor | Jul 15, 2008 5:44 am | |
| Lin Li | Jul 15, 2008 6:14 am | |
| gregor | Jul 15, 2008 8:03 am | |
| Lin Li | Jul 15, 2008 1:41 pm | |
| gregor | Jul 15, 2008 2:58 pm | |
| Lin Li | Jul 16, 2008 2:03 pm | |
| gregor | Jul 16, 2008 2:55 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: Question about Deploying RPC | Actions |
|---|---|---|
| From: | Lin Li (lili...@gmail.com) | |
| Date: | Jul 14, 2008 8:45:32 am | |
| List: | com.googlegroups.google-web-toolkit | |
No. I just put everything in a folder and put that folder under the webapp directory.
This project only needs gwt-user.jar. So I only put gwt-servlet.jar in WEB-INF/lib.
By the way, does it has something to do with the Tomcat version. Can I use RPC in Tomcat 5?
Lynn
On 14/07/2008, Jeremiah Elliott <jere...@gmail.com> wrote:
Do you get anything in your tomcat log file? (logs/Catalina.out) Also what do you have in your WEB-INF/lib directory? You should have the gwt server jar file along with other external jars you app needs in there, or somewhere else in the classpath.
On Mon, Jul 14, 2008 at 9:17 AM, Lin Li <lili...@gmail.com> wrote:
Hello,
I have been using RPC to develop a client-server web application.
To create a new GWT project, I followed the instruction here:
http://code.google.com/docreader/#p(google-web-toolkit-doc-1-5)s(google-web-toolkit-doc-1-5)t(GettingStartedRPC)
It is a example project. And it used remote procedure calls.
I debug my application in hosted mode. It can run without errors. Afterwards, it is time to deploy a production server. I read the tutorial from:
http://code.google.com/docreader/#p(google-web-toolkit-doc-1-5)s(google-web-toolkit-doc-1-5)t(DevGuideRPCDeployment)
I followed the tutorial step by step, but I still have a problem.
1. I created a staging area, which is a folder called production.
2. I copied the compiled files to the staging area.
3. I created WEB-INF subdirectory structure: there are 2 folders called classes and lib.
4. I created a web.xml file.
web.xml: <?xml version="1.0" encoding="UTF-8" ?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation="http://java.sum.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<servlet-name> StockWatcher </servlet-name>
<servlet-class>com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> StockWatcher </servlet-name> <url-pattern> /StockWatcher </url-pattern>
</servlet-mapping>
</web-app>
But when I run the StockWatcher.html in the main directory, it cannot run the server-side codes. It can only run the functions which have nothing to do with the server.
How can I deploy my GWT project using RPC?
Many Thanks Lynn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Goog...@googlegroups.com
To unsubscribe from this group, send email to
Goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---







