Netty - IE a Opera problem

3 views
Skip to first unread message

David Marko

unread,
Feb 9, 2010, 9:11:31 AM2/9/10
to play-framework
I'm running Netty module in my app in development mode. When accessing
my app with MSIE 8 a Opera 10 I'm getting following on Play! console:
java.io.IOException: Disconnected on host request
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
at sun.nio.ch.IOUtil.read(IOUtil.java:206)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:
236)
at
org.jboss.netty.buffer.HeapChannelBuffer.setBytes(HeapChannelBuffer.java:
156)
at
org.jboss.netty.buffer.AbstractChannelBuffer.writeBytes(AbstractChannelBuffer.java:
425)
at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:305)
at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:
275)
at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:
46)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

There is no such problem with FF or Chrome. Both IE and Opera show the
page, but time to time the css is not loaded.

David

Nicolas

unread,
Feb 10, 2010, 2:04:02 PM2/10/10
to play-framework
I will have a look as soon as possible but I might really well be this
is a bug in Netty itself...

Nicolas

unread,
Feb 10, 2010, 3:20:40 PM2/10/10
to play-framework
Can you reinstall the mina module and test again?

Thanks,

Nicolas

David Marko

unread,
Feb 11, 2010, 2:07:44 AM2/11/10
to play-framework
Seems fine, so far.
Thanks you very much.!

David

David Marko

unread,
Feb 11, 2010, 2:24:47 AM2/11/10
to play-framework
I found that there is something wrong in netty build. When running on
netty, Play claims that some urls are not correct. On template
@{Contacts.list_companies()} generates link correctly, but after
clicking on the link in any browser Play! shows the page with
information, that there is no such controller/action. When running
without netty it works correctly. Even the previous netty build
worked correctly as well.

David

On Feb 10, 9:20 pm, Nicolas <leroux.nico...@gmail.com> wrote:

Nicolas

unread,
Feb 11, 2010, 4:16:09 AM2/11/10
to play-framework
Then I made a mistake when releasing ;) sorry about that I will fix it
asap.

Nicolas

unread,
Feb 11, 2010, 5:58:43 AM2/11/10
to play-framework
Ok I made a mistake trying to fix another issue. I will release a new
version tonight.

Nicolas

Nicolas

unread,
Feb 11, 2010, 8:20:21 AM2/11/10
to play-framework
New module pushed.

play install netty should do the trick. Let me know if I did not make
any other stupid mistake.

Nicolas

David Marko

unread,
Feb 11, 2010, 9:01:27 AM2/11/10
to play-framework
Its working! thanks again.

BTW: Decission has to be made if grizzly or netty will be used as a
Mina replacement. Having stable http core would allow to work on some
additional features that were requested here as 'upload size limit'
etc. and was not possible with AsyncWeb.

Thanks for great job once again.
David

Reply all
Reply to author
Forward
0 new messages