Hi ytbryan,
I think what's wrong here is that your deployed servlet configuration is not
matching what you're doing in code to make the RPC call. In other words, the
RPC call is being made against a URL that isn't configured with a servlet.

I suggest double-checking the RPC call URL and matching that against the
<url-pattern> configured in your <servlet-mapping> in your web.xml file.

About the StatusCodeException - that gets thrown when an unexpected status
code is encountered during an RPC call (in this case, a response with a 404
status code). In cases where an unexpected status code is returned, it
provides an easy way to access the status code via a getStatusCode() method.

More details:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/rpc/StatusCodeException.html

Hope that helps,
-Sumit Chandel

On Wed, Feb 18, 2009 at 6:58 AM, ytbryan <[email protected]> wrote:

>
> and the MySQLConnService is in the client folder of
> com.tribling.gwt.test.mysqlconn
>
> what is com.google.gwt.user.client.rpc.StatusCodeException exactly?
>
> On Feb 18, 3:51 pm, ytbryan <[email protected]> wrote:
> > hi all,
> >
> > after i deploy my application with has rpc on tomcat, i got a error:
> >
> > HTTP Status 404 - /gwt-test-MySQLConn/
> > com.tribling.gwt.test.mysqlconn.MySQLConn/MySQLConnService
> >
> > type Status report
> >
> > message /gwt-test-MySQLConn/com.tribling.gwt.test.mysqlconn.MySQLConn/
> > MySQLConnService
> >
> > description The requested resource (/gwt-test-MySQLConn/
> > com.tribling.gwt.test.mysqlconn.MySQLConn/MySQLConnService) is not
> > available.
> >
> > i have no clue what is wrong as it was working fine at hosted mode.
> > please help me!!
> >
>

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