Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 8th, 2006, 08:05 AM
Registered User
 
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default TCP Communication block, maximum connections reach

Hi,

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.

Regards

Vinay
Reply With Quote
  #2 (permalink)  
Old February 13th, 2007, 03:35 PM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 03:40 PM
cant reach data in xml with namespaces TPP XSLT 1 March 24th, 2006 10: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



All times are GMT -4. The time now is 02:51 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.