3 Replies Latest reply on May 19, 2003 5:47 PM by Adrian Brock

    JVM_Bind error / http://localhost:8080/jmx-console not worki

    jblanton Newbie

      I downloaded jboss-3.2.1.zip and extracted it onto my pc. I already have Oracle 9iAS loaded on my machine, but I shutdown all the services for it. Or at least I think I did. Because when I run run.bat through DOS. I get the following error:

      2003-05-19 08:20:52,625 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/E:/JBoss/jboss-3.2.1/server/default/deploy/http-invoker.sar/invoker.war/
      2003-05-19 08:20:52,640 INFO [org.jboss.jbossweb] Starting Jetty/4.2.9
      2003-05-19 08:20:52,656 INFO [org.jboss.jbossweb] Started org.mortbay.http.NCSARequestLog@47e2da
      2003-05-19 08:20:52,656 WARN [org.jboss.jbossweb] WARNING: Failed to start: SocketListener@0.0.0.0:8080
      2003-05-19 08:20:52,671 INFO [org.jboss.jbossweb] Started AJP13Listener on 0.0.0.0:8009
      2003-05-19 08:20:52,687 INFO [org.jboss.jbossweb] NOTICE: AJP13 is not a secure protocol. Please protect the port 0.0.0.0:8009
      2003-05-19 08:20:52,687 ERROR [org.jboss.jetty.JettyService] multiple exceptions...
      2003-05-19 08:20:52,687 ERROR [org.jboss.jetty.JettyService] exception
      java.net.BindException: Address in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
      at java.net.ServerSocket.(ServerSocket.java:165)
      at org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:317)
      at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:389)
      at org.mortbay.http.SocketListener.start(SocketListener.java:153)
      at org.mortbay.http.HttpServer.start(HttpServer.java:655)
      at org.jboss.jetty.JettyService.startService(JettyService.java:175)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      at $Proxy11.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:479)
      2003-05-19 08:20:52,703 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.AttributeChangeNotification: source=jboss.web:service=WebServer seq-no=5 time=1053357652703 message=JBossWeb started attributeName=State attributeType=java.lang.Integer oldValue=2 newValue=3 notificationType=jmx.attribute.change userData=null
      2003-05-19 08:20:52,703 INFO [org.jboss.jetty.JettyService] Started
      2003-05-19 08:20:52,703 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web:service=WebServer dependent components: []

      After this, I am not able to access the http://localhost:8080/jmx-console.

      Is it possible that this port is already dedicated to something? I have not reached the jmx-console yet.

      Thanks,