I am trying to deploy a GWT project to GoDaddy shared hosting with
tomcat 5.0.27.  The apps work fine on the hosted Jetty server and also
on my local Tomcat. I get the issue when I deploy it on the Shared
Tomcat env.
I have spend more than 2 weeks now to find a solution and totally
frustrated out of this.  The Godaddy doesn’t have a sophisticated
logging systems for shared hosting and I can hardly see what’s
happening at the server side. Here is the summary of the issue:

I created a GWT project without AppEngine ( GWT1.6) .
I have one RemoteServlet called BTServiceImpl. And at the client side
I have “service ” as my target servlet.

@RemoteServiceRelativePath("service")
public interface BTService extends RemoteService {
       IForm service(IForm form);
}

I am creating the stub :

private final BTServiceAsync btService = GWT
                       .create(BTService.class);

I am making the call:

public void dispatchRequest(IForm form) {
               previousForm=form;
               btService.service(form , new AsyncCallback<IForm>() {
                                       public void onFailure(Throwable
caught) {
                                                                                
       }
                                       public void onSuccess(IForm
result) {
                                                                                
       }

                               });
       }

In my web.xml I have:
<web-app>
  <servlet>
       <servlet-name>service</servlet-name>
       <servlet-class>com.bt.web.server.controller.BytetheoryServlet</
servlet-class>
 </servlet>
<servlet-mapping>
      <servlet-name>service</servlet-name>
       <url-pattern>/bytetheory/service</url-pattern>
 </servlet-mapping>
</web-app>
I have a war file btproject.war which I have deployed on the Godaddy
Tomcat server.

Did anyone face the same issue before? One of my friends suggested me
to use /servlet/bytetheory/service to access my servlet. I will be
trying it today but same time I would appreciate your help if you are
able to make out something.
But when I host it and try to access it with a post I get an error
page.



But both of them doesn't seems to work.

I would really apreciate your help here. I have tried my best to get
help from Godaddy service but no one was able to find exactly whats
wrong here. Thanks in advance.

Thanks,
Sajil Koroth

--~--~---------~--~----~------------~-------~--~----~
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