Dear Robinson,
I'm having exactly the same problem. App working on local server, mocahost, same error!
How did you solved it?
Thanks,
Anna.
Il giorno giovedì 7 marzo 2013 02:08:43 UTC+1, Robinson De la hoz ha scritto:
I uploaded my gwt application on a new hosting with shared tomcat. My application calls a RPC Servlet, but It looks like not working, because I get this error message.404 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /wimb/wimbService was not found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>The configuration for RPC servlets in the web.xml is:<!-- Servlets --><servlet><servlet-name>wimbServiceImpl</servlet-name> <servlet-class>com.wimb.server.WimbServiceImpl</ servlet-class> </servlet><servlet-mapping><servlet-name>wimbServiceImpl</servlet-name> <url-pattern>/wimb/wimbService</url-pattern> </servlet-mapping>The class to RPC service is:package com.wimb.client;import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import com.google.gwt.user.client.rpc.SerializableException; import com.wimb.model.City;import com.wimb.model.RouteDistance;import com.wimb.model.User;import java.util.ArrayList;@SuppressWarnings("deprecation") @RemoteServiceRelativePath("wimbService") public interface WimbService extends RemoteService {ArrayList<RouteDistance> getRoutesByPoints(double startLat, double startLng, double endLat, double endLng, int radiusMts, int limit,String cityId, boolean hasImage, String date) throws SerializableException;ArrayList<City> getCities(String state) throws SerializableException;// LoginUser loginServer(String username, String password) throws SerializableException;User loginFromSessionServer() throws SerializableException;void logout() throws SerializableException;}And I call RPC Servlet:rpcService = GWT.create(WimbService.class);ServiceDefTarget serviceDef = (ServiceDefTarget) rpcService;serviceDef.setServiceEntryPoint(GWT. getModuleBaseURL() + "wimbService"); Any suggestions??? It's important to say that It's working on my local tomcat (my computer), but It's not working on the hosting I just bougth (www.mochahost.com).
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment