Hi Vincent,
i’ve checked the asked information:
-
Not sure how exactly to find this out. But searching for “webapp” on the server give following results:
locate -b webapp
/etc/tomcat9/policy.d/04webapps.policy
/usr/lib/xwiki/WEB-INF/lib/xwiki-platform-velocity-webapp-11.10.2.jar
/usr/lib/xwiki/WEB-INF/lib/xwiki-platform-velocity-webapp-11.10.2.xed
/var/lib/tomcat9/webappsAnd
ls -lah /var/lib/tomcat9/webapps/ROOT
-rw-r–r-- 1 root root 1.9K Nov 11 17:05 index.html
drwxr-xr-x 2 root root 4.0K Nov 11 17:05 META-INFls -lah /var/lib/tomcat9/webapps/ROOT/META-INF/
-rw-r–r-- 1 root root 49 Nov 11 17:05 context.xml
INFO: I’ve configured “Short URLs” according to this How To:
https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/ShortURLs/ -
“tar” archive seems to be broken?
sudo tar tvf /usr/lib/xwiki/WEB-INF/lib/jfreechart-1.0.19.jar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errorsEDIT: You probably meant “jar” and not “tar”
→ Couldn’t find “jar” command on my system at “/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/”
or “/usr/lib/jvm/java-8-openjdk-amd64/bin/”java -jar /usr/lib/xwiki/WEB-INF/lib/jfreechart-1.0.19.jar
gives this message:
no main manifest attribute, in /usr/lib/xwiki/WEB-INF/lib/jfreechart-1.0.19.jar
Searched for solutions and looked if “jdk” is installed.
Only “openjdk-8-jre-headless” was installed, so i additionally installed the “openjdk-8-jdk-headless” package.
Now i could run “jar” command successfull:jar tvf /usr/lib/xwiki/WEB-INF/lib/jfreechart-1.0.19.jar
jar_tvf_jfreechart-1.0.19.jar.txt (58.6 KB)
-
Restarted Tomcat and checked logfiles. No entries for “chart” (?)
/var/log/tomcat9/catalina.2020-01-07.log
xwiki_logfile_2020-01-07.txt (40.9 KB)
Hope this helps.
Conclusion:
EDIT: removed first conclusion because of the wrong command
Have a nice week!
Best,
Dolo