Missing Tomcat8 conf directory

I just installed Tomcat8 version 8.0.24-1 from the Debian 8 repository on aptitude install tomcat8 . I tried to play with Tomcat, starting and stopping it. When I tried to close it by running ./bin/shutdown.sh , I noticed that the shutdown operation was unsuccessful - it complains that the conf directory is missing. I checked it, and that’s true - indeed, it is missing!

Why?

I downloaded Tomcat8 from the official Tomacat website to compare the contents of both directories - from the Debian repo server and from the Tomcat website. It turned out that the directory from the Tomcat website is complete and contains the conf directory.

Why? Why does the package from the Debian repository not contain the conf directory and a set of configuration files?

BTW: neither tomcat8-examples nor tomcat8-admin packages contain conf .

+4
source share
2 answers

/usr/share/tomcat8 contains the application.

All var iable elements ( conf , logs , webapps , etc.) are usually located in /var/lib/tomcat8

+6
source

True, the problem is that tomcat8 is configured the same way as in share. This is similar to the fact that catalina.sh and / or startup.sh cannot specify a separate database even for those using debian alone.

The only reasonable fix seems to be to manually edit the catalina.sh file and set CATALINA_BASE = / var / lib / tomcat8

This does not fix netbeans, which has permissions problems, since many of these var files are root owned or linked ... copying these bits for sharing or adding the tomcat8 group to / etc files ... please, someone will get best answer!

+1
source

All Articles