Friday, November 26, 2010

Re: Comet and GWT problem

This is a cross post. The original is here
http://groups.google.com/group/gwt-comet/browse_thread/thread/c154c425911222c5

From Richard.

On Nov 27, 8:17 am, Noor <baken...@gmail.com> wrote:
> I am getting this error when using the gwt-comet
>
> [WARN] 405 - GET /trycomet/greet?t=2UGMNJ&c=45 (127.0.0.1) 1470 bytes
>    Request headers
>       Host: 127.0.0.1:8888
>       User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
> 1.9.2.12) Gecko/20101026 Firefox/3.6.12
>       Accept: application/comet
>       Accept-Language: en-us,en;q=0.5
>       Accept-Encoding: gzip,deflate
>       Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>       Keep-Alive: 115
>       Connection: keep-alive
>       Referer:http://127.0.0.1:8888/TryComet.html?gwt.codesvr=127.0.0.1:9997
>       Cookie: JSESSIONID=964bqzlrkbll
>    Response headers
>       Content-Type: text/html; charset=iso-8859-1
>       Content-Length: 1470
> com.google.gwt.user.client.rpc.StatusCodeException: 405 <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1"/>
> <title>Error 405 HTTP method GET is not supported by this URL</title>
> </head>
> <body><h2>HTTP ERROR: 405</h2><pre>HTTP method GET is not supported by
> this URL</pre>
> <p>RequestURI=/trycomet/greet</p><p><i><small><a href="http://
> jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
>
> </body>
> </html>
>
>         at
> net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.onReceiving(HTT PRequestCometTransport.java:
> 150)
>         at
> net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.onLoaded(HTTPRe questCometTransport.java:
> 139)
>         at net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport.access
> $1(HTTPRequestCometTransport.java:136)
>         at net.zschech.gwt.comet.client.impl.HTTPRequestCometTransport
> $2.onReadyStateChange(HTTPRequestCometTransport.java:112)
>         at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
> 25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> 103)
>         at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
> 71)
>         at
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav a:
> 157)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingFo rReturn(BrowserChannelServer.java:
> 326)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChann elServer.java:
> 207)
>         at
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> 126)
>         at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> 561)
>         at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> 269)
>         at
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j ava:
> 91)
>         at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
>         at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
>         at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
> 25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> 103)
>         at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
> 71)
>         at
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav a:
> 157)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChanne lServer.java:
> 281)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java:
> 531)
>         at
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java :
> 352)
>         at java.lang.Thread.run(Thread.java:662)

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment