Bug#919638: solr-tomcat: Permission problems after update to tomcat9

Emmanuel Bourg ebourg at apache.org
Sat Jan 19 00:07:00 GMT 2019


Hi Michael,

Le 18/01/2019 à 07:19, Michael Welsh Duggan a écrit :

> I have no idea why it fails to write the lock file.

It probably happens because tomcat9 is sandboxed to write only into its
own directory. You'll have to tweak the systemd configuration to allow
Tomcat to write into the solr directory (with the ReadWritePaths directive).

The solr-tomcat package is rather old now, I'm tempted to remove it.
Upstream has moved away from supporting deployments as a web
application, Solr now embeds it own web server (Jetty). We wouldn't have
this kind of issue with the latest versions.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list