ninjaframework / ninja

Ninja is a full stack web framework for Java. Rock solid, fast and super productive.
http://www.ninjaframework.org
Apache License 2.0
1.91k stars 519 forks source link

Issue with deployed WAR : Application seems run twice #735

Closed thibaultmeyer closed 2 years ago

thibaultmeyer commented 2 years ago

When I start the application on Tomcat 8 (and 9), by consulting the logs I notice that the application is started twice.

I have the same problem with "mvn jetty:run".

A job scheduled to run every 15 seconds is run from 2 thread...

EDIT: After investigation, "Bootstrap.java" (from Ninja) is run twice too.

19:58:18.239 [pool-1-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
19:58:18.548 [pool-2-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
19:58:33.248 [pool-1-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
19:58:33.556 [pool-2-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
@Singleton
public class CleanOldPeerJob {

    private static final Logger LOGGER = LoggerFactory.getLogger(CleanOldPeerJob.class);

    @Schedule(delay = 15, initialDelay = 5, timeUnit = TimeUnit.SECONDS)
    public void cleanOldPeer() {
        LOGGER.info("Trigger CleanOldPeerJob");
    }
}
@Singleton
public class Module extends AbstractModule {

    private final NinjaProperties ninjaProperties;

    @Inject
    public Module(final NinjaProperties ninjaProperties) {
        this.ninjaProperties = ninjaProperties;
    }

    protected void configure() {
        // Database
        install(new JpaModule(ninjaProperties));
        install(new MigrationClassicModule());

        // Job
        bind(CleanOldPeerJob.class);

        // Markdown
        install(new MarkdownModule());
    }
}
16-Jan-2022 19:58:03.108 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/9.0.56
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Dec 2 2021 14:30:07 UTC
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.56.0
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.292-1\jre
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_292-b10
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            ojdkbuild
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\thiba\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\b757a02c-1c86-4030-905a-7ab98d77ae83
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\apache-tomcat-9.0.56
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\thiba\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\b757a02c-1c86-4030-905a-7ab98d77ae83\conf\logging.properties
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
16-Jan-2022 19:58:03.109 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:56991,suspend=y,server=n
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -javaagent:C:\Users\thiba\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\213.6461.79\plugins\java\lib\rt\debugger-agent.jar
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dninja.mode=prod
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\thiba\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\b757a02c-1c86-4030-905a-7ab98d77ae83\jmxremote.password
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\thiba\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\b757a02c-1c86-4030-905a-7ab98d77ae83\jmxremote.access
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\thiba\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\b757a02c-1c86-4030-905a-7ab98d77ae83
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\apache-tomcat-9.0.56
16-Jan-2022 19:58:03.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\apache-tomcat-9.0.56\temp
16-Jan-2022 19:58:03.119 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.292-1\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Python38\Scripts\;C:\Python38\;C:\Program Files (x86)\Razer\ChromaBroadcast\bin;C:\Program Files\Razer\ChromaBroadcast\bin;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Python27\;C:\Python27\Scripts;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Maven\bin;C:\Program Files\dotnet\;C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.191-1\bin;C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.191-1\webstart\;C:\Program Files\ojdkbuild\java-11-openjdk-11.0.1-1\missioncontrol\;C:\Users\thiba\AppData\Local\Microsoft\WindowsApps;C:\Users\thiba\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\nodejs;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\ojdkbuild\java-13-openjdk-13.0.3-1\bin;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\Pandoc\;C:\Program Files\GTK3-Runtime Win64\bin;C:\Program Files (x86)\dotnet\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.292-1\missioncontrol\;C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.292-1\webstart\;C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.292-1\bin;C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.292-1\jre\bin;C:\Program Files\Git\cmd;C:\Program Files\ojdkbuild\java-11-openjdk-11.0.12-1\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PuTTY\;C:\Users\thiba\.cargo\bin;C:\Users\thiba\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\thiba\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\thiba\.dotnet\tools;C:\Users\thiba\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\ffmpeg\bin;C:\Users\thiba\AppData\Roaming\npm;C:\Users\thiba\.dotnet\tools;C:\Users\thiba\.dotnet\tools;.]
16-Jan-2022 19:58:03.283 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
16-Jan-2022 19:58:03.301 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [325] milliseconds
16-Jan-2022 19:58:03.332 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
16-Jan-2022 19:58:03.332 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.56]
16-Jan-2022 19:58:03.340 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
16-Jan-2022 19:58:03.354 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [52] milliseconds
Connected to server
[2022-01-16 07:58:03,565] Artifact sparrow:war exploded: Artifact is being deployed, please wait…
16-Jan-2022 19:58:06.683 INFO [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19:58:07.032 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.servlet.NinjaServletListener - Using JSR-356 websocket container org.apache.tomcat.websocket.server.WsServerContainer@39c82cae
19:58:07.049 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.utils.NinjaModeHelper - Ninja is running in mode prod
19:58:07.140 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.Bootstrap - Successfully configured Logback.
19:58:07.144 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.Bootstrap - Enabling Ninja classic configuration
19:58:08.775 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.utils.SwissKnife - Could not load file conf/messages_en.properties (not a bad thing necessarily, but I am returing null)
19:58:08.775 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.i18n.MessagesImpl - Did not find conf/messages_en.properties but it was specified in application.conf. Using default language instead.
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - -------------------------------------------------------------------
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - Registered response template engines
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - -------------------------------------------------------------------
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - application/javascript  =>  ninja.template.TemplateEngineJsonP
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - application/json        =>  ninja.template.TemplateEngineJson
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - application/xml         =>  ninja.template.TemplateEngineXml
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - text/html               =>  ninja.template.TemplateEngineFreemarker
19:58:08.915 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - text/plain              =>  ninja.template.TemplateEngineText
19:58:08.935 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - -------------------------------------------------------------------------------------
19:58:08.935 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - Registered request bodyparser engines
19:58:08.935 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - -------------------------------------------------------------------------------------
19:58:08.935 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - application/json                   =>  ninja.bodyparser.BodyParserEngineJson
19:58:08.935 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - application/x-www-form-urlencoded  =>  ninja.bodyparser.BodyParserEnginePost
19:58:08.935 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - application/xml                    =>  ninja.bodyparser.BodyParserEngineXml
19:58:08.935 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - multipart/form-data                =>  ninja.bodyparser.BodyParserEngineMultipartPost
19:58:08.941 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.utils.CookieEncryption - Ninja session encryption is using AES / 256 bit.
19:58:08.944 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.Bootstrap - Ninja injector started in 1779 ms.
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - -----------------------------------------------------------------------
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - Registered routes
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - -----------------------------------------------------------------------
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /                               =>  controllers.ApplicationController::index
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /lang/{lang: .*}                =>  controllers.LanguageController::changeLanguage
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /tracker/announce               =>  controllers.TrackerController::announce
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /tracker/scrape                 =>  controllers.TrackerController::scrape
19:58:09.011 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /assets/webjars/{fileName: .*}  =>  ninja.AssetsController::serveWebJars
19:58:09.012 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /assets/{fileName: .*}          =>  ninja.AssetsController::serveStatic
19:58:09.012 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /favicon.ico                    =>  ninja.AssetsController::serveStatic
19:58:09.012 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.lifecycle.LifecycleServiceImpl - Starting Ninja application...
19:58:09.017 [RMI TCP Connection(3)-127.0.0.1] INFO  n.migrations.MigrationEngineProvider - Using ninja.migrations.flyway.MigrationEngineFlyway as default implementation for ninja.migrations.MigrationEngine
19:58:09.791 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.c.i.license.VersionPrinter - Flyway Community Edition 8.2.2 by Redgate
19:58:09.792 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:h2:c:/tmp/test (H2 2.0)
19:58:09.864 [RMI TCP Connection(3)-127.0.0.1] WARN  o.f.c.i.database.base.Database - Flyway upgrade recommended: H2 2.0.206 is newer than this version of Flyway and support has not been tested. The latest supported version of H2 is 2.0.202.
19:58:09.932 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.core.internal.command.DbValidate - Successfully validated 1 migration (execution time 00:00.042s)
19:58:09.944 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.core.internal.command.DbMigrate - Current version of schema "PUBLIC": 1.0.0.0
19:58:09.944 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.core.internal.command.DbMigrate - Schema "PUBLIC" is up to date. No migration necessary.
19:58:10.120 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: h2_test]
19:58:10.272 [RMI TCP Connection(3)-127.0.0.1] INFO  org.hibernate.Version - HHH000412: Hibernate ORM core version 5.6.3.Final
19:58:10.742 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
19:58:11.171 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.e.j.c.i.ConnectionProviderInitiator - HHH000130: Instantiating explicit connection provider: org.hibernate.c3p0.internal.C3P0ConnectionProvider
19:58:11.177 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH010002: C3P0 using driver: org.h2.Driver at URL: jdbc:h2:c:/tmp/test;MODE=PostgreSQL;DATABASE_TO_UPPER=TRUE;
19:58:11.177 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH10001001: Connection properties: {user=sa, password=****}
19:58:11.177 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH10001003: Autocommit mode: false
19:58:11.214 [MLog-Init-Reporter] INFO  com.mchange.v2.log.MLog - MLog clients using slf4j logging.
19:58:11.324 [RMI TCP Connection(3)-127.0.0.1] INFO  com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.5 [built 11-December-2019 22:18:33 -0800; debug? true; trace: 10]
19:58:11.379 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH10001007: JDBC isolation level: <unknown>
19:58:11.410 [RMI TCP Connection(3)-127.0.0.1] INFO  c.m.v.c.i.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@a0f182e6 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@8f186ddc [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, identityToken -> 1hgeby9amrterb7crzxb9|17f7fb0e, idleConnectionTestPeriod -> 300, initialPoolSize -> 1, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 100, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@4709263f [ description -> null, driverClass -> null, factoryClassLocation -> null, forceUseNamedDriverClass -> false, identityToken -> 1hgeby9amrterb7crzxb9|283adfa0, jdbcUrl -> jdbc:h2:c:/tmp/test;MODE=PostgreSQL;DATABASE_TO_UPPER=TRUE;, properties -> {user=******, password=******} ], preferredTestQuery -> null, privilegeSpawnedThreads -> false, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, extensions -> {}, factoryClassLocation -> null, identityToken -> 1hgeby9amrterb7crzxb9|2b045d94, numHelperThreads -> 3 ]
19:58:11.507 [RMI TCP Connection(3)-127.0.0.1] INFO  org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
19:58:12.265 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.validator.internal.util.Version - HV000001: Hibernate Validator 4.3.1.Final
19:58:13.207 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
19:58:13.238 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.scheduler.Scheduler - Scheduling method cleanOldPeer on jobs.CleanOldPeerJob@77b2f1d to be run every 15 SECONDS after 5 SECONDS
19:58:13.239 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.lifecycle.LifecycleServiceImpl - Ninja application started in 4227ms
19:58:13.242 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.servlet.NinjaServletListener - Using JSR-356 websocket container org.apache.tomcat.websocket.server.WsServerContainer@39c82cae
19:58:13.242 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.utils.NinjaModeHelper - Ninja is running in mode prod
19:58:13.245 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.Bootstrap - Successfully configured Logback.
19:58:13.245 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.Bootstrap - Enabling Ninja classic configuration
16-Jan-2022 19:58:13.309 WARNING [RMI TCP Connection(3)-127.0.0.1] com.google.inject.servlet.GuiceFilter.setPipeline Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web application. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected.
19:58:13.314 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.utils.SwissKnife - Could not load file conf/messages_en.properties (not a bad thing necessarily, but I am returing null)
19:58:13.314 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.i18n.MessagesImpl - Did not find conf/messages_en.properties but it was specified in application.conf. Using default language instead.
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - -------------------------------------------------------------------
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - Registered response template engines
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - -------------------------------------------------------------------
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - application/javascript  =>  ninja.template.TemplateEngineJsonP
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - application/json        =>  ninja.template.TemplateEngineJson
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - application/xml         =>  ninja.template.TemplateEngineXml
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - text/html               =>  ninja.template.TemplateEngineFreemarker
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.template.TemplateEngineManagerImpl - text/plain              =>  ninja.template.TemplateEngineText
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - -------------------------------------------------------------------------------------
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - Registered request bodyparser engines
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - -------------------------------------------------------------------------------------
19:58:13.317 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - application/json                   =>  ninja.bodyparser.BodyParserEngineJson
19:58:13.318 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - application/x-www-form-urlencoded  =>  ninja.bodyparser.BodyParserEnginePost
19:58:13.318 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - application/xml                    =>  ninja.bodyparser.BodyParserEngineXml
19:58:13.318 [RMI TCP Connection(3)-127.0.0.1] INFO  n.b.BodyParserEngineManagerImpl - multipart/form-data                =>  ninja.bodyparser.BodyParserEngineMultipartPost
19:58:13.318 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.utils.CookieEncryption - Ninja session encryption is using AES / 256 bit.
19:58:13.318 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.Bootstrap - Ninja injector started in 73 ms.
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - -----------------------------------------------------------------------
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - Registered routes
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - -----------------------------------------------------------------------
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /                               =>  controllers.ApplicationController::index
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /lang/{lang: .*}                =>  controllers.LanguageController::changeLanguage
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /tracker/announce               =>  controllers.TrackerController::announce
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /tracker/scrape                 =>  controllers.TrackerController::scrape
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /assets/webjars/{fileName: .*}  =>  ninja.AssetsController::serveWebJars
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /assets/{fileName: .*}          =>  ninja.AssetsController::serveStatic
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.RouterImpl - GET /favicon.ico                    =>  ninja.AssetsController::serveStatic
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.lifecycle.LifecycleServiceImpl - Starting Ninja application...
19:58:13.322 [RMI TCP Connection(3)-127.0.0.1] INFO  n.migrations.MigrationEngineProvider - Using ninja.migrations.flyway.MigrationEngineFlyway as default implementation for ninja.migrations.MigrationEngine
16-Jan-2022 19:58:13.344 INFO [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\apache-tomcat-9.0.56\webapps\host-manager]
19:58:13.360 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.c.i.license.VersionPrinter - Flyway Community Edition 8.2.2 by Redgate
19:58:13.360 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:h2:c:/tmp/test (H2 2.0)
19:58:13.362 [RMI TCP Connection(3)-127.0.0.1] WARN  o.f.c.i.database.base.Database - Flyway upgrade recommended: H2 2.0.206 is newer than this version of Flyway and support has not been tested. The latest supported version of H2 is 2.0.202.
19:58:13.365 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.core.internal.command.DbValidate - Successfully validated 1 migration (execution time 00:00.002s)
19:58:13.367 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.core.internal.command.DbMigrate - Current version of schema "PUBLIC": 1.0.0.0
19:58:13.367 [RMI TCP Connection(3)-127.0.0.1] INFO  o.f.core.internal.command.DbMigrate - Schema "PUBLIC" is up to date. No migration necessary.
19:58:13.371 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: h2_test]
19:58:13.400 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.e.j.c.i.ConnectionProviderInitiator - HHH000130: Instantiating explicit connection provider: org.hibernate.c3p0.internal.C3P0ConnectionProvider
19:58:13.400 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH010002: C3P0 using driver: org.h2.Driver at URL: jdbc:h2:c:/tmp/test;MODE=PostgreSQL;DATABASE_TO_UPPER=TRUE;
19:58:13.400 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH10001001: Connection properties: {user=sa, password=****}
19:58:13.401 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH10001003: Autocommit mode: false
16-Jan-2022 19:58:13.413 INFO [Catalina-utility-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Jan-2022 19:58:13.439 INFO [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\apache-tomcat-9.0.56\webapps\host-manager] has finished in [94] ms
16-Jan-2022 19:58:13.440 INFO [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\apache-tomcat-9.0.56\webapps\manager]
19:58:13.475 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.c.i.C3P0ConnectionProvider - HHH10001007: JDBC isolation level: <unknown>
19:58:13.476 [RMI TCP Connection(3)-127.0.0.1] INFO  c.m.v.c.i.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@73011463 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@e24d3b9c [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, identityToken -> 1hgeby9amrterb7crzxb9|21cd06d, idleConnectionTestPeriod -> 300, initialPoolSize -> 1, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 100, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@d9ec89e1 [ description -> null, driverClass -> null, factoryClassLocation -> null, forceUseNamedDriverClass -> false, identityToken -> 1hgeby9amrterb7crzxb9|4ed11dd6, jdbcUrl -> jdbc:h2:c:/tmp/test;MODE=PostgreSQL;DATABASE_TO_UPPER=TRUE;, properties -> {user=******, password=******} ], preferredTestQuery -> null, privilegeSpawnedThreads -> false, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, extensions -> {}, factoryClassLocation -> null, identityToken -> 1hgeby9amrterb7crzxb9|56885a2f, numHelperThreads -> 3 ]
19:58:13.478 [RMI TCP Connection(3)-127.0.0.1] INFO  org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
16-Jan-2022 19:58:13.527 INFO [Catalina-utility-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Jan-2022 19:58:13.529 INFO [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\apache-tomcat-9.0.56\webapps\manager] has finished in [89] ms
19:58:13.535 [RMI TCP Connection(3)-127.0.0.1] INFO  o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
19:58:13.535 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.scheduler.Scheduler - Scheduling method cleanOldPeer on jobs.CleanOldPeerJob@5a84358f to be run every 15 SECONDS after 5 SECONDS
19:58:13.536 [RMI TCP Connection(3)-127.0.0.1] INFO  ninja.lifecycle.LifecycleServiceImpl - Ninja application started in 214ms
[2022-01-16 07:58:13,548] Artifact sparrow:war exploded: Artifact is deployed successfully
[2022-01-16 07:58:13,548] Artifact sparrow:war exploded: Deploy took 9,983 milliseconds
19:58:18.239 [pool-1-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
19:58:18.548 [pool-2-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
19:58:33.248 [pool-1-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
19:58:33.556 [pool-2-thread-1] INFO  jobs.CleanOldPeerJob - Trigger CleanOldPeerJob
C:\apache-tomcat-9.0.56\bin\catalina.bat stop
Disconnected from the target VM, address: '127.0.0.1:56991', transport: 'socket'
16-Jan-2022 19:58:36.515 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
16-Jan-2022 19:58:36.515 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
16-Jan-2022 19:58:36.572 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
19:58:36.573 [main] INFO  ninja.lifecycle.LifecycleServiceImpl - Stopping Ninja application...
19:58:36.587 [main] INFO  ninja.lifecycle.LifecycleServiceImpl - Ninja application stopped in 14ms
thibaultmeyer commented 2 years ago

Got it,

For some reason I have to remove the listener from the web.xml file so that the application only starts once. Maybe a new feature introduced by updating some module...

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
         version="3.0"
         metadata-complete="true">

    <display-name>ninja</display-name>

    <!--<listener>
        <listener-class>ninja.servlet.NinjaServletListener</listener-class>
    </listener>-->

    <filter>
        <filter-name>guiceFilter</filter-name>
        <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>guiceFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

</web-app>

Here the dependency tree of the project:

[INFO] com.thibaultmeyer:sparrow:jar:1.0.0-SNAPSHOT
[INFO] +- org.ninjaframework:ninja-core:jar:6.8.2-SNAPSHOT:compile
[INFO] |  +- org.ocpsoft.prettytime:prettytime:jar:4.0.2.Final:compile
[INFO] |  +- joda-time:joda-time:jar:2.10.1:compile
[INFO] |  +- com.google.inject:guice:jar:5.0.1:compile
[INFO] |  |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  |  +- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  |  \- com.google.guava:guava:jar:30.1-jre:compile
[INFO] |  |     +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |  |     +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |  |     +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  |     +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
[INFO] |  |     \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] |  +- com.google.inject.extensions:guice-assistedinject:jar:5.0.1:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.12.2:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.2:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.2:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.12.2:compile
[INFO] |  +- org.freemarker:freemarker-gae:jar:2.3.29:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.15:compile
[INFO] |  +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] |  |  +- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] |  |  \- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.7.30:compile
[INFO] |  +- org.slf4j:log4j-over-slf4j:jar:1.7.30:compile
[INFO] |  +- commons-io:commons-io:jar:2.11.0:compile
[INFO] |  +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] |  +- commons-configuration:commons-configuration:jar:1.10:compile
[INFO] |  |  \- commons-lang:commons-lang:jar:2.6:compile
[INFO] |  +- commons-fileupload:commons-fileupload:jar:1.4:compile
[INFO] |  +- org.hibernate:hibernate-validator:jar:4.3.1.Final:compile
[INFO] |  |  \- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.12.2:compile
[INFO] |  |  +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.2:compile
[INFO] |  |  |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] |  |  |  \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] |  |  \- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] |  +- com.fasterxml.woodstox:woodstox-core:jar:5.2.0:compile
[INFO] |  +- net.sf.ehcache:ehcache-core:jar:2.6.11:compile
[INFO] |  +- net.spy:spymemcached:jar:2.12.3:compile
[INFO] |  +- org.flywaydb:flyway-core:jar:8.2.2:compile
[INFO] |  +- com.google.inject.extensions:guice-persist:jar:5.0.1:compile
[INFO] |  \- javax.xml.bind:jaxb-api:jar:2.3.0:compile
[INFO] +- org.ninjaframework:ninja-db-classic:jar:6.8.2-SNAPSHOT:compile
[INFO] +- org.ninjaframework:ninja-test-utilities:jar:6.8.2-SNAPSHOT:test
[INFO] |  +- org.hamcrest:java-hamcrest:jar:2.0.0.0:test
[INFO] |  +- junit:junit:jar:4.13.2:test
[INFO] |  |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] |  +- org.mockito:mockito-core:jar:3.8.0:test
[INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.10.20:test
[INFO] |  |  \- org.objenesis:objenesis:jar:3.1:test
[INFO] |  +- org.fluentlenium:fluentlenium-junit:jar:3.10.1:test
[INFO] |  |  \- org.fluentlenium:fluentlenium-core:jar:3.10.1:test
[INFO] |  |     +- org.seleniumhq.selenium:selenium-remote-driver:jar:3.141.59:test
[INFO] |  |     +- org.atteo.classindex:classindex:jar:3.9:test
[INFO] |  |     +- org.apache.commons:commons-text:jar:1.9:test
[INFO] |  |     +- org.apache.maven:maven-model:jar:3.6.3:test
[INFO] |  |     |  \- org.codehaus.plexus:plexus-utils:jar:3.2.1:test
[INFO] |  |     \- io.appium:java-client:jar:7.3.0:test
[INFO] |  |        +- com.google.code.gson:gson:jar:2.8.5:test
[INFO] |  |        +- cglib:cglib:jar:3.2.12:test
[INFO] |  |        |  \- org.ow2.asm:asm:jar:7.1:test
[INFO] |  |        +- commons-validator:commons-validator:jar:1.6:test
[INFO] |  |        |  +- commons-beanutils:commons-beanutils:jar:1.9.2:test
[INFO] |  |        |  +- commons-digester:commons-digester:jar:1.8.1:test
[INFO] |  |        |  \- commons-collections:commons-collections:jar:3.2.2:test
[INFO] |  |        +- org.springframework:spring-context:jar:5.1.8.RELEASE:test
[INFO] |  |        |  +- org.springframework:spring-aop:jar:5.1.8.RELEASE:test
[INFO] |  |        |  +- org.springframework:spring-beans:jar:5.1.8.RELEASE:test
[INFO] |  |        |  +- org.springframework:spring-core:jar:5.1.8.RELEASE:test
[INFO] |  |        |  |  \- org.springframework:spring-jcl:jar:5.1.8.RELEASE:test
[INFO] |  |        |  \- org.springframework:spring-expression:jar:5.1.8.RELEASE:test
[INFO] |  |        \- org.aspectj:aspectjweaver:jar:1.9.4:test
[INFO] |  +- org.seleniumhq.selenium:htmlunit-driver:jar:2.47.1:test
[INFO] |  |  +- org.seleniumhq.selenium:selenium-api:jar:3.141.59:test
[INFO] |  |  +- org.seleniumhq.selenium:selenium-support:jar:3.141.59:test
[INFO] |  |  |  +- org.apache.commons:commons-exec:jar:1.3:test
[INFO] |  |  |  +- com.squareup.okhttp3:okhttp:jar:3.11.0:test
[INFO] |  |  |  \- com.squareup.okio:okio:jar:1.14.0:test
[INFO] |  |  \- net.sourceforge.htmlunit:htmlunit:jar:2.47.1:test
[INFO] |  |     +- xalan:xalan:jar:2.7.2:test
[INFO] |  |     |  \- xalan:serializer:jar:2.7.2:test
[INFO] |  |     +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.47.0:test
[INFO] |  |     +- net.sourceforge.htmlunit:neko-htmlunit:jar:2.47.1:test
[INFO] |  |     |  \- xerces:xercesImpl:jar:2.12.0:test
[INFO] |  |     |     \- xml-apis:xml-apis:jar:1.4.01:test
[INFO] |  |     +- net.sourceforge.htmlunit:htmlunit-cssparser:jar:1.7.0:test
[INFO] |  |     +- commons-net:commons-net:jar:3.7.2:test
[INFO] |  |     +- org.brotli:dec:jar:0.1.2:test
[INFO] |  |     \- com.shapesecurity:salvation2:jar:3.0.0:test
[INFO] |  +- org.eclipse.jetty:jetty-client:jar:9.4.44.v20210927:compile
[INFO] |  |  +- org.eclipse.jetty:jetty-http:jar:9.4.44.v20210927:compile
[INFO] |  |  \- org.eclipse.jetty:jetty-io:jar:9.4.44.v20210927:compile
[INFO] |  +- org.eclipse.jetty.websocket:websocket-client:jar:9.4.44.v20210927:compile
[INFO] |  |  +- org.eclipse.jetty:jetty-util:jar:9.4.44.v20210927:compile
[INFO] |  |  \- org.eclipse.jetty.websocket:websocket-common:jar:9.4.44.v20210927:compile
[INFO] |  |     \- org.eclipse.jetty.websocket:websocket-api:jar:9.4.44.v20210927:compile
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:test
[INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.4.13:test
[INFO] |  +- org.apache.httpcomponents:httpmime:jar:4.5.13:test
[INFO] |  +- org.doctester:doctester-core:jar:1.1.8:test
[INFO] |  \- com.devbliss.doctest:doctest:jar:0.9.1:test
[INFO] |     +- de.devbliss.apitester:apitester:jar:0.8.0:test
[INFO] |     |  \- com.fasterxml:jackson-xml-databind:jar:0.6.2:test
[INFO] |     |     +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:test
[INFO] |     |     |  \- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:test
[INFO] |     |     \- org.codehaus.jackson:jackson-xc:jar:1.9.2:test
[INFO] |     +- org.json:org.json:jar:chargebee-1.0:test
[INFO] |     \- javax.activation:activation:jar:1.1.1:test
[INFO] +- com.ibm.icu:icu4j:jar:70.1:compile
[INFO] +- org.commonmark:commonmark:jar:0.18.1:compile
[INFO] +- org.commonmark:commonmark-ext-gfm-strikethrough:jar:0.18.1:compile
[INFO] +- org.commonmark:commonmark-ext-ins:jar:0.18.1:compile
[INFO] +- com.h2database:h2:jar:2.0.206:compile
[INFO] +- org.postgresql:postgresql:jar:42.3.1:compile
[INFO] |  \- org.checkerframework:checker-qual:jar:3.5.0:compile
[INFO] +- org.webjars:bootstrap:jar:5.1.3:compile
[INFO] |  \- org.webjars:popper.js:jar:2.9.3:compile
[INFO] +- org.webjars:jquery:jar:3.6.0:compile
[INFO] +- org.webjars.bowergithub.popperjs:popper-core:jar:2.9.2:compile
[INFO] +- org.webjars:font-awesome:jar:5.15.4:compile
[INFO] +- org.hibernate:hibernate-entitymanager:jar:5.6.3.Final:compile
[INFO] |  +- org.hibernate:hibernate-core:jar:5.6.3.Final:compile
[INFO] |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |  +- org.jboss:jandex:jar:2.2.3.Final:compile
[INFO] |  |  +- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] |  |  +- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] |  |  \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.1:compile
[INFO] |  |     +- org.glassfish.jaxb:txw2:jar:2.3.1:compile
[INFO] |  |     +- com.sun.istack:istack-commons-runtime:jar:3.0.7:compile
[INFO] |  |     +- org.jvnet.staxex:stax-ex:jar:1.8:compile
[INFO] |  |     \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.15:compile
[INFO] |  +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.2.Final:compile
[INFO] |  +- javax.persistence:javax.persistence-api:jar:2.2:compile
[INFO] |  +- net.bytebuddy:byte-buddy:jar:1.11.20:compile
[INFO] |  \- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.1.1.Final:compile
[INFO] +- org.hibernate:hibernate-c3p0:jar:5.6.3.Final:compile
[INFO] |  +- org.jboss.logging:jboss-logging:jar:3.4.2.Final:compile
[INFO] |  \- com.mchange:c3p0:jar:0.9.5.5:compile
[INFO] |     \- com.mchange:mchange-commons-java:jar:0.2.19:compile
[INFO] \- org.ninjaframework:ninja-standalone:jar:6.8.2-SNAPSHOT:compile
[INFO]    +- org.ninjaframework:ninja-servlet:jar:6.8.2-SNAPSHOT:compile
[INFO]    |  +- org.ninjaframework:ninja-websockets-jsr356:jar:6.8.2-SNAPSHOT:compile
[INFO]    |  \- com.google.inject.extensions:guice-servlet:jar:5.0.1:compile
[INFO]    +- org.eclipse.jetty:jetty-server:jar:9.4.44.v20210927:compile
[INFO]    +- org.eclipse.jetty:jetty-servlet:jar:9.4.44.v20210927:compile
[INFO]    |  +- org.eclipse.jetty:jetty-security:jar:9.4.44.v20210927:compile
[INFO]    |  \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.44.v20210927:compile
[INFO]    +- org.eclipse.jetty:jetty-xml:jar:9.4.44.v20210927:compile
[INFO]    +- org.eclipse.jetty.websocket:javax-websocket-server-impl:jar:9.4.44.v20210927:compile
[INFO]    |  +- org.eclipse.jetty.websocket:javax-websocket-client-impl:jar:9.4.44.v20210927:compile
[INFO]    |  |  \- javax.websocket:javax.websocket-client-api:jar:1.0:compile
[INFO]    |  \- org.eclipse.jetty.websocket:websocket-server:jar:9.4.44.v20210927:compile
[INFO]    |     \- org.eclipse.jetty.websocket:websocket-servlet:jar:9.4.44.v20210927:compile
[INFO]    +- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO]    \- javax.websocket:javax.websocket-api:jar:1.1:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.695 s
[INFO] Finished at: 2022-01-16T20:36:45+01:00
[INFO] ------------------------------------------------------------------------