3 Replies Latest reply on Jun 1, 2013 7:55 AM by Arun Raj

    RHQ Server 4.7 Installation Problem

    Arun Raj Expert

      Hi Developers,

       

          In my local environment(Windows 7), I have tried to install 4.7 as per this guide line. But I am getting this error message again and again. Even I have tried to kill the PID on 0.0.0.0:8080. It is also not working. And I have tried to install in different directory, but result is same as follows. Help me to install RHQ 4.7.

       

       

      STACK TRACE ARE FOLLOWING :

       

      09:26:28,428 ERROR [org.apache.coyote.http11] (MSC service thread 1-2) JBWEB003043: Error initializing endpoint: java.net.BindException: Address already in use: JVM_Bind /0.0.0.0:8080
              at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:973) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
              at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:174) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
              at org.apache.catalina.connector.Connector.init(Connector.java:982) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
              at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:273) [jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_12-ea]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_12-ea]
              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
      
      09:26:28,537 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.connector.http: org.jboss.msc.service.StartException in service jboss.web.connector.http: JBAS018007: Error starting web connector
              at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:277)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_12-ea]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_12-ea]
              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
      Caused by: LifecycleException:  JBWEB000023: Protocol handler initialization failed
              at org.apache.catalina.connector.Connector.init(Connector.java:984)
              at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:273)
              ... 5 more
      
      09:26:28,677 WARN  [jacorb.orb.iiop] (MSC service thread 1-1) could not create server socket port: 3528 host: /127.0.0.1: java.net.BindException: Address already in use: JVM_Bind
              at java.net.TwoStacksPlainSocketImpl.socketBind(Native Method) [rt.jar:1.7.0_12-ea]
              at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) [rt.jar:1.7.0_12-ea]
              at java.net.TwoStacksPlainSocketImpl.bind(TwoStacksPlainSocketImpl.java:101) [rt.jar:1.7.0_12-ea]
              at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:175) [rt.jar:1.7.0_12-ea]
              at java.net.ServerSocket.bind(ServerSocket.java:376) [rt.jar:1.7.0_12-ea]
              at java.net.ServerSocket.<init>(ServerSocket.java:237) [rt.jar:1.7.0_12-ea]
              at org.jacorb.orb.factory.DefaultServerSocketFactory.createServerSocket(DefaultServerSocketFactory.java:49) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.iiop.IIOPListener$Acceptor.createServerSocket(IIOPListener.java:572) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.iiop.IIOPListener$Acceptor.init(IIOPListener.java:417) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.iiop.IIOPListener.configure(IIOPListener.java:163) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.etf.FactoriesBase.newInstance(FactoriesBase.java:125) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.etf.FactoriesBase.create_listener(FactoriesBase.java:74) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.BasicAdapter.configure(BasicAdapter.java:102) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.ORB.getRootPOA(ORB.java:1036) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jacorb.orb.ORB.resolve_initial_references(ORB.java:1307) [jacorb-2.3.2.jbossorg-4.jar:]
              at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:153) [jboss-as-jacorb-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_12-ea]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_12-ea]
              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
      
      09:26:28,740 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory D:\work_area\rhq-server-4.7.0\jbossas\standalone\deployments
      09:26:28,787 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.jacorb.poa-service.rootpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.rootpoa: org.omg.CORBA.INITIALIZE: Could not create server socket (3528): java.net.BindException: Address already in use: JVM_Bind
              at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:155)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_12-ea]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_12-ea]
              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
      Caused by: org.omg.CORBA.INITIALIZE: Could not create server socket (3528): java.net.BindException: Address already in use: JVM_Bind
              at org.jacorb.orb.iiop.IIOPListener$Acceptor.createServerSocket(IIOPListener.java:580)
              at org.jacorb.orb.iiop.IIOPListener$Acceptor.init(IIOPListener.java:417)
              at org.jacorb.orb.iiop.IIOPListener.configure(IIOPListener.java:163)
              at org.jacorb.orb.etf.FactoriesBase.newInstance(FactoriesBase.java:125)
              at org.jacorb.orb.etf.FactoriesBase.create_listener(FactoriesBase.java:74)
              at org.jacorb.orb.BasicAdapter.configure(BasicAdapter.java:102)
              at org.jacorb.orb.ORB.getRootPOA(ORB.java:1036)
              at org.jacorb.orb.ORB.resolve_initial_references(ORB.java:1307)
              at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:153)
              ... 5 more
      
      09:26:28,802 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.remoting.server.remoting-connector: org.jboss.msc.service.StartException in service jboss.remoting.server.remoting-connector: JBAS017112: Address already in use: bind 0.0.0.0:4447
              at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:110)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_12-ea]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_12-ea]
              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
      Caused by: java.net.BindException: Address already in use: bind
              at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.Net.bind(Net.java:344) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.Net.bind(Net.java:336) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) [rt.jar:1.7.0_12-ea]
              at org.xnio.nio.NioXnioWorker.createTcpServer(NioXnioWorker.java:287)
              at org.xnio.XnioWorker.createStreamServer(XnioWorker.java:135)
              at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:258)
              at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:102)
              ... 5 more
      
      09:26:29,192 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      09:26:29,208 INFO  [org.hornetq.core.server] (MSC service thread 1-3) HQ221001: live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=D:\work_area\rhq-server-4.7.0\jbossas\standalone\data\messagingjournal,bindingsDirectory=D:\work_area\rhq-server-4.7.0\jbossas\standalone\data\messagingbindings,largeMessagesDirector
      09:26:29,208 INFO  [org.hornetq.core.server] (MSC service thread 1-3) HQ221008: Waiting to obtain live lock
      09:26:29,286 INFO  [org.hornetq.core.server] (MSC service thread 1-3) HQ221017: Using NIO Journal
      09:26:29,395 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use: bind 127.0.0.1:6999
              at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:110)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_12-ea]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_12-ea]
              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
      Caused by: java.net.BindException: Address already in use: bind
              at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.Net.bind(Net.java:344) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.Net.bind(Net.java:336) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) [rt.jar:1.7.0_12-ea]
              at org.xnio.nio.NioXnioWorker.createTcpServer(NioXnioWorker.java:287)
              at org.xnio.XnioWorker.createStreamServer(XnioWorker.java:135)
              at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:258)
              at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:102)
              ... 5 more
      
      09:26:29,504 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: Address already in use: bind /127.0.0.1:6990
              at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:224) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_12-ea]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_12-ea]
              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
      Caused by: java.net.BindException: Address already in use: bind
              at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.Net.bind(Net.java:344) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.Net.bind(Net.java:336) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199) [rt.jar:1.7.0_12-ea]
              at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.7.0_12-ea]
              at org.jboss.sun.net.httpserver.ServerImpl.<init>(ServerImpl.java:144)
              at org.jboss.sun.net.httpserver.HttpServerImpl.<init>(HttpServerImpl.java:54)
              at org.jboss.sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:38)
              at org.jboss.com.sun.net.httpserver.HttpServer.create(HttpServer.java:147)
              at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:162)
              at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:190) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
              ... 5 more
      
      09:26:34,544 INFO  [org.hornetq.core.server] (MSC service thread 1-3) HQ221039: Waiting to obtain live lock
      
        • 1. Re: RHQ Server 4.7 Installation Problem
          Thomas Segismont Expert

          Not sure which process you killed but for sure you have something already bound to port 8080. Maybe another JBoss server? A Tomcat, Glassfish, Jetty... etc server?

          • 2. Re: RHQ Server 4.7 Installation Problem
            Arun Raj Expert

            HI Thomas,

             

                If another process running on that port means, what can i do ? ? ? Right now,  I dont have JBOSS Server or any other server on my machine. But The Server might be present by improper uninstallation of that server. Please help me any suggestion to overcome this problem. I have killed all the process which was running on the port.

             

            Regards,

            ArunRaj

            • 3. Re: RHQ Server 4.7 Installation Problem
              Arun Raj Expert

              Hi RHQ Team,

               

                  Help me to install RHQ 4.7 in my local machine. Still I have been facing lots of error.

               

              Right now I am facing the following error. Help me to find out what the error is ? ? ?

               

              17:20:46,916 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use: bind 127.0.0.1:6999

                      at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:110)

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]

                      at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

              Caused by: java.net.BindException: Address already in use: bind

                      at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.7.0_11]

                      at sun.nio.ch.Net.bind(Net.java:344) [rt.jar:1.7.0_11]

                      at sun.nio.ch.Net.bind(Net.java:336) [rt.jar:1.7.0_11]

                      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199) [rt.jar:1.7.0_11]

                      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.7.0_11]

                      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) [rt.jar:1.7.0_11]

                      at org.xnio.nio.NioXnioWorker.createTcpServer(NioXnioWorker.java:287)

                      at org.xnio.XnioWorker.createStreamServer(XnioWorker.java:135)

                      at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:258)

                      at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:102)

                      ... 5 more

               

              Regards,

              ArunRaj