1.2.8 Web GUI Win x64 refuses to remain started
-
As per thread https://www.netxms.org/forum/installation/webui-1-2-7-64-bit/ v1.2.8 is doing the exact same thing i.e. it reports the address is already in use when it isn't.
Here's the error log:
2013-07-21 03:00:45 Commons Daemon procrun stderr initialized Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future 1.v20120215 2013-07-21 03:00:52.699:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1 2013-07-21 03:00:52.708:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml 2013-07-21 03:00:52.838:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-\webapp 2013-07-21 03:00:55.213:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war 2013-07-21 03:00:58.870:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1 2013-07-21 03:00:58.872:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml 2013-07-21 03:00:59.023:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751 2013-07-21 03:00:59.026:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751\webapp 2013-07-21 03:00:59.988:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war 2013-07-21 03:01:03.387:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:8787 2013-07-21 03:01:03.388:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED [email protected]:8787: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) 2013-07-21 03:01:03.388:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED org.eclipse.jetty.server.Server@337688d3: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) ... 7 more Usage: java -jar start.jar [options] [properties] [configs] java -jar start.jar --help # for more information 2013-07-21 03:01:03.396:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787 2013-07-21 03:01:03.396:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787 2013-07-21 03:01:03.397:INFO:oejs.Server:oejs.Server#doStop(Server.java:310):Graceful shutdown o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war 2013-07-21 03:01:04.640:INFO:oejsl.ELContextCleaner:oejsl.ELContextCleaner#contextDestroyed(ELContextCleaner.java:58):javax.el.BeanELResolver purged 2013-07-21 03:01:04.640:INFO:oejsh.ContextHandler:oejsh.ContextHandler#doStop(ContextHandler.java:788):stopped o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war 2013-07-21 23:48:02 Commons Daemon procrun stderr initialized Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future 1.v20120215 2013-07-21 23:48:03.794:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1 2013-07-21 23:48:03.801:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml 2013-07-21 23:48:03.880:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-\webapp 2013-07-21 23:48:05.598:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war 2013-07-21 23:48:08.792:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1 2013-07-21 23:48:08.793:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml 2013-07-21 23:48:08.942:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829 2013-07-21 23:48:08.945:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829\webapp 2013-07-21 23:48:10.153:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war 2013-07-21 23:48:13.331:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:8787 2013-07-21 23:48:13.332:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED [email protected]:8787: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) 2013-07-21 23:48:13.332:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED org.eclipse.jetty.server.Server@2b6a702b: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) ... 7 more Usage: java -jar start.jar [options] [properties] [configs] java -jar start.jar --help # for more information 2013-07-21 23:48:13.339:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787 2013-07-21 23:48:13.339:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787 2013-07-21 23:48:13.340:INFO:oejs.Server:oejs.Server#doStop(Server.java:310):Graceful shutdown o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war 2013-07-21 23:48:14.513:INFO:oejsl.ELContextCleaner:oejsl.ELContextCleaner#contextDestroyed(ELContextCleaner.java:58):javax.el.BeanELResolver purged 2013-07-21 23:48:14.513:INFO:oejsh.ContextHandler:oejsh.ContextHandler#doStop(ContextHandler.java:788):stopped o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war -
Hello.
- Check that all Jetty's are stopped
- Remove all "jetty-*-nxmc.war-*" folders from C:\Windows\Temp\
- Try to start service once again.
-
@alk said in 1.2.8 Web GUI Win x64 refuses to remain started:
Hello.
- Check that all Jetty's are stopped
- Remove all "jetty-*-nxmc.war-*" folders from C:\Windows\Temp\
- Try to start service once again.
Did that and still the same, so I uninstalled the GUI, deleted the installation folder and reinstalled it. Still fails to remain started:
2013-07-22 09:55:17 Commons Daemon procrun stderr initialized Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future 1.v20120215 2013-07-22 09:55:18.928:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\NetXMS\WebUI\contexts at interval 1 2013-07-22 09:55:18.938:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\NetXMS\WebUI\contexts\nxmc.xml 2013-07-22 09:55:19.008:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-\webapp 2013-07-22 09:55:21.218:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.war 2013-07-22 09:55:25.597:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\NetXMS\WebUI\contexts at interval 1 2013-07-22 09:55:25.599:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\NetXMS\WebUI\contexts\nxmc.xml 2013-07-22 09:55:25.889:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842 2013-07-22 09:55:25.893:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842\webapp 2013-07-22 09:55:28.152:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.war 2013-07-22 09:55:32.107:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:8787 2013-07-22 09:55:32.108:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED [email protected]:8787: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) 2013-07-22 09:55:32.108:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED org.eclipse.jetty.server.Server@1520a8e: java.net.BindException: Address already in use: bind java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.start.Main.invokeMain(Main.java:457) at org.eclipse.jetty.start.Main.start(Main.java:602) at org.eclipse.jetty.start.Main.main(Main.java:82) Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138) ... 7 more Usage: java -jar start.jar [options] [properties] [configs] java -jar start.jar --help # for more information 2013-07-22 09:55:32.112:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787 2013-07-22 09:55:32.112:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787 2013-07-22 09:55:32.112:INFO:oejs.Server:oejs.Server#doStop(Server.java:310):Graceful shutdown o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.war 2013-07-22 09:55:33.380:INFO:oejsl.ELContextCleaner:oejsl.ELContextCleaner#contextDestroyed(ELContextCleaner.java:58):javax.el.BeanELResolver purged 2013-07-22 09:55:33.380:INFO:oejsh.ContextHandler:oejsh.ContextHandler#doStop(ContextHandler.java:788):stopped o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.warand the other log in case it helps:
[2013-07-22 09:55:17] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized [2013-07-22 09:55:17] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 32-bit) started [2013-07-22 09:55:17] [debug] ( prunsrv.c:559 ) Installing service... [2013-07-22 09:55:17] [info] ( prunsrv.c:595 ) Service nxWebUI name NetXMS WebUI [2013-07-22 09:55:17] [debug] ( prunsrv.c:611 ) Setting service description NetXMS Web Interface (jetty) [2013-07-22 09:55:17] [info] ( prunsrv.c:629 ) Service 'nxWebUI' installed [2013-07-22 09:55:17] [info] ( prunsrv.c:1729) Commons Daemon procrun finished [2013-07-22 09:55:17] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized [2013-07-22 09:55:17] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 32-bit) started [2013-07-22 09:55:17] [info] ( prunsrv.c:720 ) Starting service 'nxWebUI' ... [2013-07-22 09:55:17] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized [2013-07-22 09:55:17] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 32-bit) started [2013-07-22 09:55:17] [info] ( prunsrv.c:1561) Running 'nxWebUI' Service... [2013-07-22 09:55:17] [debug] ( prunsrv.c:1345) Inside ServiceMain... [2013-07-22 09:55:17] [info] ( prunsrv.c:1089) Starting service... [2013-07-22 09:55:17] [debug] ( javajni.c:206 ) loading jvm 'C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll' [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[0] -Djetty.home=C:\Program Files\NetXMS\NetXMS\WebUI [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[1] -DSTOP.PORT=8087 [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[2] -DSTOP.KEY=downB0y [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[3] -Djetty.logs=C:\Program Files\NetXMS\NetXMS\WebUI\logs [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[4] -Dorg.eclipse.jetty.util.log.SOURCE=true [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[5] -XX:MaxPermSize=128M [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[6] -XX:+CMSClassUnloadingEnabled [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[7] -XX:+CMSPermGenSweepingEnabled [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[8] -Djetty.port=8787 [2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[9] -Djava.class.path=C:\Program Files\NetXMS\NetXMS\WebUI\start.jar [2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[0] = OPTIONS=All [2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[1] = C:\Program Files\NetXMS\NetXMS\WebUI\etc\jetty.xml [2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[2] = C:\Program Files\NetXMS\NetXMS\WebUI\etc\jetty-deploy.xml [2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[3] = C:\Program Files\NetXMS\NetXMS\WebUI\etc\jetty-contexts.xml [2013-07-22 09:55:18] [debug] ( javajni.c:897 ) Java Worker thread started org/eclipse/jetty/start/Main:main [2013-07-22 09:55:19] [debug] ( prunsrv.c:1148) Java started org/eclipse/jetty/start/Main [2013-07-22 09:55:19] [info] ( prunsrv.c:1244) Service started in 1310 ms. [2013-07-22 09:55:19] [debug] ( prunsrv.c:1496) Waiting for worker to finish... [2013-07-22 09:55:20] [info] ( prunsrv.c:738 ) Service 'nxWebUI' started [2013-07-22 09:55:20] [info] ( prunsrv.c:749 ) Start service finished. [2013-07-22 09:55:20] [info] ( prunsrv.c:1729) Commons Daemon procrun finished [2013-07-22 09:55:33] [debug] ( prunsrv.c:891 ) Start exit hook called ... -
-
I did some changes which could resolve this issue, and will push test build to the web later today.
-
-
Please try these binaries (uninstall old version and remove leftovers is any):
www.netxms.org/tmp/netxms-webui-1.2.8.exe
www.netxms.org/tmp/netxms-webui-1.2.8-x64.exe -
@alk said in 1.2.8 Web GUI Win x64 refuses to remain started:
Please try these binaries (uninstall old version and remove leftovers is any):
www.netxms.org/tmp/netxms-webui-1.2.8.exe
www.netxms.org/tmp/netxms-webui-1.2.8-x64.exeWorks like a charm, installed the 64bit version (no java), I also deleted the relevant folders out of C:\Windows\Temp just to be certain.
Many many thanks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login