Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Web UI Server 2012

Web UI Server 2012

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 29.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    F
    FlipWheel
    wrote on last edited by
    #1

    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

    2013-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

    [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 ...

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      Looks like port 8787 already used by some other program. Try to change port number when installing service.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        Taomyn
        wrote on last edited by
        #3

        I'm now seeing the same thing, but it was working fine a few weeks ago which makes this very strange. I haven't used it much and I can only think that maybe the latest version of Java, which I did update to, has messed something up.

        The port is definitely not in use and changing it to another doesn't help either.

        1 Reply Last reply
        0
        • T
          T
          Taomyn
          wrote on last edited by
          #4

          I'm still not getting anywhere with this, the same error keeps occurring. I have checked with "netstat -ano" that the port is free and have tried configuring Jetty to use both 127.0.0.1 and the IP of the machine instead of 0.0.0.0 but it keeps insisting that the address is already in use.

          I even tried copying a newer version of v7 Jetty across and that gets me nowhere, except that a deprecated class is now no longer valid.

          1 Reply Last reply
          0

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups