Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2239

fuseki-server does not show logs upon startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 4.3.2
    • Jena 4.4.0
    • Fuseki
    • None
    • OS: macOS Big Sur version 11.6
      Java: openjdk 11.0.10 2021-01-19

    Description

      Current Behavior

      When executing the `fuseki-server` command, e.g.:

      fuseki-server --mem /ds

      the following message appears:

      ERROR StatusLogger Reconfiguration failed: No configuration found for '42110406' at 'null' in 'null'

      The server itself still works as normal, but that fact is not obvious given the error message, and it is very annoying to not have the visual confirmation of logging.

      Expected Behavior

      In contrast, version 4.2.0 did had logging output upon startup without any special configuration, i.e. this is what should output upon startup:

      14:37:14 INFO  Server     :: jetty-10.0.6; built: 2021-06-29T15:28:56.259Z; git: 37e7731b4b142a882d73974ff3bec78d621bd674; jvm 17+0
      14:37:14 INFO  StandardDescriptorProcessor :: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
      14:37:14 INFO  DefaultSessionIdManager :: Session workerName=node0
      14:37:14 INFO  org_apache_jena_fuseki_Servlet :: Initializing Shiro environment
      14:37:14 INFO  EnvironmentLoader :: Starting Shiro environment initialization.
      14:37:14 WARN  IniRealm   :: Users or Roles are already populated.  Configured Ini instance will be ignored.
      14:37:14 INFO  EnvironmentLoader :: Shiro environment initialized in 159 ms.
      14:37:15 INFO  ContextHandler :: Started o.e.j.w.WebAppContext@1c3259fa{Apache Jena Fuseki Server,/,file:///usr/local/Cellar/fuseki/4.2.0/libexec/webapp/,AVAILABLE}
      14:37:15 INFO  AbstractConnector :: Started ServerConnector@4152d38d{HTTP/1.1, (http/1.1)}{0.0.0.0:3030}
      14:37:15 INFO  Server     :: Started Server@2d8f2f3a{STARTING}[10.0.6,sto=0] @2266ms

      Additional Notes

      Fuseki was installed via Homebrew using the command

      brew install fuseki

      I was able to have this issue be replicated my coworker's machine as well (which is also a Mac that is running Java 11+), indicating that this issue is likely not unique to this environment.

      I tested this both without a log4j2.properties file in the current directory and with one, using the sample file from this webpage: https://howtodoinjava.com/log4j2/log4j2-properties-example/. In both cases, the error message appears.

      Attachments

        Activity

          People

            andy Andy Seaborne
            kqian Kelvin Qian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: