2 Replies Latest reply on Apr 7, 2017 8:28 AM by Jan Šuštar

    Wildfly won't start

    Jan Šuštar Newbie

      Hi,

       

      I have HP-UX machine and when I try to start “Standalone” server with default configuration, I get an error:

       

      ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Can't assign requested address (errno:227) /127.0.0.1:8080

       

      This is system configuration:

      DEBUG [org.jboss.as.config] (MSC service thread 1-7) Configured system properties:

                      [Standalone] =

                      awt.toolkit = sun.awt.X11.XToolkit

                      file.encoding = 8859_1

                      file.encoding.pkg = sun.io

                      file.separator = /

                      hp.UseXOpenSockets = true

                      java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment

                      java.awt.headless = true

                      java.awt.printerjob = sun.print.PSPrinterJob

                      java.class.path = /var/tmp/wildfly-10.1.0.Final/jboss-modules.jar

                      java.class.version = 52.0

                      java.endorsed.dirs = /opt/java8/jre/lib/endorsed

                      java.ext.dirs = /opt/java8/jre/lib/ext

                      java.home = /opt/java8/jre

                      java.io.tmpdir = /var/tmp/

                      java.library.path = /opt/java1.5/jre/lib/IA64N:/opt/java1.5/jre/lib/IA64N/hotspot:/opt/java1.5/jre/lib/IA64N/native_threads:/va01/slm/shlib:/usr/lib

                      java.net.preferIPv4Stack = true

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

                      java.runtime.version = 1.8.0.08-hp-ux-b1

                      java.specification.name = Java Platform API Specification

                      java.specification.vendor = Oracle Corporation

                      java.specification.version = 1.8

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

                      java.vendor = Hewlett Packard Enterprise

                      java.vendor.url = http://www.hp.com/go/Java

                      java.vendor.url.bug = http://www.hp.com/go/Java

                      java.version = 1.8.0.08-hp-ux

                      java.vm.info = mixed mode

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

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

                      java.vm.specification.vendor = Oracle Corporation

                      java.vm.specification.version = 1.8

                      java.vm.vendor = Hewlett-Packard Company

                      java.vm.version = 25.08-b1

                      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 = /var/tmp/wildfly-10.1.0.Final

                      jboss.host.name = testmach

                      jboss.modules.dir = /var/tmp/wildfly-10.1.0.Final/modules

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

                      jboss.node.name = testmach

                      jboss.qualified.host.name = testmach.xx.yy.com

                      jboss.server.base.dir = /var/tmp/wildfly-10.1.0.Final/standalone

                      jboss.server.config.dir = /var/tmp/wildfly-10.1.0.Final/standalone/configuration

                      jboss.server.data.dir = /var/tmp/wildfly-10.1.0.Final/standalone/data

                      jboss.server.deploy.dir = /var/tmp/wildfly-10.1.0.Final/standalone/data/content

                      jboss.server.log.dir = /var/tmp/wildfly-10.1.0.Final/standalone/log

                      jboss.server.name = testmach

                      jboss.server.persist.config = true

                      jboss.server.temp.dir = /var/tmp/wildfly-10.1.0.Final/standalone/tmp

                      line.separator =

       

                      logging.configuration = file:/var/tmp/wildfly-10.1.0.Final/standalone/configuration/logging.properties

                      module.path = /var/tmp/wildfly-10.1.0.Final/modules

                      org.jboss.boot.log.file = /var/tmp/wildfly-10.1.0.Final/standalone/log/server.log

                      org.jboss.resolver.warning = true

                      org.xml.sax.driver = __redirected.__XMLReaderFactory

                      os.arch = IA64N

                      os.name = HP-UX

                      os.version = B.11.31

                      path.separator = :

                      sun.arch.data.model = 32

                      sun.boot.class.path = /opt/java8/jre/lib/resources.jar:/opt/java8/jre/lib/rt.jar:/opt/java8/jre/lib/sunrsasign.jar:/opt/java8/jre/lib/jsse.jar:/opt/java8/jre/lib/jce.jar:/opt/java8/jre/lib/charsets.jar:/opt/java8/jre/lib/jfr.jar:/opt/java8/jre/classes

                      sun.boot.library.path = /opt/java8/jre/lib/IA64N

                      sun.cpu.endian = big

                      sun.cpu.isalist = ia64r0

                      sun.io.unicode.encoding = UnicodeBig

                      sun.java.command = /var/tmp/wildfly-10.1.0.Final/jboss-modules.jar -mp /var/tmp/wildfly-10.1.0.Final/modules org.jboss.as.standalone -Djboss.home.dir=/var/tmp/wildfly-10.1.0.Final -Djboss.server.base.dir=/var/tmp/wildfly-10.1.0.Final/standalone

                      sun.java.launcher = SUN_STANDARD

                      sun.java2d.fontpath =

                      sun.jnu.encoding = 8859_1

                      sun.management.compiler = HotSpot Server Compiler

                      sun.os.patch.level = unknown

                      user.dir = /var/tmp/wildfly-10.1.0.Final/bin

                      user.home = /

                      user.language = en

                      user.name = root

                      user.timezone = America/Chicago

      DEBUG [org.jboss.as.config] (MSC service thread 1-7) VM Arguments: -D[Standalone] -verbose -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/var/tmp/wildfly-10.1.0.Final/standalone/log/server.log -Dlogging.configuration=file:/var/tmp/wildfly-10.1.0.Final/standalone/configuration/logging.properties

       

      At first I thought that ports 8080, 9990, 8443 are taken by some other process and run “netstat” and saw that ports are available.

       

      Someone encountered same problem?

      Can someone help me?

       

      Thank you.

       

      Regards,

      Jan