2 Replies Latest reply on Oct 24, 2018 4:20 PM by Robert Niestroj

    WildFly 14 - slow start because of determining order of .jar's in .war

    Robert Niestroj Newbie

      After migrating from WildFly 8.2.0 to WildFly 14.0.0 i see a big pause in startup. The pauses depends by application. Applications are packaged as WARs.

      Here it is 11 seconds. In other apps it's over 20 seconds depending on dev machine. WildFly (Undertow) tries to determine the order of jar's used in the war.

      Why does he do that and how can this be sped up? or is this a bug in WFLY?

       

      2018-10-19 22:19:24,067 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

      2018-10-19 22:19:24,088 DEBUG [org.wildfly.extension.undertow] (MSC service thread 1-6) Starting console redirect for default-host

      2018-10-19 22:19:35,367 DEBUG [org.wildfly.extension.undertow] (MSC service thread 1-2) Resolved order: [ spring-data-commons-1.13.15.RELEASE.jar wicket-select2-2.3.jar commons-math3-3.6.1.jar commons-beanutils-1.9.2.jar javax.mail-1.5.6.jar javax.annotation-api-1.3.2.jar wicket-util-7.10.0.jar commons-validator-1.6.jar wicketWebComponents-1.8-SNAPSHOT.jar commons-io-2.6.jar commons-email-1.5.jar poi-3.17.jar ExcelReports-1.8.1.jar spring-aop-4.3.19.RELEASE.jar commons-collections4-4.2.jar log4j-1.2.17.jar spring-beans-4.3.14.RELEASE.jar xercesImpl-2.12.0.jar hibernate-jpa-2.1-api-1.0.0.Final.jar MailSender-1.8.2.jar poi-ooxml-3.17.jar gson-2.8.0.jar jackson-databind-2.9.4.jar json-20090211.jar spring-tx-4.3.14.RELEASE.jar wicket-extensions-7.10.0.jar spring-data-redis-1.8.10.RELEASE.jar slf4j-api-1.7.21.jar poi-ooxml-schemas-3.17.jar commons-text-1.4.jar javax.inject-1.jar jackson-core-2.9.4.jar HikariCP-3.2.0.jar commons-fileupload-1.3.2.jar EDBUserInfo-1.1.jar jrobin-1.5.9.jar system-parameters-1.7.2-SNAPSHOT.jar spring-jdbc-4.3.14.RELEASE.jar multitenancy-1.0.0.jar spring-expression-4.3.14.RELEASE.jar spring-data-jpa-1.11.15.RELEASE.jar spring-context-4.3.14.RELEASE.jar cglib-nodep-3.1.jar wicket-spring-7.10.0.jar activation-1.1.jar commons-codec-1.10.jar commons-vfs2-2.2.jar wicket-core-7.10.0.jar spring-data-keyvalue-1.2.10.RELEASE.jar commons-collections-3.2.2.jar flyway-core-4.0.jar jcl-over-slf4j-1.7.25.jar commons-pool2-2.4.2.jar alifibad-client-1.7.1.jar spring-orm-4.3.14.RELEASE.jar asm-4.2.jar spring-core-4.3.14.RELEASE.jar slf4j-log4j12-1.7.25.jar wicket-ioc-7.10.0.jar curvesapi-1.04.jar commons-net-3.5.jar hello-service-1.7.3-SNAPSHOT.jar aspectjrt-1.8.13.jar xml-apis-1.4.01.jar wicket-request-7.10.0.jar statistics-1.8.1.jar xmlbeans-2.6.0.jar jackson-annotations-2.9.0.jar cas-client-core-3.4.1.jar wicket-devutils-7.10.0.jar spring-context-support-4.3.14.RELEASE.jar commons-logging-1.2.jar ucore-1.8.4.jar commons-lang3-3.8.1.jar stax-api-1.0.1.jar jedis-2.9.0.jar asm-tree-5.0.3.jar sso-service-1.8.2.jar spring-oxm-4.3.14.RELEASE.jar jaxrs-api-3.0.12.Final.jar licensing-1.8.2.jar commons-digester-1.8.1.jar docker-secrets-0.2.0.jar asm-util-5.0.3.jar javamelody-core-1.74.0.jar spring-web-4.3.14.RELEASE.jar ]

      2018-10-19 22:19:35,536 DEBUG [org.jboss.weld.deployer] (MSC service thread 1-2) Found beans.xml: "/C:/Java/wildfly-14.0.0.Final/bin/content/BDOS_podmioty.war/WEB-INF/lib/javamelody-core-1.74.0.jar/META-INF/beans.xml"