GeeCON Prague 2014*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes java.net.SocketException: No buffer space available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "java.net.SocketException: No buffer space available " Watch "java.net.SocketException: No buffer space available " New topic
Author

java.net.SocketException: No buffer space available

Charles Dupin
Ranch Hand

Joined: Oct 18, 2002
Posts: 94
Any idea why since I implemented a connection factory I get sometimes the following exception on the client side at the call objref = Naming.lookup(url);.
It occurs at random.
The exception is:


Charles.<br />(SCJD2)
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
This can be a bug in early versions of the JVM (was it 1.3 or 1.4?) -- upgrade to the latest version. Also, check that you cleanly close all the sockets and other connections that you use.
- Peter
Chirag Jakharia
Greenhorn

Joined: Dec 03, 2003
Posts: 23
I am also facing this problem

I read in one of the websites that we can increase buffer space by making some changes in the Windows registry.
Does anyone knows the changes required in the registry

Thanks in advance

CSJakharia
 
GeeCON Prague 2014
 
subject: java.net.SocketException: No buffer space available