You will need to map things in your WEB-INF/web.xml file for Tomcat

Example:

<servlet>
  <servlet-name>sandeep</servlet-name>
  <servlet-class>com.sandeep.transfer.server.StringReverseServiceImpl</
servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>sandeep</servlet-name>
  <url-pattern>/sandeep</url-pattern>
</servlet-mapping>

On Jan 2, 4:37 am, Sandeep <[email protected]> wrote:
> Hi All
>
> I am working on a GWT-RPC application.This application takes a string
> as a input and a returns reversed string.The application runs fine
> when i run it using StringReverse.shell.cmd in hosted mode as well as
> in Web mode when deploy it in tomcat.
>
> when i try to run it using run configuration in tomcat it  throws me
> the following error.
>
> [TRACE] Finding entry point classes+[ERROR] Failure to load module
> 'com.sandeep.transfer.StringReverse'
>
> I checked most of the things that may have gone wrong
> e.g. 1. checked the HTML
>        2. cheched the StringReverse.gwt.xml file
>        3. Checked for run configuration and it's class path entries
> but still o am getting the same error when i run it using run
> configuration of my eclipse
>
> When we run a GWT application it looks for entry-point class
> in  .gwt.xml file. But in case of hosted mode where it will look for
> that class.
>
> Please give me some links where i can find the flow of a request in
> case of GWT-RPC
>
> Here is my .gwt.xml file
>
> <module>
>
>      <!-- Inherit the core Web Toolkit stuff.                        --
>
>       <inherits name='com.google.gwt.user.User'/>
>
>       <!-- Inherit the default GWT style sheet.  You can change
> -->
>       <!-- the theme of your GWT application by uncommenting
> -->
>       <!-- any one of the following lines.
> -->
>       <inherits name='com.google.gwt.user.theme.standard.Standard'/>
>       <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/>
> -->
>       <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>
> -->
>
>       <!-- Other module inherits
> -->
>
>       <!-- Specify the app entry point class.
> -->
>           <entry-point class="com.sandeep.transfer.client.StringReverse"/>
>
>       <servlet path="/sandeep"
> class="com.sandeep.transfer.server.StringReverseServiceImpl"/>
>       <servlet path="/data"
> class="com.sandeep.transfer.server.NumberSquareServiceImpl"/>
>
>       <!-- Specify the application specific style sheet.
> -->
>       <stylesheet src='StringReverse.css' />
>
> </module>
>
> Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to