Thursday, April 22, 2010

GlassFish v3 NetBeans 6.8 start error

Error while starting glassfish v3 in netbeans 6.8-java.net.BindException: Address family not supported by protocol family: bind: 44202=com.sun.enterprise.v3.services.impl.ServiceInitializerHandler@94aa42

If you're using GNU/Linux, simply edit /etc/sysctl.d/bindv6only.conf and change 'net.ipv6.bindv6only = 1' to 'net.ipv6.bindv6only = 0'

Run "invoke-rc.d procps restart" to enforce changes

Thanks to magikfingerz for the solution

No comments: