Hosted Browser problem

5 views
Skip to first unread message

Karthik

unread,
Aug 21, 2009, 12:18:18 PM8/21/09
to Google Web Toolkit
I am using GWT 1.6 with Eclipse 3.4.0 i am getting this wired issue.
I tired to do the workaround mentioned in
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8811c8d9fb471193
but the problem is not resolved.

[SPAM] fields=Accept: image/gif, image/x-xbitmap, image/jpeg, image/
pjpeg, application/x-shockwave-flash, application/xaml+xml,
application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-
ms-application, application/vnd.ms-excel, application/vnd.ms-
powerpoint, application/msword, application/x-silverlight, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR
3.0.04506.648; InfoPath.2; .NET CLR 3.5.21022; OfficeLiveConnector.
1.3; OfficeLivePatch.0.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
MS-RTC LM 8)
Host: localhost:1675
Connection: Keep-Alive
Referer: http://localhost:1675/xxxxh/index.jsp

[SPAM] EXCEPTION
org.mortbay.jetty.HttpException: null
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run
(QueuedThreadPool.java:488)

[SPAM] BAD

[SPAM] EXCEPTION
java.io.IOException: An existing connection was forcibly closed by the
remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.mortbay.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:122)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:281)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run
(QueuedThreadPool.java:488)

[SPAM] EOF

Any suggestions would be greatly appreciated.


Sumit Chandel

unread,
Aug 25, 2009, 1:57:39 PM8/25/09
to google-we...@googlegroups.com
Hi Karthik,

My guess is that you have a firewall or other security measure in place that is blocking the hosted mode process from starting the embedded Jetty server on port 1675. It's also possible that another service is already running on 1675, and so the hosted mode process is being denied access when it tries to set the Jetty server to listen on that port.

Could you try using another port number, typically one used for HTTP connections (8080)? Or check that there isn't a firewall blocking access to port 1675?

Hope that helps,
-Sumit Chandel
Reply all
Reply to author
Forward
0 new messages