Runtime Jetty server sporadically fails to start

0
I have recently been using Mx Business Modeler 5.6.0 thru 5.8.1 installed on my Windows 7 Dell laptop. I sporadically get a problem whereby the Runtime Jetty server fails to start when I chose 'Run Locally'. When this happens it will usually start if I try again, or in the worst case if I try another 2 times. Do I need to worry about this? Will it get worse or one day fail to run at all? Is there a setting on the Modeller or my in my Windows environment which I should change in order to overcome this? Note 1: this problem was worse when I had my Mendix projects held in My Documents which was being synchronised. Now I have the projects outside of synchronisation the problem is less common. This leads to an assumption that the problem is some kind of timeout... but I am just guessing, so would appreciate your answers. I could not find anything relevant in Forum. Note 2: I tried to submit this as a support request, but the form was rejected as I had not specified an Application, but there was nowhere on the form to enter this.... I have screenshots of errors...which I don't seem to be able to upload here, and the stack trace is as follows: BlockquoteShellTUI: Unable to read from stdin...exiting. java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:125) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:69) at java.security.AccessController.doPrivileged(Native Method) at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:141) at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.nio.channels.Pipe.open(Pipe.java:150) at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:126) at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at java.nio.channels.Selector.open(Selector.java:227) at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416) at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:261) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:324) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.Server.doStart(Server.java:291) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.<init>(HttpAdminHandler.java:79) at com.mendix.m2ee.appcontainer.AppContainer.setupAdminHandlerAndActions(AppContainer.java:163) at com.mendix.m2ee.appcontainer.AppContainer.start(AppContainer.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:236) at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37) at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:613) at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:496) at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:239) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:119) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1694) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.getService(ImmediateComponentManager.java:667) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:308) at org.apache.felix.framework.ServiceRegistrationImpl.access$100(ServiceRegistrationImpl.java:35) at org.apache.felix.framework.ServiceRegistrationImpl$ServiceFactoryPrivileged.run(ServiceRegistrationImpl.java:372) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:214) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:320) at org.apache.felix.framework.Felix.getService(Felix.java:3568) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468) at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:563) at org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1091) at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:768) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1492) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:550) at org.apache.felix.scr.impl.manager.DependencyManager.serviceAdded(DependencyManager.java:333) at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:159) at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:925) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:921) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) at org.apache.felix.framework.Felix.registerService(Felix.java:3423) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:660) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:644) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:688) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1481) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:550) at org.apache.felix.scr.impl.manager.DependencyManager.serviceAdded(DependencyManager.java:333) at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:159) at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:925) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:921) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) at org.apache.felix.framework.Felix.registerService(Felix.java:3423) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:660) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:644) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:688) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1481) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:550) at org.apache.felix.scr.impl.manager.DependencyManager.serviceAdded(DependencyManager.java:333) at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:159) at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:925) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:921) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) at org.apache.felix.framework.Felix.registerService(Felix.java:3423) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:660) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:644) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:688) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1481) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:550) at org.apache.felix.scr.impl.manager.DependencyManager.serviceAdded(DependencyManager.java:333) at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:159) at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:925) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:921) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) at org.apache.felix.framework.Felix.registerService(Felix.java:3423) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:660) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:644) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:688) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1481) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:550) at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:261) at org.apache.felix.scr.impl.config.ImmediateComponentHolder.enableComponents(ImmediateComponentHolder.java:328) at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:158) at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:113) at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261) at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:179) at org.apache.felix.framework.util.EventDispatcher$3.run(EventDispatcher.java:861) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:858) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403) at org.apache.felix.framework.Felix.startBundle(Felix.java:2092) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:225) at sun.nio.ch.IOUtil.read(IOUtil.java:198) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:359) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:108) ... 122 more ->
asked
1 answers
2

Nick,

This might have to do with using Java 7 on windows 7 and the IP version prefs. A workaround might be to tell Java to prefer IPv4 via the JVM argument -Djava.net.preferIPv4Stack=true. See for example here, another issue altogether but similar symptoms.

answered