Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

JBoss problemas portas e inicialização

Bem parece que cada um tem um problema com esse server... Tentei usar o JBoss 7.1 com JDK1.8 depois tentei com o 1.7 e nada. Daí tentei o WildFly 10, 12 com o 1.8 etc e me dá duas opções na hora de Run: Server alrealdy running on localhost An aplication server may alrealdy running on host localhost ...web poller found a running at url http://localhost:8080 would ou like to: -set the server adapter to started, without lauching a new server. -launch a new instance anyway Eu estou com o tomcat stopped syncronyzed. Escolhendo a segunda opção de nova instancia ele dá no console:

23:37:27,240 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
23:37:27,260 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("core-service" => "management"),
    ("management-interface" => "http-interface")
]) - failure description: {
    "WFLYCTL0080: Failed services" => {"org.wildfly.management.http.extensible" => "java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990"},
    "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
        "Services that were unable to start:" => ["org.wildfly.management.http.extensible.shutdown"],
        "Services that may be the cause:" => ["jboss.web.common.server"]
    }
}
23:37:27,266 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "undertow"),
    ("server" => "default-server"),
    ("http-listener" => "default")
]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.undertow.listener.default" => "Address already in use: bind localhost/127.0.0.1:8080"}}
23:37:27,267 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "webservices")]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.web.common.server"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.ws.config is missing [jboss.web.common.server]"]
}
23:37:27,269 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("core-service" => "management"),
    ("management-interface" => "http-interface")
]) - failure description: {
    "WFLYCTL0080: Failed services" => {"org.wildfly.management.http.extensible" => "java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990"},
    "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
        "Services that were unable to start:" => ["org.wildfly.management.http.extensible.shutdown"],
        "Services that may be the cause:" => ["jboss.web.common.server"]
    }
}
23:37:27,291 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTPS listener https suspending
23:37:27,292 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
23:37:27,338 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
23:37:27,399 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
23:37:27,406 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
23:37:27,480 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0019: Host default-host stopping
23:37:27,482 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0004: Undertow 2.0.0.Final stopping
23:37:27,666 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
23:37:27,708 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Full 12.0.0.Final (WildFly Core 4.0.0.Final) stopped in 23ms
2 respostas
solução!

Solução: não adianta alterar apenas uma porta pois todas estão "batendo" então a solução é abrir o XMLConfiguration e em :

    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

alterar de 0 para outro numero qualquer, 10 por exemplo e todas as portas vão ser acrescidas. Resolvido no meu caso. Achei que o tomcat estando fora não ocuparia a porta, mas... no caso devem existir outros serviços chocando com as outras portas também.

Cada hora um problema... to desistindo!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software