Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Apr 07, 2012 3:20 am 
Offline
Senior Newbie

Joined: Sat Apr 07, 2012 3:17 am
Posts: 6
Location: India
Hi All,

I have deployed a simple GWT(Google Web toolkit) 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


Top
   
 Post subject:
PostPosted: Sat Apr 07, 2012 5:11 am 
Offline
Senior Newbie

Joined: Sat Apr 07, 2012 3:17 am
Posts: 6
Location: India
Hi All,

I am able to solve the problem. Following link helped



http://www.howtoforge.com/how-to-install-tomcat6-with-sun-java-and-apache2-integration-on-ubuntu-10.04-lucid-lynx-with-virtual-hosts

Cheers

_________________
Regards,

Vikram


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group