mavenintellij-ideawildflymaven-pluginstartup

Wildfly 23 starts... but then blocks because of startup timeout


It seems to start correctly

17:44:17,093 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
17:44:17,201 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8180
17:44:17,202 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8543
17:44:17,456 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory C:\Users\ActionICT-Motti\IdeaProjects\DocumentsStorage_v1\target\server\standalone\deployments
17:44:17,522 INFO  [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
17:44:17,779 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
17:44:17,808 INFO  [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBossWS 7.0.0.Final (Apache CXF 4.0.0) 
17:44:17,961 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
17:44:17,968 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:10090/management
17:44:17,968 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:10090
17:44:17,971 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 30.0.0.Final (WildFly Core 22.0.1.Final) started in 8592ms - Started 280 of 522 services (317 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml

But when the startup timeout finishes, I have

enter image description here

What is the problem? Thanks.

EDIT: I'm managing it with wildfly-maven-plugin.

<plugin>
            <groupId>org.wildfly.plugins</groupId>
            <artifactId>wildfly-maven-plugin</artifactId>
            <version>4.0.0.Final</version>
            <configuration>
                <!--
                     In produzione c'e' JBoss EAP 6.3 => JBoss AS 7.4.0.Final
                     ma tale release non e' disponibile nei repo Maven
                     quindi usiamo la versione piu' simile disponibile
                  -->
                <version>23.0.0.Final</version>
                <javaOpts>
                    -Xms64m
                    <!--                        -Xmx512m-->
                    <!--                        -XX:MaxMetaspaceSize=256m-->
                    -Djava.net.preferIPv4Stack=true
                    -Dorg.jboss.resolver.warning=true
                    -Dsun.rmi.dgc.client.gcInterval=3600000
                    -Dsun.rmi.dgc.server.gcInterval=3600000
                    -Djboss.socket.binding.port-offset=100
                    -Djboss.server.config.dir=${project.build.testOutputDirectory}/configuration
                    <!--                        ${jacocoAgent}-->
                    <!--                        &lt;!&ndash;per eseguire il debug remoto rimuovere il commento dalla riga sottostante-->
                    <!--                            -Xrunjdwp:transport=dt_socket,address=33333,server=y,suspend=y-->
                </javaOpts>
                <port>10090</port>
            </configuration>

Solution

  • I have resolved running wildfly:run or wildfly:deploy maven task, that correctly logged the error.