Hi all,
Been using GWT for a few weeks, very impressed with the ease of
development, but have run into some small troubles deploying the app.
I have tomcat 6 set up with JRE 6 on a box, here are the steps I have
made so far:
Compiled using the script with GWT, got the www directory, and added a
WEB-INF folder, with a web.xml file, /lib and /classes. here is my
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<display-name>Cloud Online</display-name>
<servlet>
<servlet-name>RPCService</servlet-name>
<servlet-class>com.cloud.server.RPCServiceImpl</servlet-class>
</servlet>
<servlet>
<servlet-name>DBService</servlet-name>
<servlet-class>com.cloud.server.DBServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RPCService</servlet-name>
<url-pattern>/RPCService</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DBService</servlet-name>
<url-pattern>/DBService</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>Cloud.html</welcome-file>
</welcome-file-list>
</web-app>
In /lib I have Cloud.jar (exported using eclipse from the src
directory) and gwt-servlets.jar (not sure whats in here). In /classes
I have my 2 remote servlet classes, exported from eclipse
individually.
I make a zip file from the compiled contents + the WEB-INF folder, and
rename it to Cloud.war
I then upload and deploy into tomcat environment using the tomcat
manager.
I can get the static content of the site (compiled js), but I cant
seem to get the RPCService or DBService to work. Can anyone see that
im missing some steps, or doing something wrong?
Thanks, sorry for the long post.
Jon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---