users@glassfish.java.net

Re: Glassfish kills business

From: <forums_at_java.net>
Date: Tue, 23 Aug 2011 08:23:06 -0500 (CDT)

Dear Anilam,

 

I can now provide a log snap what causes the glassfish instance to die:

 

[#|2011-08-23T14:19:36.098+0200|WARNING|glassfish3.2|org.glassfish.grizzly.nio.transport.TCPNIOTransport|_ThreadID=71;_ThreadName=Thread-1;|Can
not set keepAlive to false
java.net.SocketException: Invalid argument
    at sun.nio.ch.Net.setIntOption0(Native Method)
    at sun.nio.ch.Net.setIntOption(Net.java:154)
    at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:406)
    at sun.nio.ch.SocketOptsImpl.setBoolean(SocketOptsImpl.java:38)
    at sun.nio.ch.SocketOptsImpl.keepAlive(SocketOptsImpl.java:92)
    at sun.nio.ch.SocketOptsImpl$IP$TCP.keepAlive(SocketOptsImpl.java:268)
    at sun.nio.ch.OptionAdaptor.setKeepAlive(OptionAdaptor.java:139)
    at sun.nio.ch.SocketAdaptor.setKeepAlive(SocketAdaptor.java:322)
    at
org.glassfish.grizzly.nio.transport.TCPNIOTransport.configureChannel(TCPNIOTransport.java:675)
    at
org.glassfish.grizzly.nio.transport.TCPNIOServerConnection.configureAcceptedChannel(TCPNIOServerConnection.java:169)
    at
org.glassfish.grizzly.nio.transport.TCPNIOServerConnection.onAccept(TCPNIOServerConnection.java:226)
    at
org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:814)
    at
org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
    at
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:116)
    at
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.executeIoEvent(WorkerThreadIOStrategy.java:102)
    at
org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:398)
    at
org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:366)
    at
org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:332)
    at
org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:268)
    at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:508)
    at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:488)
    at java.lang.Thread.run(Thread.java:619)
|#]
[#|2011-08-23T14:19:36.099+0200|WARNING|glassfish3.2|org.glassfish.grizzly.nio.transport.TCPNIOTransport|_ThreadID=71;_ThreadName=Thread-1;|Can
not set TcpNoDelay to true
java.net.SocketException: Invalid argument
    at sun.nio.ch.Net.setIntOption0(Native Method)
    at sun.nio.ch.Net.setIntOption(Net.java:154)
    at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:406)
    at sun.nio.ch.SocketOptsImpl.setBoolean(SocketOptsImpl.java:38)
    at sun.nio.ch.SocketOptsImpl$IP$TCP.noDelay(SocketOptsImpl.java:284)
    at sun.nio.ch.OptionAdaptor.setTcpNoDelay(OptionAdaptor.java:48)
    at sun.nio.ch.SocketAdaptor.setTcpNoDelay(SocketAdaptor.java:268)
    at
org.glassfish.grizzly.nio.transport.TCPNIOTransport.configureChannel(TCPNIOTransport.java:681)
    at
org.glassfish.grizzly.nio.transport.TCPNIOServerConnection.configureAcceptedChannel(TCPNIOServerConnection.java:169)
    at
org.glassfish.grizzly.nio.transport.TCPNIOServerConnection.onAccept(TCPNIOServerConnection.java:226)
    at
org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:814)
    at
org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
    at
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:116)
    at
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.executeIoEvent(WorkerThreadIOStrategy.java:102)
    at
org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:398)
    at
org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:366)
    at
org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:332)
    at
org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:268)
    at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:508)
    at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:488)
    at java.lang.Thread.run(Thread.java:619)
|#]

at the time of crash the jvm process had a memory consumption of 2166 MB of
2388 MB allocated.


--
[Message sent by forum member 'seagate']
View Post: http://forums.java.net/node/835908