Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12466

Solr generates an error

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk, Upcoming Branch
    • 18.12.06, 22.01.01
    • solr
    • None

    Description

      Following error is shown:

      2021-12-17 12:45:37,676 |main                 |SolrDispatchFilter            |E| Could not start Solr. Check solr/home property and the logs
      2021-12-17 12:45:37,707 |main                 |SolrCore                      |E| null:java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.impl.StaticLoggerBinder
      	at org.apache.solr.util.StartupLoggingUtils.<clinit>(StartupLoggingUtils.java:45)
      	at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:158)
      	at org.apache.ofbiz.solr.webapp.OFBizSolrContextFilter.init(OFBizSolrContextFilter.java:100)
      	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270)
      	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251)
      	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:101)
      	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4613)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.startup.Tomcat.start(Tomcat.java:486)
      	at org.apache.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:134)
      	at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:153)
      	at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:77)
      	at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
      	at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
      	at org.apache.ofbiz.base.start.Start.main(Start.java:89)
      
      
      Dec 17, 2021 12:45:37 PM org.apache.catalina.core.StandardContext filterStart
      SEVERE: Exception starting filter [SolrFilter]
      java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.impl.StaticLoggerBinder
      	at org.apache.solr.util.StartupLoggingUtils.<clinit>(StartupLoggingUtils.java:45)
      	at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:158)
      	at org.apache.ofbiz.solr.webapp.OFBizSolrContextFilter.init(OFBizSolrContextFilter.java:100)
      	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270)
      	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251)
      	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:101)
      	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4613)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.startup.Tomcat.start(Tomcat.java:486)
      	at org.apache.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:134)
      	at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:153)
      	at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:77)
      	at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
      	at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
      	at org.apache.ofbiz.base.start.Start.main(Start.java:89)
      
      
       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            pierresmits Pierre Smits
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment