0
votes

I have created a simple gwt application (with gwt 2.4) that makes a single RPC call.

When I run this in GWT Dev mode, it runs fine, however when I try to run this on a server- this is the message that I get --

POST http://app.sparkcrawler.com/com.arvindikchari.auth.App/AuthenticationService 404 (Not Found)

I have copied all files from the WAR folder in my Eclipse GWT project, to the web server's folder. The web server uses Tomcat 5.5(with Cpanel control panel). I copied these files, after successfully compiling the files ("GWT Compile Project")...

What have i done wrong here? Have i missed some files? I have copied everything from war folder, including "WEB-INF" folder and its contents, to the web server.

1

1 Answers

0
votes

I think, copying the Eclipse project's WAR folder is not the appropriate way to deploy a GWT application to a server.

You first have to compile for production mode (see Understanding the GWT compiler), then with the resulting JavaScript files, create a WAR including server side classes which you can deploy to a Tomcat server. (See Deploy a GWT Application)

You can use Ant or Maven to automate this process.