Hello!
After successfull installation and configuration netxms-1.2.7-x64. I installed netxms-webui-1.2.7-x64 on Server 2012.
But service couldn't start. Then i've tried chek and uncheck JRE, install jre-7u25-windows-x64 and service started. But, after 30 or more seconds it stops again.
On my laptop (win 7 x86) everything works fine (netxms-1.2.7 and jre-7u25-windows-i586).
May be somebody know how to run webui on Server 2012?
Here is the strings of log files:
nxwebui-stderr
commons-daemon
			After successfull installation and configuration netxms-1.2.7-x64. I installed netxms-webui-1.2.7-x64 on Server 2012.
But service couldn't start. Then i've tried chek and uncheck JRE, install jre-7u25-windows-x64 and service started. But, after 30 or more seconds it stops again.
On my laptop (win 7 x86) everything works fine (netxms-1.2.7 and jre-7u25-windows-i586).
May be somebody know how to run webui on Server 2012?
Here is the strings of log files:
nxwebui-stderr
Quote2013-06-25 15:43:27 Commons Daemon procrun stderr initialized
2013-06-25 15:43:58 Commons Daemon procrun stderr initialized
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
1.v20120215
2013-06-25 15:44:01.386:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\NetXMS\WebUI\contexts at interval 1
2013-06-25 15:44:01.394:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\NetXMS\WebUI\contexts\nxmc.xml
2013-06-25 15:44:01.951:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-\webapp
2013-06-25 15:44:03.834: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:\NetXMS\WebUI/nxmc/nxmc.war
2013-06-25 15:44:14.108:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\NetXMS\WebUI\contexts at interval 1
2013-06-25 15:44:14.110:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\NetXMS\WebUI\contexts\nxmc.xml
2013-06-25 15:44:15.463: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-_4436129585933912848
2013-06-25 15:44:15.468:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-_4436129585933912848\webapp
2013-06-25 15:44:17.961: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-_4436129585933912848/webapp/},C:\NetXMS\WebUI/nxmc/nxmc.war
2013-06-25 15:44:26.708: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-06-25 15:44:26.709: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-06-25 15:44:26.710:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED org.eclipse.jetty.server.Server@66e4540e: MultiException[java.net.BindException: Address already in use: bind, java.net.BindException: Address already in use: bind]
MultiException[java.net.BindException: Address already in use: bind, java.net.BindException: Address already in use: bind]
at org.eclipse.jetty.server.Server.doStart(Server.java:254)
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: MultiException[java.net.BindException: Address already in use: bind, java.net.BindException: Address already in use: bind]
at org.eclipse.jetty.server.Server.doStart(Server.java:254)
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-06-25 15:44:26.713:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-06-25 15:44:26.714:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-06-25 15:44:26.714: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-_4436129585933912848/webapp/},C:\NetXMS\WebUI/nxmc/nxmc.war
2013-06-25 15:44:29.502:INFO:oejsl.ELContextCleaner:oejsl.ELContextCleaner#contextDestroyed(ELContextCleaner.java:58):javax.el.BeanELResolver purged
2013-06-25 15:44:29.502: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-_4436129585933912848/webapp/},C:\NetXMS\WebUI/nxmc/nxmc.war
commons-daemon
Quote[2013-06-25 15:43:27] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
[2013-06-25 15:43:27] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 64-bit) started
[2013-06-25 15:43:27] [info] ( prunsrv.c:1561) Running 'nxWebUI' Service...
[2013-06-25 15:43:27] [debug] ( prunsrv.c:1345) Inside ServiceMain...
[2013-06-25 15:43:28] [info] ( prunsrv.c:1089) Starting service...
[2013-06-25 15:43:28] [debug] ( javajni.c:206 ) loading jvm 'C:\Program Files\Java\jre7\bin\client\jvm.dll'
[2013-06-25 15:43:28] [debug] ( javajni.c:251 ) Setting DLL search path to 'C:\Program Files\Java\jre7\bin\client'
[2013-06-25 15:43:28] [debug] ( javajni.c:251 ) Setting DLL search path to 'C:\Program Files\Java\jre7\bin'
[2013-06-25 15:43:28] [error] ( javajni.c:264 ) %1 is not a valid Win32 application.
[2013-06-25 15:43:28] [error] ( prunsrv.c:1124) Failed creating java
[2013-06-25 15:43:28] [error] ( prunsrv.c:1124) %1 is not a valid Win32 application.
[2013-06-25 15:43:28] [error] ( prunsrv.c:1504) ServiceStart returned 1
[2013-06-25 15:43:28] [error] ( prunsrv.c:1504) %1 is not a valid Win32 application.
[2013-06-25 15:43:29] [info] ( prunsrv.c:1563) Run service finished.
[2013-06-25 15:43:29] [info] ( prunsrv.c:1729) Commons Daemon procrun finished
[2013-06-25 15:43:57] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
[2013-06-25 15:43:58] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 64-bit) started
[2013-06-25 15:43:58] [info] ( prunsrv.c:1561) Running 'nxWebUI' Service...
[2013-06-25 15:43:58] [debug] ( prunsrv.c:1345) Inside ServiceMain...
[2013-06-25 15:43:58] [info] ( prunsrv.c:1089) Starting service...
[2013-06-25 15:43:58] [debug] ( javajni.c:206 ) loading jvm 'C:\Program Files\Java\jre7\bin\client\jvm.dll'
[2013-06-25 15:43:58] [debug] ( javajni.c:660 ) Jvm Option[0] -Djetty.home=C:\NetXMS\WebUI
[2013-06-25 15:43:58] [debug] ( javajni.c:660 ) Jvm Option[1] -DSTOP.PORT=8087
[2013-06-25 15:43:58] [debug] ( javajni.c:660 ) Jvm Option[2] -DSTOP.KEY=downB0y
[2013-06-25 15:43:59] [debug] ( javajni.c:660 ) Jvm Option[3] -Djetty.logs=C:\NetXMS\WebUI\logs
[2013-06-25 15:43:59] [debug] ( javajni.c:660 ) Jvm Option[4] -Dorg.eclipse.jetty.util.log.SOURCE=true
[2013-06-25 15:43:59] [debug] ( javajni.c:660 ) Jvm Option[5] -XX:MaxPermSize=128M
[2013-06-25 15:43:59] [debug] ( javajni.c:660 ) Jvm Option[6] -XX:+CMSClassUnloadingEnabled
[2013-06-25 15:43:59] [debug] ( javajni.c:660 ) Jvm Option[7] -XX:+CMSPermGenSweepingEnabled
[2013-06-25 15:43:59] [debug] ( javajni.c:660 ) Jvm Option[8] -Djetty.port=8787
[2013-06-25 15:43:59] [debug] ( javajni.c:660 ) Jvm Option[9] -Djava.class.path=C:\NetXMS\WebUI\start.jar
[2013-06-25 15:43:59] [debug] ( javajni.c:844 ) argv[0] = OPTIONS=All
[2013-06-25 15:44:00] [debug] ( javajni.c:844 ) argv[1] = C:\NetXMS\WebUI\etc\jetty.xml
[2013-06-25 15:44:00] [debug] ( javajni.c:844 ) argv[2] = C:\NetXMS\WebUI\etc\jetty-deploy.xml
[2013-06-25 15:44:00] [debug] ( javajni.c:844 ) argv[3] = C:\NetXMS\WebUI\etc\jetty-contexts.xml
[2013-06-25 15:44:00] [debug] ( javajni.c:897 ) Java Worker thread started org/eclipse/jetty/start/Main:main
[2013-06-25 15:44:01] [debug] ( prunsrv.c:1148) Java started org/eclipse/jetty/start/Main
[2013-06-25 15:44:01] [info] ( prunsrv.c:1244) Service started in 3276 ms.
[2013-06-25 15:44:02] [debug] ( prunsrv.c:1496) Waiting for worker to finish...
[2013-06-25 15:44:30] [debug] ( prunsrv.c:891 ) Start exit hook called ...