Timeout connections with NetBeans 7.0.1
Nessun commento » Bugs , Logbook , Tips & Tricks No Comments »
Here I found a problem that we have through the release of NetBeans 7.0.1, although I'm pretty sure the cause is not attributable to the IDE but are resident elsewhere.
In practice, after upgrading NetBeans behaved as if it were completely offline, returning a connection timeout error not only when you post a project, but also starting the download of updates from the official repositories.
To resolve the problem was simply a Google, but the solution just me here because I want to avoid losing the same time in the future, if ever you encounter a similar case. It seems to cause the timeout is the fact that one of the Java classes dedicated to the management of IPv6 networking bait unless it is directed otherwise, by adding the following flag to the file netbeans.conf:
-J-Djava.net.preferIPv4Stack=true
The flag is appended to the others that are in line 6 of the configuration file:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Djava.net.preferIPv4Stack=true"
I hope this information can be helpful to others.







