It's not a secret anymore!*
The moose likes GWT and the fly likes Error while invoking the service call: Linux deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Error while invoking the service call: Linux deployment" Watch "Error while invoking the service call: Linux deployment" New topic
Author

Error while invoking the service call: Linux deployment

Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Hi All,

I have deployed a simple test application(sample code generated in GWT project) in a Linux(Ubantu 10.4). When ever I enter the name and click on the Send button, I am getting error in the popup.

Server replies:
An error occurred while attempting to contact the server. Please check your network connection and try again.


In the error lgs on the server, I can see this

File does not exist: /var/lib/tomcat6/webapps/Test/test/greet

Can anyone give pointers on how to solve this problem. Following is the configuration web.xml

<servlet>
<servlet-name>greetServlet</servlet-name>
<servlet-class>com.test.server.GreetingServiceImpl</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>greetServlet</servlet-name>
<url-pattern>/test/greet</url-pattern>
</servlet-mapping>

<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>Test.html</welcome-file>
</welcome-file-list>

Regards,
Vikram


Vikram PracLabs
Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Hi All,

Above problem was because the Apache was not able to communicate with Tomcat.

This link helped alot.

Cheers,
Vikram

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while invoking the service call: Linux deployment