3 Replies Latest reply on Apr 13, 2016 7:02 PM by Marco Bellaiuto

    jboss starts with errors (and Admin console is not enabled)

    Marco Bellaiuto Newbie

      hi all,

      sorry if i'm writing to this developer forum but i'm trying to write an application by months and i need to resolve this issue.

       

      i'm on windows 10 x64

      JBoss AS 7.1.1.Final       AS Certified Java EE 6 Full Profile       2012-03-09

       

      when my server starts, it returns this:

       

      Calling "D:\Servers\jboss-as-7.1.1.Final\bin\standalone.conf.bat"

      "JAVA_OPTS already set in environment; overriding default settings with values: -Xms128m -Xmx512m -XX:MaxPermSize=256m"

      ===============================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: D:\Servers\jboss-as-7.1.1.Final

       

       

        JAVA: D:\Program Files\Java\jdk1.7.0_79\bin\java

       

       

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m

       

       

      ===============================================================================

       

       

      21:25:20,620 INFORMAZIONI [org.jboss.modules] JBoss Modules version 1.1.1.GA

      21:25:21,459 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      21:25:21,503 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      21:25:23,446 INFO  [org.xnio] XNIO Version 3.0.3.GA

      21:25:23,446 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      21:25:23,453 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      21:25:23,458 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      21:25:23,476 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      21:25:23,480 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem

      21:25:23,484 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      21:25:23,496 INFO  [org.jboss.as.connector] (MSC service thread 1-5) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      21:25:23,504 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem

      21:25:23,504 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem

      21:25:23,511 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

      21:25:23,511 INFO  [org.jboss.as.security] (MSC service thread 1-8) JBAS013100: Current PicketBox version=4.0.7.Final

      21:25:23,516 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem

      21:25:23,570 INFO  [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service

      21:25:23,572 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-5) JBAS015400: Bound mail session [java:jboss/mail/Default]

      21:25:23,624 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      21:25:23,716 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-14) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

      21:25:23,932 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      21:25:24,543 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-10) JBoss Web Services - Stack CXF Server 4.0.2.GA

      21:25:24,749 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-13) JBAS015012: Started FileSystemDeploymentService for directory D:\Servers\jboss-as-7.1.1.Final\standalone\deployments

      21:25:24,770 INFO  [org.jboss.as.remoting] (MSC service thread 1-12) JBAS017100: Listening on /127.0.0.1:9999

      21:25:24,770 INFO  [org.jboss.as.remoting] (MSC service thread 1-15) JBAS017100: Listening on /127.0.0.1:4447

      21:25:24,781 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-10) 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:9990

        at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:210) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

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

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

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]

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

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

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

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

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

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

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

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

        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:145) [jboss-as-domain-http-interface-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:177) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        ... 5 more

       

       

      21:25:25,006 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014777:   Services which 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:9990

       

       

      21:25:25,038 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled

      21:25:25,039 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 4860ms - Started 131 of 208 services (2 services failed or missing dependencies, 74 services are passive or on-demand)

       

      how i can fix?