users@glassfish.java.net

Re: FW: Glassfish Problem

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Tue, 06 Jan 2009 21:30:35 +0530

I am not sure whether the two set of logs (grizzly & connection pool)
are related.

w.r.t SybaseConnectionPool :
* Can you provide your pool configuration from domain.xml ?
* Is it possible that the connections are leaked by your application as
there are no more connections left in the pool ?
You can refer :
http://blogs.sun.com/kshitiz/entry/connection_leak_tracing
for using leak tracing feature.

Thanks,
-Jagadish



On Tue, 2009-01-06 at 14:48 +0000, Chopra, Rishi wrote:
> I have another issue with the connection pool which throws me an
> exception and does not allow me reconnect to the app unless the server
> is restarted.
> Could you please help ???
>
> Error Log is mentioned below :
>
>
> [#|2009-01-06T12:11:30.660+0000|WARNING|sun-appserver9.1|javax.enterpris
> e.system.container.web|_ThreadID=37;_ThreadName=SelectorThre
> ad-80;_RequestID=6efe8a2e-b43c-4340-a67d-35366516a5a8;|setTcpNoDelay
> exception
> 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
> com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions
> (SelectorThread.java:1902)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(Sel
> ectorThread.java:1475)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection
> (SelectorThread.java:1439)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(Selecto
> rThread.java:1350)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(Se
> lectorThread.java:1284)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(Se
> lectorThread.java:1247)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThre
> ad.java:1223)
> |#]
>
> [#|2009-01-06T12:11:30.661+0000|WARNING|sun-appserver9.1|javax.enterpris
> e.system.container.web|_ThreadID=37;_ThreadName=SelectorThre
> ad-80;_RequestID=6efe8a2e-b43c-4340-a67d-35366516a5a8;|setReuseAddress
> exception
> 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.reuseAddress(SocketOptsImpl.java:156)
> at
> sun.nio.ch.SocketOptsImpl$IP$TCP.reuseAddress(SocketOptsImpl.java:268)
> at
> sun.nio.ch.OptionAdaptor.setReuseAddress(OptionAdaptor.java:177)
> at
> sun.nio.ch.SocketAdaptor.setReuseAddress(SocketAdaptor.java:343)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions
> (SelectorThread.java:1910)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(Sel
> ectorThread.java:1475)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection
> (SelectorThread.java:1439)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(Selecto
> rThread.java:1350)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(Se
> lectorThread.java:1284)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(Se
> lectorThread.java:1247)
> at
> com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThre
> ad.java:1223)
> |#]
>
> [#|2009-01-06T12:11:31.928+0000|WARNING|sun-appserver9.1|javax.enterpris
> e.resource.resourceadapter|_ThreadID=22;_ThreadName=httpWork
> erThread-80-6;ARP3_SybaseConnectionPool;In-use connections equal
> max-pool-size and expired max-wait-time. Cannot allocate more conne
> ctions.;_RequestID=1e35fcca-aa23-4ea6-9370-bf52d6f0a317;|RAR5117 :
> Failed to obtain/create connection from connection pool [ ARP3_Sy
> baseConnectionPool ]. Reason : In-use connections equal max-pool-size
> and expired max-wait-time. Cannot allocate more connections.|#
> ]
>
> [#|2009-01-06T12:11:31.928+0000|WARNING|sun-appserver9.1|javax.enterpris
> e.resource.resourceadapter|_ThreadID=25;_ThreadName=httpWork
> erThread-80-9;ARP3_SybaseConnectionPool;In-use connections equal
> max-pool-size and expired max-wait-time. Cannot allocate more conne
> ctions.;_RequestID=74d7ffa2-cc14-4b01-b1f6-a869c6ea366d;|RAR5117 :
> Failed to obtain/create connection from connection pool [ ARP3_Sy
> baseConnectionPool ]. Reason : In-use connections equal max-pool-size
> and expired max-wait-time. Cannot allocate more connections.|#
> ]
>
> [#|2009-01-06T12:11:31.929+0000|WARNING|sun-appserver9.1|javax.enterpris
> e.resource.resourceadapter|_ThreadID=22;_ThreadName=httpWork
> erThread-80-6;Error in allocating a connection. Cause: In-use
> connections equal max-pool-size and expired max-wait-time. Cannot allo
> cate more
> connections.;_RequestID=1e35fcca-aa23-4ea6-9370-bf52d6f0a317;|RAR5114 :
> Error allocating connection : [Error in allocating
> a connection. Cause: In-use connections equal max-pool-size and expired
> max-wait-time. Cannot allocate more connections.]|#]
>
> [#|2009-01-06T12:11:31.930+0000|WARNING|sun-appserver9.1|javax.enterpris
> e.resource.resourceadapter|_ThreadID=25;_ThreadName=httpWork
> erThread-80-9;Error in allocating a connection. Cause: In-use
> connections equal max-pool-size and expired max-wait-time. Cannot allo
> cate more
> connections.;_RequestID=74d7ffa2-cc14-4b01-b1f6-a869c6ea366d;|RAR5114 :
> Error allocating connection : [Error in allocating
> a connection. Cause: In-use connections equal max-pool-size and expired
> max-wait-time. Cannot allocate more connections.]|#]
>
>
> Thanks & Regards,
> Rishi Chopra.
> http://www.bgcpartners.com
> CONFIDENTIAL: This e-mail has been sent to you by one of the BGC entities (collectively BGC)
> listed at the following link http://www.bgcpartners.com/legal/disclaimers/index.html#email_disclaimer.
> The link contains company and FSA registration numbers. This e-mail, including its contents and
> attachments, if any, are confidential. If you are not the named recipient please notify the sender and
> immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose
> its contents to anybody else. Copyright and any other intellectual property rights in its contents are the
> sole property of BGC and its affiliates. E-mail transmission cannot be guaranteed to be secure or error-free.
> The sender therefore does not accept liability for any errors or omissions in the contents of this
> message which arise as a result of e-mail transmission. If verification is required please request a
> hard-copy version. Although we routinely screen for viruses, addressees should check this e-mail and any
> attachments for viruses. We make no representation or warranty as to the absence of viruses in this
> e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our
> customers and business, we may monitor and read e-mails sent to and from our server(s).
> The registered offices of the BGC entities are at 1 Churchill Place, London, E14 5RD.
> For any issues arising from this email please reply to the sender.
> The FSA register appears at http://www.fsa.gov.uk/register/.
> The FSA regulates the financial services industry in the United Kingdom and is located at
> 25 The North Colonnade, Canary Wharf, London, E14 5HS.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>