At Feb 24th I updated xwiki* on debian using apt from Version 13.0 to version 13.1.
After that I’ve to open the wiki and follow the instructions/assistent - at this day maybe I forgot this step (no access logged in apaches log which is reverse proxy for the xwiki).
This week I’ve to use the xwiki and did not get any reply in Browser (timig out).
I’m able to (re)start tomcat9 without errors in the logs. I changed verbosity (level) from “error” to “info” in logback.xml but I got no more useful information.
tomcat9 process is ruinning. I’m able to connct to tomcat via telnet. If I use w3m (text browser) on same machine its saying “IP contacted. Waiting for reply…”
Any hints how to fix my wiki? I’m not used to work with tomcat/java.
Following my catalina.out at starting tomcat9 using error verbosity:
[2021-03-04 12:12:32] [info] NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[2021-03-04 12:12:33] [info] Server version name: Apache Tomcat/9.0.31 (Debian)
[2021-03-04 12:12:33] [info] Server built: Jan 19 2021 22:31:47 UTC
[2021-03-04 12:12:33] [info] Server version number: 9.0.31.0
[2021-03-04 12:12:33] [info] OS Name: Linux
[2021-03-04 12:12:33] [info] OS Version: 5.10.19-sus
[2021-03-04 12:12:33] [info] Architecture: amd64
[2021-03-04 12:12:33] [info] Java Home: /usr/lib/jvm/java-11-openjdk-amd64
[2021-03-04 12:12:33] [info] JVM Version: 11.0.9.1+1-post-Debian-1deb10u2
[2021-03-04 12:12:33] [info] JVM Vendor: Debian
[2021-03-04 12:12:33] [info] CATALINA_BASE: /var/lib/tomcat9
[2021-03-04 12:12:33] [info] CATALINA_HOME: /usr/share/tomcat9
[2021-03-04 12:12:33] [info] Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
[2021-03-04 12:12:33] [info] Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
[2021-03-04 12:12:33] [info] Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[2021-03-04 12:12:33] [info] Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
[2021-03-04 12:12:33] [info] Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
[2021-03-04 12:12:33] [info] Command line argument: -Djava.awt.headless=true
[2021-03-04 12:12:33] [info] Command line argument: -Xmx1024m
[2021-03-04 12:12:33] [info] Command line argument: -Djava.security.egd=file/dev/./urandom
[2021-03-04 12:12:33] [info] Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
[2021-03-04 12:12:33] [info] Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
[2021-03-04 12:12:33] [info] Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
[2021-03-04 12:12:33] [info] Command line argument: -Dignore.endorsed.dirs=
[2021-03-04 12:12:33] [info] Command line argument: -Dcatalina.base=/var/lib/tomcat9
[2021-03-04 12:12:33] [info] Command line argument: -Dcatalina.home=/usr/share/tomcat9
[2021-03-04 12:12:33] [info] Command line argument: -Djava.io.tmpdir=/tmp
[2021-03-04 12:12:33] [info] Loaded APR based Apache Tomcat Native library [1.2.26] using APR version [1.6.5].
[2021-03-04 12:12:33] [info] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
[2021-03-04 12:12:33] [info] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
[2021-03-04 12:12:33] [info] OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019]
[2021-03-04 12:12:33] [info] Initializing ProtocolHandler [“http-nio-192.168.100.220-8080”]
[2021-03-04 12:12:33] [info] Server initialization in [648] milliseconds
[2021-03-04 12:12:33] [info] Starting service [Catalina]
[2021-03-04 12:12:33] [info] Starting Servlet engine: [Apache Tomcat/9.0.31 (Debian)]
[2021-03-04 12:12:33] [info] Deploying deployment descriptor [/etc/tomcat9/Catalina/localhost/xwiki.xml]
[2021-03-04 12:12:33] [warning] A context path must either be an empty string or start with a ‘/’ and do not end with a ‘/’. The path [/] does not meet these criteria and has been changed to []
[2021-03-04 12:12:33] [warning] The path attribute with value [] in deployment descriptor [/etc/tomcat9/Catalina/localhost/xwiki.xml] has been ignored
[2021-03-04 12:12:44] [info] 2021-03-04 12:12:44,719 [main] INFO iPropertiesConfigurationSource - Loading [xwiki.properties] from default location [/etc/xwiki/xwiki.properties]
[2021-03-04 12:12:45] [info] 2021-03-04 12:12:45,175 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [/var/lib/xwiki/data]
[2021-03-04 12:13:08] [info] 2021-03-04 12:13:08,293 [main] INFO o.x.s.s.i.EmbeddedSolr - Starting embedded Solr server…
[2021-03-04 12:13:08] [info] 2021-03-04 12:13:08,294 [main] INFO o.x.s.s.i.EmbeddedSolr - Using Solr home directory: [/var/lib/xwiki/data/store/solr]
Now the mentioned (warning) “context” in xwiki-tomcat9.xml file:
<Context path="/" docBase="/usr/lib/xwiki" containerSciFilter="org.apache.tomcat.websocket.server.WsSci|org.apache.jasper.servlet.JasperInitializer">
<Resources allowLinking="true" cachingAllowed="true" cacheMaxSize="32768"/>
<JarScanner scanClassPath="false">
<JarScanFilter defaultTldScan="false"/>
</JarScanner>
</Context>