java.net.SocketException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Network Interface Detection issue with jdk1.6
    via by Anantha Krishnan,
  • RE: java.io.IOException: Too many open files
    via by Khaled Farj,
  • RE: java.io.IOException: Too many open files
    via by Khaled Farj,
  • Because Eclipse is not available for Solaris x86, I installed Spring STS and Spring AP in a Linux Branded Zone in OpenSolaris 5.11. Eclipse and STS runs fine, but Spring AP fails to start because of: -------------------------------------------------------------------------------- | | SpringSource Application Platform | -------------------------------------------------------------------------------- [2008-06-27 14:46:16.769] main <SPKB0001I> Platform starting. [2008-06-27 14:46:29.854] main <SPKE0000I> Boot subsystems installed. [2008-06-27 14:46:31.899] main <SPKE0001I> Base subsystems installed. [2008-06-27 14:46:36.611] platform-dm-0 <SPPM0000I> Installing profile 'web'. [2008-06-27 14:46:39.035] platform-dm-10 <SPFF0002I> Wrote dump file "/export/home/jwegne/Work/springsource-ap-1.0.0.beta6/serviceability/dump/2008-06-27_14-46-36.dump" com.springsource.platform.io.core.FatalIOException: Unable to determine network interface list. at com.springsource.platform.io.core.NetUtils.isPortAvailable(NetUtils.java:37) at com.springsource.platform.control.core.internal.PortCheckingRmiRegistryFactoryBean.afterPropertiesSet(PortCheckingRmiRegistryFactoryBean.java:33) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:276) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at com.springsource.platform.kernel.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:82) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.SocketException: Bad address at java.net.NetworkInterface.getAll(Native Method) at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:281) at com.springsource.platform.io.core.NetUtils.isPortAvailable(NetUtils.java:35) ... 20 more and a lot more errors. I will also attach the corresponding AP trace file. I guess running Spring Application Platform in a Linux Branded Zone might not be an useful Use Case, but still it would be nice if you could use STS + AP on OpenSolaris.
    via by Josef Wegner,
    • java.net.SocketException: No such device or address at java.net.NetworkInterface.getAll(Native Method) at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:282) at weblogic.server.channels.AddressUtils$AddressMaker.getAllAddresses(AddressUtils.java:57) at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:47) at weblogic.server.channels.AddressUtils.getLocalHost(AddressUtils.java:117) at weblogic.cluster.ClusterHelper.getMachineName(ClusterHelper.java:44) at weblogic.cluster.ClusterService.startService(ClusterService.java:102) at weblogic.server.ServiceActivator.start(ServiceActivator.java:98) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

    Users with the same issue

    Unknown visitor1 times, last one,