Looks like your servlet mapping is incorrect. Either change your @RemoteServiceRelativePath to "test/gwt" OR your servlet mapping to "/gwt"
-jason On May 12, 2009, at 3:56 PM, Rod wrote: > > I have two classes on client , one named POST, and second POSTAsync. > In POST I have "@RemoteServiceRelativePath("gwt")" command to set > path. > On server side I have POSTImpl class with methods(bodies) to deal with > database. > And I have the following settings in web.xml file: > > <servlet> > <servlet-name>gwtServlet</servlet-name> > <servlet-class>pl.mydomain.server.POSTImpl</servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>gwtServlet</servlet-name> > <url-pattern>/test/gwt</url-pattern> > </servlet-mapping> > > And all of it works on localhost. > > Thx Salvador, I have checked the permissions on server to this > folder: 0777, so I don't know if that's the reason. But it might be > something more advanced in settings I have no idea. > I pasted the source and description, maybe there are some more advices > I can get here. > > Thx for all help. > > On 12 Maj, 22:57, Salvador Diaz <diaz.salva...@gmail.com> wrote: >> Hi, >> >> It definitively looks like a server configuration error: >> >> " >> You don't have permission to access >> /Test/war/test/gwt/ >> " >> >> Make sure the permissions are correctly setup in the filesystem of >> your server. >> >> Hope that helps, >> >> Salvador >> >> On May 12, 10:32 pm, Jim <jim.p...@gmail.com> wrote: >> >>> Can you post some of your code? Without any code, we can not >>> figure it >>> out. >> >>> Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ >>> downloa... >> >>> On May 12, 3:57 pm, Rod <rod.mk...@gmail.com> wrote: >> >>>> Thank You for answer, but can You be more precise? >>>> I have hidden the database-communication part of the code but the >>>> problem still occured, so I think it's the problem between server >>>> and >>>> client. >> >>>> I'm wondering about this server. What if it doesn't have any >>>> mechanism >>>> to run servlet's on it? >> >>>> On 12 Maj, 20:30, Jim <jim.p...@gmail.com> wrote: >> >>>>> For GWT-database application, you can find an example >>>>> inhttp://www.gwtorm.com/mail/Mail.html >>>>> . The source code is also >>>>> available there.Usually this kind of issue is due to >>>>> serializable or >>>>> exception that is not handled in service. >> >>>>> Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ >>>>> downloa... >> >>>>> On May 12, 12:56 pm, Rod <rod.mk...@gmail.com> wrote: >> >>>>>> Hello, >> >>>>>> I'm completly new to GWT. I created an application and >>>>>> started it >>>>>> on local host in hosted mode with no problems. It was >>>>>> communicating >>>>>> with external database successfuly. But after I put it on a >>>>>> server I >>>>>> got an RPC exception: >> >>>>>> com.google.gwt.user.client.rpc.StatusCodeException: <HTML> >>>>>> <HEAD> >>>>>> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; >>>>>> charset=ISO-8859-2"> >>>>>> <TITLE> >>>>>> (none) >>>>>> </TITLE> >>>>>> </HEAD> >>>>>> <BODY BGCOLOR="#FFFFFF"> >> >>>>>> [...] >> >>>>>> <TR><TD VALIGN="top" ALIGN="left" WIDTH=50> >>>>>> <IMG SRC="/icons/gb.gif" WIDTH=26 HIGHT=19 ALT="English"> >>>>>> </TD><TD> >>>>>> You don't have permission to access >>>>>> <STRONG> >>>>>> /Test/war/test/gwt/ >>>>>> </STRONG> >>>>>> on this server. >>>>>> </TD></TR><TR><TD></TD><TD><HR></TD></TR> >> >>>>>> [...] >> >>>>>> I have completly no idea what's the reason of this problem. I've >>>>>> searched the web for solution but I couldn't find any. The server >>>>>> isn't mine so I think it may be problem in its configuration. >>>>>> I'll be >>>>>> very grateful for any help.- Hide quoted text - >> >>>> - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---