Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 8th, 2006, 08:05 AM
Registered User
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default TCP Communication block, maximum connections reach


I’m using Apache Tomcat 5.5.17 on Java 1.5.0_07.

My java application is deployed on server, which is calling IIS hosted web service continuously.
Apache & IIS running on same machine.

After 5 hours, complete TCP communication is blocked. You cannot access system from outside. Then it is resolved only with reboot of machine. Nothing works on that machine that is making use of TCP.

Please find below the stack trace,

Aug 18, 2006 9:44:00 AM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.SocketException: No buffer space available (maximum connections reached?): connect

       at java.net.PlainSocketImpl.socketConnect(Native Method)

       at java.net.PlainSocketImpl.doConnect(Unknown Source)

       at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

       at java.net.PlainSocketImpl.connect(Unknown Source)

       at java.net.SocksSocketImpl.connect(Unknown Source)

       at java.net.Socket.connect(Unknown Source)

       at java.net.Socket.connect(Unknown Source)

       at java.net.Socket.<init>(Unknown Source)

       at java.net.Socket.<init>(Unknown Source)

       at org.apache.catalina.startup.Catalina.stopServer(Ca talina.java:394)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)

       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

       at java.lang.reflect.Method.invoke(Unknown Source)

       at org.apache.catalina.startup.Bootstrap.stopServer(B ootstrap.java:343)

       at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:434)

Aug 18, 2006 9:44:00 AM org.apache.coyote.http11.Http11BaseProtocol pause

INFO: Pausing Coyote HTTP/1.1 on http-8080

Please suggest.


Old February 13th, 2007, 04:35 PM
Registered User
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hi, my application is experiencing the exact same problem with relatively few tomcat sessions. Have you resolved the root cause of this problem?

Similar Threads
Thread Thread Starter Forum Replies Last Post
tcp\ip communication in asp.net 1.1 Pramods BOOK: Beginning ASP.NET 1.0 0 July 16th, 2007 03:51 AM
Maximum limit for a TCP/IP Port ashu_from_india General .NET 2 April 20th, 2006 12:15 AM
cant reach data in xml with namespaces TPP XSLT 3 March 25th, 2006 04:40 PM
cant reach data in xml with namespaces TPP XSLT 1 March 24th, 2006 11:47 AM
How to reach the second aspx page form the first? wufutureman BOOK: Beginning ASP.NET 1.0 0 July 21st, 2005 10:15 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.