1 Reply Latest reply on Jan 24, 2014 3:28 PM by Wolf-Dieter Fink

    Cant Start JBOSS 7

    Hans Maier Newbie

      Hello i installed the jboss 7 server on my windows 7 64 bit system, but if i want it to start, I get an error, following error:

       

      server.log:

       

      20:56:32,614 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      20:56:32,623 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem

      20:56:32,620 INFO  [org.jboss.as.connector] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      20:56:32,639 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem

      20:56:32,642 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final

      20:56:32,644 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

      20:56:32,647 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem

      20:56:32,687 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem

      20:56:32,846 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      20:56:32,884 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

      20:56:32,944 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-6) JBoss Web Services - Stack CXF Server 4.0.2.GA

      20:56:33,021 INFO  [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service

      20:56:33,024 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]

      20:56:33,228 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:4447

      20:56:33,228 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) JBAS015012: Started FileSystemDeploymentService for directory E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\deployments

      20:56:33,232 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:9999

      20:56:33,238 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      20:56:33,237 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) 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_21]

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

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

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

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

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

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

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

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

        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)

        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

       

       

      20:56:33,483 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

       

       

      20:56:33,591 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled

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

       

      boot.log :

       

      20:56:31,466 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      20:56:31,674 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      20:56:31,714 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      20:56:31,716 DEBUG [org.jboss.as.config] Configured system properties:

        awt.toolkit = sun.awt.windows.WToolkit

        file.encoding = Cp1252

        file.encoding.pkg = sun.io

        file.separator = \

        java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment

        java.awt.printerjob = sun.awt.windows.WPrinterJob

        java.class.path = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\jboss-modules.jar

        java.class.version = 51.0

        java.endorsed.dirs = C:\Program Files\Java\jdk1.7.0_21\jre\lib\endorsed

        java.ext.dirs = C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext;C:\Windows\Sun\Java\lib\ext

        java.home = C:\Program Files\Java\jdk1.7.0_21\jre

        java.io.tmpdir = C:\Users\XXXX\AppData\Local\Temp\

        java.library.path = C:\Program Files\Java\jdk1.7.0_21\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Calibre2\;C:\Program Files\Java\jdk1.7.0_21\bin;E:\apache-maven-3.0.5-bin\apache-maven-3.0.5\bin;E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin;.

        java.net.preferIPv4Stack = true

        java.runtime.name = Java(TM) SE Runtime Environment

        java.runtime.version = 1.7.0_21-b11

        java.specification.name = Java Platform API Specification

        java.specification.vendor = Oracle Corporation

        java.specification.version = 1.7

        java.util.logging.manager = org.jboss.logmanager.LogManager

        java.vendor = Oracle Corporation

        java.vendor.url = http://java.oracle.com/

        java.vendor.url.bug = http://bugreport.sun.com/bugreport/

        java.version = 1.7.0_21

        java.vm.info = mixed mode

        java.vm.name = Java HotSpot(TM) 64-Bit Server VM

        java.vm.specification.name = Java Virtual Machine Specification

        java.vm.specification.vendor = Oracle Corporation

        java.vm.specification.version = 1.7

        java.vm.vendor = Oracle Corporation

        java.vm.version = 23.21-b01

        javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder

        javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory

        javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory

        javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory

        javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory

        javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory

        javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory

        javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory

        javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory

        javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory

        jboss.home.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final

        jboss.host.name = gsemiz-pc

        jboss.modules.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\modules

        jboss.modules.system.pkgs = org.jboss.byteman

        jboss.node.name = gsemiz-pc

        jboss.qualified.host.name = gsemiz-pc

        jboss.server.base.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone

        jboss.server.config.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\configuration

        jboss.server.data.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\data

        jboss.server.default.config = standalone.xml

        jboss.server.deploy.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\data\content

        jboss.server.log.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\log

        jboss.server.name = gsemiz-pc

        jboss.server.temp.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\tmp

        line.separator =

       

       

        logging.configuration = file:E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone/configuration/logging.properties

        module.path = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\modules

        org.jboss.boot.log.file = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\log\boot.log

        org.jboss.resolver.warning = true

        org.xml.sax.driver = __redirected.__XMLReaderFactory

        os.arch = amd64

        os.name = Windows 7

        os.version = 6.1

        path.separator = ;

        program.name = standalone.bat

        sun.arch.data.model = 64

        sun.boot.class.path = C:\Program Files\Java\jdk1.7.0_21\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_21\jre\classes

        sun.boot.library.path = C:\Program Files\Java\jdk1.7.0_21\jre\bin

        sun.cpu.endian = little

        sun.cpu.isalist = amd64

        sun.desktop = windows

        sun.io.unicode.encoding = UnicodeLittle

        sun.java.command = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\jboss-modules.jar -mp E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final

        sun.java.launcher = SUN_STANDARD

        sun.jnu.encoding = Cp1252

        sun.management.compiler = HotSpot 64-Bit Tiered Compilers

        sun.os.patch.level = Service Pack 1

        sun.rmi.dgc.client.gcInterval = 3600000

        sun.rmi.dgc.server.gcInterval = 3600000

        user.country = DE

        user.dir = E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin

        user.home = C:\Users\XXX

        user.language = de

        user.name = XXX

        user.script =

        user.timezone = Europe/Berlin

        user.variant =

      20:56:31,732 DEBUG [org.jboss.as.config] VM Arguments: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml -Dorg.jboss.boot.log.file=E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\log\boot.log -Dlogging.configuration=file:E:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone/configuration/logging.properties

      20:56:32,551 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      20:56:32,561 INFO  [org.xnio] XNIO Version 3.0.3.GA

      20:56:32,570 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

       

       

      I  hope you can help me   Thanks!

      20:56:32,579 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      20:56:32,591 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

        • 1. Re: Cant Start JBOSS 7
          Wolf-Dieter Fink Master

          Looks like you have a process listening on port 9990 localhost interface.

           

          Maybe it is another JBoss instance which is started or not correct shutdown.

          You may restart Windows or use -Djboss.socket.binding.port-offset=100 for a test, this will add 100 to each port.