NetXMS Support Forum

English Support => General Support => Topic started by: Rabid on February 28, 2013, 10:46:03 PM

Title: webui
Post by: Rabid on February 28, 2013, 10:46:03 PM
Windows 2012 server with netxms netxms-1.2.6-x64.exe installed to C:\NetXMS and netxms-webui-1.2.6-x64.exe installed to C:\NetXMSInterwebs on port 80.  When I navigate to http:\\netxmsserver I get redirected to http://netxmsserver/nxmc with a gray gradient background but nothing else.  no login page.  I have tried IE10 and FF and both have the same result.  what am I missing?
Title: Re: webui
Post by: Victor Kirhenshtein on March 01, 2013, 11:17:49 AM
Hi!

Looks like application hangs or crashes at initialization. Can you check log files under web ui installation directory? Also, try to restart web ui service and access directly http://netxmsserver/nxmc, without accessing root.

Best regards,
Victor
Title: Re: webui
Post by: Rabid on March 01, 2013, 02:01:57 PM
Same response as above when going directly to http://netxmsserver/nxmc.

This is from the nxwebui-stderr log:

2013-03-01 06:51:16 Commons Daemon procrun stderr initialized
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
2013-03-01 06:51:21.075:INFO:oejs.Server:oejs.Server#doStart(Server.java:252):jetty-7.6.1.v20120215
2013-03-01 06:51:21.169:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\NetXMSInterwebs\WebUI\contexts at interval 1
2013-03-01 06:51:21.185:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\NetXMSInterwebs\WebUI\contexts\nxmc.xml
2013-03-01 06:51:21.450:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/NetXMSInterwebs/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-80-nxmc.war-_-any-\webapp
2013-03-01 06:51:24.850:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-80-nxmc.war-_-any-/webapp/},C:\NetXMSInterwebs\WebUI/nxmc/nxmc.war
2013-03-01 06:51:32.640:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\NetXMSInterwebs\WebUI\contexts at interval 1
2013-03-01 06:51:32.640:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\NetXMSInterwebs\WebUI\contexts\nxmc.xml
2013-03-01 06:51:33.217:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-80-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-80-nxmc.war-_-any-_7096619115418526698
2013-03-01 06:51:33.279:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/NetXMSInterwebs/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-80-nxmc.war-_-any-_7096619115418526698\webapp
2013-03-01 06:51:35.186:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-80-nxmc.war-_-any-_7096619115418526698/webapp/},C:\NetXMSInterwebs\WebUI/nxmc/nxmc.war
2013-03-01 06:51:41.759:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:80
2013-03-01 06:51:41.759:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:80


and the following is from the commons-daemon

[2013-03-01 06:51:16] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
[2013-03-01 06:51:16] [info]  ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 64-bit) started
[2013-03-01 06:51:16] [info]  ( prunsrv.c:1561) Running 'nxWebUI' Service...
[2013-03-01 06:51:16] [debug] ( prunsrv.c:1345) Inside ServiceMain...
[2013-03-01 06:51:16] [info]  ( prunsrv.c:1089) Starting service...
[2013-03-01 06:51:16] [debug] ( javajni.c:206 ) loading jvm 'C:\NetXMSInterwebs\bin\jre\bin\server\jvm.dll'
[2013-03-01 06:51:16] [debug] ( javajni.c:660 ) Jvm Option[0] -Djetty.home=C:\NetXMSInterwebs\WebUI
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[1] -DSTOP.PORT=8087
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[2] -DSTOP.KEY=downB0y
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[3] -Djetty.logs=C:\NetXMSInterwebs\WebUI\logs
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[4] -Dorg.eclipse.jetty.util.log.SOURCE=true
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[5] -XX:MaxPermSize=128M
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[6] -XX:+CMSClassUnloadingEnabled
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[7] -XX:+CMSPermGenSweepingEnabled
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[8] -Djetty.port=80
[2013-03-01 06:51:17] [debug] ( javajni.c:660 ) Jvm Option[9] -Djava.class.path=C:\NetXMSInterwebs\WebUI\start.jar
[2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[0] = OPTIONS=All
[2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[1] = C:\NetXMSInterwebs\WebUI\etc\jetty.xml
[2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[2] = C:\NetXMSInterwebs\WebUI\etc\jetty-deploy.xml
[2013-03-01 06:51:18] [debug] ( javajni.c:844 ) argv[3] = C:\NetXMSInterwebs\WebUI\etc\jetty-contexts.xml
[2013-03-01 06:51:18] [debug] ( javajni.c:897 ) Java Worker thread started org/eclipse/jetty/start/Main:main
[2013-03-01 06:51:19] [debug] ( prunsrv.c:1148) Java started org/eclipse/jetty/start/Main
[2013-03-01 06:51:19] [info]  ( prunsrv.c:1244) Service started in 2640 ms.
[2013-03-01 06:51:19] [debug] ( prunsrv.c:1496) Waiting for worker to finish...
[2013-03-01 06:51:41] [debug] ( javajni.c:914 ) Java Worker thread finished org/eclipse/jetty/start/Main:main with status=0
[2013-03-01 06:51:41] [debug] ( prunsrv.c:1501) Worker finished.
[2013-03-01 06:51:42] [debug] ( prunsrv.c:1524) Waiting for all threads to exit


and lastly this is from the nxwebui-stdout

2013-03-01 06:51:16 Commons Daemon procrun stdout initialized
Title: Re: webui
Post by: Rabid on March 01, 2013, 08:04:50 PM
Also want to point out that v1.2.4 works fine.  I couldn't get 1.2.5 to start the core service.
Title: Re: webui
Post by: Rabid on March 12, 2013, 05:52:31 PM
I noticed that if I install the webui and leave the port to default (8787) that everything works properly.  If I install the webui and specify a different port then it doesn't work properly. 

How do I change the webui to use a different port?