geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: java.net.SocketException: Interrupted function call: Datagram send failed and Geronimo shuts down
Date Sun, 06 Jan 2008 17:56:15 GMT
Jacek,

Try disabling the wadi modules. I've had similar problems when
starting the server offline -
https://issues.apache.org/jira/browse/GERONIMO-3721

Jarek

On Jan 6, 2008 9:18 AM, Jacek Laskowski <jacek@laskowski.net.pl> wrote:
> On Jan 6, 2008 3:06 PM, Jacek Laskowski <jacek@laskowski.net.pl> wrote:
>
> > I can't seem to run Geronimo on my machine. I had a laptop crash in
> > the meantime so perhaps the firewall got crazy or something. I'm
> > getting the following exception and Geronimo shuts down afterwards.
> > It's a fresh build. Does anyone know what's wrong? Where should I be
> > looking at in order to get it sorted out?
>
> The previous attempts was with Geronimo Jetty disto so I went on and
> changed to Geronimo Tomcat in a hope I could work it around. However,
> when I run Geronimo Jetty it blew up with the following exception
> which is even worse than I previously thought it was with Geronimo
> Jetty. Any hints how to fix it appreciated. I'm on Windows/Cygwin with
> Java 1.5. I used jar to unpack the distro.
>
> 2008-01-06 15:13:58 org.apache.catalina.tribes.membership.McastService stop
>
> SEVERE: Unable to stop the mcast service, level:4.
> java.net.SocketException: Interrupted function call: Datagram send failed
>         at java.net.PlainDatagramSocketImpl.send(Native Method)
>         at java.net.DatagramSocket.send(DatagramSocket.java:612)
>         at org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:349)
>         at org.apache.catalina.tribes.membership.McastServiceImpl.stop(McastServiceImpl.java:264)
>         at org.apache.catalina.tribes.membership.McastService.stop(McastService.java:363)
>         at org.apache.catalina.tribes.group.ChannelCoordinator.internalStop(ChannelCoordinator.java:204)
>         at org.apache.catalina.tribes.group.ChannelCoordinator.stop(ChannelCoordinator.java:112)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.stop(MessageDispatchInterceptor.java:161)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.codehaus.wadi.tribes.WadiMemberInterceptor.stop(WadiMemberInterceptor.java:144)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.GroupChannel.stop(GroupChannel.java:418)
>         at org.codehaus.wadi.tribes.TribesCluster.stop(TribesCluster.java:210)
>         at org.codehaus.wadi.tribes.TribesDispatcher.stop(TribesDispatcher.java:137)
>         at org.apache.geronimo.clustering.wadi.TribesDispatcherHolder.doFail(TribesDispatcherHolder.java:104)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1028)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c8dd70e0.startConfiguration(<generated>)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> 2008-01-06 15:13:58 org.apache.catalina.tribes.membership.McastService stop
>
> SEVERE: Unable to stop the mcast service, level:8.
> java.net.SocketException: Interrupted function call: Datagram send failed
>         at java.net.PlainDatagramSocketImpl.send(Native Method)
>         at java.net.DatagramSocket.send(DatagramSocket.java:612)
>         at org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:349)
>         at org.apache.catalina.tribes.membership.McastServiceImpl.stop(McastServiceImpl.java:264)
>         at org.apache.catalina.tribes.membership.McastService.stop(McastService.java:363)
>         at org.apache.catalina.tribes.group.ChannelCoordinator.internalStop(ChannelCoordinator.java:211)
>         at org.apache.catalina.tribes.group.ChannelCoordinator.stop(ChannelCoordinator.java:112)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.stop(MessageDispatchInterceptor.java:161)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.codehaus.wadi.tribes.WadiMemberInterceptor.stop(WadiMemberInterceptor.java:144)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.stop(ChannelInterceptorBase.java:164)
>         at org.apache.catalina.tribes.group.GroupChannel.stop(GroupChannel.java:418)
>         at org.codehaus.wadi.tribes.TribesCluster.stop(TribesCluster.java:210)
>         at org.codehaus.wadi.tribes.TribesDispatcher.stop(TribesDispatcher.java:137)
>         at org.apache.geronimo.clustering.wadi.TribesDispatcherHolder.doFail(TribesDispatcherHolder.java:104)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1028)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c8dd70e0.startConfiguration(<generated>)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> 15:13:58,343 ERROR [GBeanInstanceState] Error while starting; GBean is
> now in the FAILED state:
> abstractName="org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car?ServiceModule=
> org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car,j2eeType=GBean,name=DefaultDispatcherHolder"
> org.codehaus.wadi.group.MessageExchangeException:
> org.codehaus.wadi.group.ClusterException:
> org.apache.catalina.tribes.ChannelException: java.net.SocketException:
> Interrupted function c
> all: Datagram send failed; No faulty members identified.
>         at org.codehaus.wadi.tribes.TribesDispatcher.start(TribesDispatcher.java:125)
>         at org.apache.geronimo.clustering.wadi.TribesDispatcherHolder.doStart(TribesDispatcherHolder.java:75)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c8dd70e0.startConfiguration(<generated>)
>
>         at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: org.codehaus.wadi.group.ClusterException:
> org.apache.catalina.tribes.ChannelException: java.net.SocketException:
> Interrupted function call: Datagram send failed; No faulty me
> mbers identified.
>         at org.codehaus.wadi.tribes.TribesCluster.start(TribesCluster.java:198)
>         at org.codehaus.wadi.tribes.TribesDispatcher.start(TribesDispatcher.java:123)
>         ... 25 more
> Caused by: org.apache.catalina.tribes.ChannelException:
> java.net.SocketException: Interrupted function call: Datagram send
> failed; No faulty members identified.
>         at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:169)
>         at org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:97)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
>         at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:147)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
>         at org.codehaus.wadi.tribes.WadiMemberInterceptor.start(WadiMemberInterceptor.java:135)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
>         at org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:400)
>         at org.codehaus.wadi.tribes.TribesCluster.start(TribesCluster.java:196)
>         ... 26 more
> Caused by: java.net.SocketException: Interrupted function call:
> Datagram send failed
>         at java.net.PlainDatagramSocketImpl.send(Native Method)
>         at java.net.DatagramSocket.send(DatagramSocket.java:612)
>         at org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:349)
>         at org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:209)
>         at org.apache.catalina.tribes.membership.McastService.start(McastService.java:305)
>         at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:158)
>         ... 36 more
> Geronimo startup failed:
> org.apache.geronimo.kernel.config.LifecycleException: start of
> org.apache.geronimo.configs/tomcat6-clustering-wadi/2.1-SNAPSHOT/car
> failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:551)
>         at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c8dd70e0.startConfiguration(<generated>)
>
>         at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156)
>         at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
> Unknown start exception
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:514)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
>         ... 15 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car
> failed to start due to the following reaso
> ns:
>   The service ServiceModule=org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car,j2eeType=GBean,name=DefaultDispatcherHolder
> did not start because org.codehaus.wadi.group.Cluste
> rException: org.apache.catalina.tribes.ChannelException:
> java.net.SocketException: Interrupted function call: Datagram send
> failed; No faulty members identified.
>   The service ServiceModule=org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car,j2eeType=GBean,name=DefaultCluster
> did not start because org.apache.geronimo.configs/wadi-cluste
> ring/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car,j2eeType=GBean,name=DefaultDispatcherHolder
> did not start.
>
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:477)
>         ... 17 more
> [] received stop signal
> 2008-01-06 15:14:02
> org.apache.catalina.tribes.group.interceptors.TcpFailureDetector
> memberDisappeared
> INFO: Verification complete. Member
> disappeared[org.apache.catalina.tribes.membership.MemberImpl[tcp://169.254.212.59:4000,169.254.212.59,4000,
> alive=1016,id={-35 44 20 -61 -42 -36 78 1
> 05 -70 68 82 -80 62 -81 112 25 }, payload={-84 -19 0 5 115 114 0 50
> 111 ...(421)}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={68
> 69 70 65 85 76 84 95 67 ...(15)}, ]]
> 2008-01-06 15:14:02 org.codehaus.wadi.tribes.WadiMemberInterceptor
> memberDisappeared
> INFO: memberDisappeared:tcp://169.254.212.59:4000
> Exception in thread "Thread-41" java.lang.NoClassDefFoundError:
> EDU/oswego/cs/dl/util/concurrent/CopyOnWriteArrayList$COWIterator
>         at EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.iterator(Unknown
> Source)
>         at org.codehaus.wadi.tribes.TribesCluster$WadiListener.memberDisappeared(TribesCluster.java:271)
>         at org.apache.catalina.tribes.group.GroupChannel.memberDisappeared(GroupChannel.java:326)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:93)
>         at org.codehaus.wadi.tribes.WadiMemberInterceptor.memberDisappeared(WadiMemberInterceptor.java:86)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:93)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:93)
>         at org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor.memberDisappeared(DomainFilterInterceptor.java:65)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:93)
>         at org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.memberDisappeared(TcpFailureDetector.java:159)
>         at org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:93)
>         at org.apache.catalina.tribes.group.ChannelCoordinator.memberDisappeared(ChannelCoordinator.java:234)
>         at org.apache.catalina.tribes.membership.McastService.memberDisappeared(McastService.java:444)
>         at org.apache.catalina.tribes.membership.McastServiceImpl$1.run(McastServiceImpl.java:292)
>
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>

Mime
View raw message