users@grizzly.java.net

RE: GRIZZLY0004 and GRIZZLY0005 continuous errors

From: Meltser Tiran <Tiran.Meltser_at_comverse.com>
Date: Sun, 8 Jun 2014 19:04:35 +0300

Short update - the errors still appear when running with Java8 (still on Windows 7).

Tiran Meltser
System Architect
Global Products & Operations
Comverse - Making Your Network Smarter

T +972-3-7678381
M +972-54-5639381
Tiran.Meltser_at_comverse.com <mailto:Tiran.Meltser_at_comverse.com>
www.comverse.com<http://www.comverse.com/>
P Please think of the environment before printing this email

From: Meltser Tiran
Sent: Wednesday, June 04, 2014 12:37 PM
To: oleksiy.stashok_at_oracle.com
Cc: users_at_grizzly.java.net; Meltser Tiran; Broide Uri; Shafir Ehud
Subject: RE: GRIZZLY0004 and GRIZZLY0005 continuous errors

Thanks Alexey, I will try with another JDK.

B.T.W - I've refactored the application to be fully asynchronous as you advised (with filters) and it shows an outstanding performance so far :).

Tiran Meltser
System Architect
Global Products & Operations
Comverse - Making Your Network Smarter

T +972-3-7678381
M +972-54-5639381
Tiran.Meltser_at_comverse.com <mailto:Tiran.Meltser_at_comverse.com>
www.comverse.com<http://www.comverse.com/>
P Please think of the environment before printing this email

From: Oleksiy Stashok [mailto:oleksiy.stashok_at_oracle.com]
Sent: Tuesday, June 03, 2014 8:52 PM
To: users_at_grizzly.java.net<mailto:users_at_grizzly.java.net>
Subject: Re: GRIZZLY0004 and GRIZZLY0005 continuous errors

Hi Tiran,

I also met this issue, and it's beyond our control.
Please take a look at the JDK issue here, IMO it's related
http://bugs.java.com/view_bug.do?bug_id=7014244

Thanks.

WBR,
Alexey.
On 03.06.14 08:59, Meltser Tiran wrote:
Good day,
I'm using Grizzly as an IMAP Proxy server and keep encountering these errors; not sure they cause a problem but they sure do clutter the log files.

I'm using:
Windows 7 64 bit
Java 7 64 bit
Grizzly 2.3.13

Any advice how to get rid of these errors?

Below is the stack trace:

2014-06-03 18:45:14:285 WARNING [org.glassfish.grizzly.nio.transport.TCPNIOTransport configureChannel]: GRIZZLY0004: Can not set TCP_NODELAY to true
java.net.SocketException: Invalid argument: no further information
            at sun.nio.ch.Net.setIntOption0(Native Method)
            at sun.nio.ch.Net.setSocketOption(Net.java:373)
            at sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:189)
            at sun.nio.ch.SocketAdaptor.setBooleanOption(SocketAdaptor.java:295)
            at sun.nio.ch.SocketAdaptor.setTcpNoDelay(SocketAdaptor.java:330)
            at org.glassfish.grizzly.nio.transport.TCPNIOTransport.configureChannel(TCPNIOTransport.java:445)
            at org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler.onConnectedAsync(TCPNIOConnectorHandler.java:214)
            at org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler$1.connected(TCPNIOConnectorHandler.java:154)
            at org.glassfish.grizzly.nio.transport.TCPNIOConnection.onConnect(TCPNIOConnection.java:258)
            at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:552)
            at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
            at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
            at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.executeIoEvent(WorkerThreadIOStrategy.java:103)
            at org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)
            at org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:414)
            at org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:383)
            at org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:347)
            at org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:278)
            at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
            at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
            at java.lang.Thread.run(Thread.java:745)

2014-06-03 18:45:20:718 WARNING [org.glassfish.grizzly.nio.transport.TCPNIOTransport configureChannel]: GRIZZLY0005: Can not set SO_KEEPALIVE to true
java.net.SocketException: Invalid argument: no further information
            at sun.nio.ch.Net.setIntOption0(Native Method)
            at sun.nio.ch.Net.setSocketOption(Net.java:373)
            at sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:189)
            at sun.nio.ch.SocketAdaptor.setBooleanOption(SocketAdaptor.java:295)
            at sun.nio.ch.SocketAdaptor.setKeepAlive(SocketAdaptor.java:397)
            at org.glassfish.grizzly.nio.transport.TCPNIOTransport.configureChannel(TCPNIOTransport.java:439)
            at org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler.onConnectedAsync(TCPNIOConnectorHandler.java:214)
            at org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler$1.connected(TCPNIOConnectorHandler.java:154)
            at org.glassfish.grizzly.nio.transport.TCPNIOConnection.onConnect(TCPNIOConnection.java:258)
            at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:552)
            at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
            at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
            at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.executeIoEvent(WorkerThreadIOStrategy.java:103)
            at org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)
            at org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:414)
            at org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:383)
            at org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:347)
            at org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:278)
            at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
            at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
            at java.lang.Thread.run(Thread.java:745)

Tiran Meltser
System Architect
Global Products & Operations
Comverse - Making Your Network Smarter

T +972-3-7678381
M +972-54-5639381
Tiran.Meltser_at_comverse.com <mailto:Tiran.Meltser_at_comverse.com>
www.comverse.com<http://www.comverse.com/>
P Please think of the environment before printing this email


________________________________
"This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Inc. or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: security_at_comverse.com<mailto:security_at_comverse.com>. Thank You."


________________________________
"This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Inc. or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: security_at_comverse.com. Thank You."