Uploaded image for project: 'Wiki Initializer Application'
  1. Wiki Initializer Application
  2. WKINIT-5

Initializer fail to start with XWiki 16.7.1

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • 1.2.0
    • None
    • Unknown

    Description

      OS: debian 12
      XWiki version: 16.7.1 used with xtool (and hsqldb)

      It seem that after the change of WKINIT-4 : XWiki fail to start with Postgresql an other thing broke. It seem that it can't find descriptor for the component with type [interface org.xwiki.job.Job] and hint [wikiInitializer/mainWiki].

      Here is the log that I've:

      2024-09-20 13:28:33.409:INFO :oxtjl.NotifyListener:main: Démarrage de Jetty sur le port 8080, sur Java 17.0.12+7-Debian-2deb12u1 (OpenJDK Runtime Environment)...
      2024-09-20 13:28:36,527 [main] INFO  iPropertiesConfigurationSource - Loading [xwiki.properties] from [file:/home/josue/.xtool/instances/dev_ynh/webapps/xwiki/WEB-INF/xwiki.properties] 
      2024-09-20 13:28:36,610 [main] INFO  o.x.e.i.ServletEnvironment     - Using permanent directory [data] 
      2024-09-20 13:28:38,250 [main] WARN  .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-io/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-io-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-io/pom.xml)] and [org.eclipse.jetty:jetty-io/10.0.21 (file:/home/josue/.xtool/instances/dev_ynh/webapps/xwiki/WEB-INF/lib/jetty-io-10.0.21.xed)] 
      2024-09-20 13:28:38,251 [main] WARN  .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-io/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-io-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-io/pom.xml)] is selected 
      2024-09-20 13:28:38,253 [main] WARN  .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-client/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-client-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-client/pom.xml)] and [org.eclipse.jetty:jetty-client/10.0.21 (file:/home/josue/.xtool/instances/dev_ynh/webapps/xwiki/WEB-INF/lib/jetty-client-10.0.21.xed)] 
      2024-09-20 13:28:38,253 [main] WARN  .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-client/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-client-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-client/pom.xml)] is selected 
      2024-09-20 13:28:38,258 [main] WARN  .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-util/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-util-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-util/pom.xml)] and [org.eclipse.jetty:jetty-util/10.0.21 (file:/home/josue/.xtool/instances/dev_ynh/webapps/xwiki/WEB-INF/lib/jetty-util-10.0.21.xed)] 
      2024-09-20 13:28:38,259 [main] WARN  .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-util/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-util-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-util/pom.xml)] is selected 
      2024-09-20 13:28:38,872 [main] WARN  .e.r.m.i.MavenExtensionScanner - Collision between core extension [org.eclipse.jetty:jetty-http/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-http-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-http/pom.xml)] and [org.eclipse.jetty:jetty-http/10.0.21 (file:/home/josue/.xtool/instances/dev_ynh/webapps/xwiki/WEB-INF/lib/jetty-http-10.0.21.xed)] 
      2024-09-20 13:28:38,873 [main] WARN  .e.r.m.i.MavenExtensionScanner - [org.eclipse.jetty:jetty-http/12.0.12 (jar:file:/home/josue/.xtool/instances/dev_ynh/jetty/lib/jetty-http-12.0.12.jar!/META-INF/maven/org.eclipse.jetty/jetty-http/pom.xml)] is selected 
      2024-09-20 13:28:40,153 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Updating Solr home directory at [/home/josue/.xtool/instances/dev_ynh/data/store/solr] 
      2024-09-20 13:28:40,160 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Starting embedded Solr server... 
      2024-09-20 13:28:40,160 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Using Solr home directory: [/home/josue/.xtool/instances/dev_ynh/data/store/solr] 
      2024-09-20 13:28:40,737 [main] WARN  o.a.s.c.CoreContainer          - Not all security plugins configured!  authentication=disabled authorization=disabled.  Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external.  See https://s.apache.org/solrsecurity for more info 
      2024-09-20 13:28:42,062 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Started embedded Solr server. 
      2024-09-20 13:28:42,174 [main] INFO  o.x.s.f.i.FilesystemStoreTools - Using filesystem store directory [/home/josue/.xtool/instances/dev_ynh/data/store/file] 
      2024-09-20 13:28:42,529 [main] ERROR w.i.WikiInitializationListener - Failed to initialize main wiki 
      org.xwiki.job.JobException: Failed to lookup any Job for role hint [wikiInitializer/mainWiki]
              at org.xwiki.job.internal.DefaultJobExecutor.createJob(DefaultJobExecutor.java:305)
              at org.xwiki.job.internal.DefaultJobExecutor.execute(DefaultJobExecutor.java:316)
              at wiki:xwiki//org.xwiki.contrib.wikiinitializer.internal.WikiInitializationListener.onEvent(WikiInitializationListener.java:90)
              at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:338)
              at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:303)
              at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:354)
              at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:136)
              at org.eclipse.jetty.ee8.nested.ContextHandler.callContextInitialized(ContextHandler.java:782)
              at org.eclipse.jetty.ee8.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:516)
              at org.eclipse.jetty.ee8.nested.ContextHandler.contextInitialized(ContextHandler.java:731)
              at org.eclipse.jetty.ee8.servlet.ServletHandler.initialize(ServletHandler.java:629)
              at org.eclipse.jetty.ee8.servlet.ServletContextHandler.startContext(ServletContextHandler.java:311)
              at org.eclipse.jetty.ee8.webapp.WebAppContext.startWebapp(WebAppContext.java:1195)
              at org.eclipse.jetty.ee8.webapp.WebAppContext.startContext(WebAppContext.java:1165)
              at org.eclipse.jetty.ee8.nested.ContextHandler.doStartInContext(ContextHandler.java:622)
              at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1440)
              at org.eclipse.jetty.ee8.nested.ContextHandler.doStart(ContextHandler.java:611)
              at org.eclipse.jetty.ee8.servlet.ServletContextHandler.doStart(ServletContextHandler.java:243)
              at org.eclipse.jetty.ee8.webapp.WebAppContext.doStart(WebAppContext.java:502)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
              at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
              at org.eclipse.jetty.server.handler.ContextHandler.lambda$doStart$0(ContextHandler.java:754)
              at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1446)
              at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:754)
              at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler.doStart(ContextHandler.java:2259)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
              at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:40)
              at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
              at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:522)
              at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:162)
              at org.eclipse.jetty.deploy.providers.ScanningAppProvider.pathAdded(ScanningAppProvider.java:293)
              at org.eclipse.jetty.deploy.providers.ContextProvider.pathAdded(ContextProvider.java:576)
              at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.pathAdded(ScanningAppProvider.java:69)
              at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:902)
              at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:868)
              at org.eclipse.jetty.util.Scanner.scan(Scanner.java:775)
              at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:664)
              at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:636)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
              at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:264)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
              at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:592)
              at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:263)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
              at org.eclipse.jetty.server.Server.start(Server.java:624)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
              at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
              at org.eclipse.jetty.server.Server.doStart(Server.java:565)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
              at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2033)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:569)
              at org.eclipse.jetty.start.Main.invokeMain(Main.java:312)
              at org.eclipse.jetty.start.Main.start(Main.java:610)
              at org.eclipse.jetty.start.Main.main(Main.java:82)
      Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component with type [interface org.xwiki.job.Job] and hint [wikiInitializer/mainWiki]
              at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:304)
              at org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
              at org.xwiki.job.internal.DefaultJobExecutor.createJob(DefaultJobExecutor.java:303)
              ... 61 common frames omitted
      2024-09-20 13:28:42.572:INFO :oxtjl.NotifyListener:main: ----------------------------------
      2024-09-20 13:28:42.572:INFO :oxtjl.NotifyListener:main: Le serveur est démarré. Vous pouvez maintenant accéder à votre wiki en entrant l'adresse http://Framework.home:8080/ dans votre navigateur internet.
      2024-09-20 13:28:42.572:INFO :oxtjl.NotifyListener:main: ----------------------------------
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            josue Josué Tille
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: