0 Replies Latest reply on Apr 2, 2016 1:16 PM by Kevin Olom

    Can't start wildfly (standalone.bat)

    Kevin Olom Newbie

      I added a user with add-user.bat.

       

      Now I try to start it with standalone.bat but I get the following error:

       

      c:\wildfly-10.0.0.Final\bin>standalone.bat Calling "c:\wildfly-10.0.0.Final\bin\standalone.conf.bat" Setting JAVA property to "C:\Program Files (x86)\Java\jdk1.8.0_73\bin\java" ===============================================================================   JBoss Bootstrap Environment   JBOSS_HOME: "c:\wildfly-10.0.0.Final"   JAVA: "C:\Program Files (x86)\Java\jdk1.8.0_73\bin\java"   JAVA_OPTS: "-client -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:Metaspa ceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.mod ules.system.pkgs=org.jboss.byteman" =============================================================================== 19:03:22,550 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final 19:03:22,893 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final 19:03:23,002 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting 19:03:24,204 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: C reating http management service using socket-binding (management-http) 19:03:24,219 INFO  [org.xnio] (MSC service thread 1-5) XNIO version 3.3.4.Final 19:03:24,219 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementati on Version 3.3.4.Final 19:03:24,250 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Po ol -- 38) WFLYCLINF0001: Activating Infinispan subsystem. 19:03:24,266 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX00 13: Node identifier property is set to the default value. Please make sure it is unique. 19:03:24,266 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFL YSEC0002: Activating Security Subsystem 19:03:24,282 INFO  [org.jboss.as.security] (MSC service thread 1-7) WFLYSEC0001: Current PicketBox version=4.9.4.Final 19:03:24,313 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension 19:03:24,313 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task t hreads based on your 4 available processors 19:03:24,313 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYN AM0001: Activating Naming Subsystem 19:03:24,313 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0 007: Activated the following JSF Implementations: [main] 19:03:24,328 INFO  [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009 : Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final) 19:03:24,360 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 4.0.18.Final 19:03:24,375 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFL YUT0003: Undertow 1.3.15.Final starting 19:03:24,375 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool - - 55) WFLYUT0003: Undertow 1.3.15.Final starting 19:03:24,406 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerServic e Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.D river (version 1.3) 19:03:24,422 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1 -4) WFLYJCA0018: Started Driver service with driver-name = h2 19:03:24,469 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) WFLYMA IL0001: Bound mail session [java:jboss/mail/Default] 19:03:24,484 INFO  [org.jboss.as.naming] (MSC service thread 1-6) WFLYNAM0003: S tarting Naming Service 19:03:24,531 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool - - 55) WFLYUT0014: Creating file handler for path 'c:\wildfly-10.0.0.Final/welcom e-content' with options [directory-listing: 'false', follow-symlink: 'false', ca se-sensitive: 'true', safe-symlink-paths: '[]'] 19:03:24,547 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFL YUT0012: Started server default-server. 19:03:24,547 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFL YUT0018: Host default-host starting 19:03:24,547 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Str ict pool mdb-strict-max-pool is using a max instance size of 16 (per class), whi ch is derived from the number of CPUs on this host. 19:03:24,547 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Str ict pool slsb-strict-max-pool is using a max instance size of 64 (per class), wh ich is derived from thread worker pool sizing. 19:03:24,640 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC0000 01: Failed to start service jboss.undertow.listener.default: org.jboss.msc.servi ce.StartException in service jboss.undertow.listener.default: Could not start ht tp listener         at org.wildfly.extension.undertow.ListenerService.start(ListenerService. java:142)         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1948)         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1881)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1142)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:617)         at java.lang.Thread.run(Thread.java:745) Caused by: java.net.BindException: Address already in use: bind         at sun.nio.ch.Net.bind0(Native Method)         at sun.nio.ch.Net.bind(Net.java:433)         at sun.nio.ch.Net.bind(Net.java:425)         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java: 223)         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)         at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.ja va:190)         at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)         at org.wildfly.extension.undertow.HttpListenerService.startListening(Htt pListenerService.java:126)         at org.wildfly.extension.undertow.ListenerService.start(ListenerService. java:138)         ... 5 more 19:03:24,765 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) WFLYDS0013: Started FileSystemDeploymentService for directory c:\wildfly-10 .0.0.Final\standalone\deployments 19:03:24,796 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 19:03:25,030 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC servi ce thread 1-6) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final 19:03:25,030 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC servi ce thread 1-3) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final 19:03:25,030 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC servi ce thread 1-5) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final 19:03:25,046 ERROR [org.jboss.as.controller.management-operation] (Controller Bo ot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "w ebservices")]) - failure description: {"WFLYCTL0288: One or more services were u nable to start due to one or more indirect dependencies not being available." => {     "Services that were unable to start:" => ["jboss.ws.config"],     "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoS ervice.http-remoting-connector"] }} 19:03:25,046 ERROR [org.jboss.as.controller.management-operation] (Controller Bo ot Thread) WFLYCTL0013: Operation ("add") failed - address: ([     ("subsystem" => "undertow"),     ("server" => "default-server"),     ("http-listener" => "default") ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.li stener.default" => "org.jboss.msc.service.StartException in service jboss.undert ow.listener.default: Could not start http listener     Caused by: java.net.BindException: Address already in use: bind"}} 19:03:25,046 ERROR [org.jboss.as.controller.management-operation] (Controller Bo ot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "e jb3")]) - failure description: {"WFLYCTL0288: One or more services were unable t o start due to one or more indirect dependencies not being available." => {     "Services that were unable to start:" => [         "jboss.ejb.default-local-ejb-receiver-service",         "jboss.ejb3.ejbClientContext.default",         "jboss.ejb3.localEjbReceiver.value"     ],     "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoS ervice.http-remoting-connector"] }} 19:03:25,046 ERROR [org.jboss.as.controller.management-operation] (Controller Bo ot Thread) WFLYCTL0013: Operation ("add") failed - address: ([     ("subsystem" => "ejb3"),     ("service" => "remote") ]) - failure description: {"WFLYCTL0180: Services with missing/unavailable depen dencies" => ["jboss.ejb3.connector is missing [jboss.remoting.remotingConnectorI nfoService.http-remoting-connector]"]} 19:03:25,077 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL018 3: Service status report WFLYCTL0184:    New missing/unsatisfied dependencies:       service jboss.remoting.remotingConnectorInfoService.http-remoting-connecto r (missing) dependents: [service jboss.ejb3.connector] WFLYCTL0186:   Services which failed to start:      service jboss.undertow.liste ner.default: org.jboss.msc.service.StartException in service jboss.undertow.list ener.default: Could not start http listener 19:03:25,186 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http man agement interface listening on http://127.0.0.1:9990/management 19:03:25,186 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin co nsole listening on http://127.0.0.1:9990 19:03:25,186 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 2979ms - Started 256 of 551 services (6 services failed or missing dependencies, 371 serv ices are lazy, passive or on-demand)

       

      I don't know if some other applications may cause the error?

      I have apache tomcat running, oracle sql, mysql,...

       

      Kind regards