I'm quite new to ubuntu and on my system there is a tomcat8 installation, which i didn't set up manually. The weird thing is that this installation doesn't consist out of one but instead several directories:
/usr/share/tomcat8
---- /bin
---- /conf (symlink)
---- /content
---- /lib
---- /log
/etc/tomcat8/
---- /Catalina
---- /conf (symlink)
---- /policy.d
/var/lib/tomcat8/
---- /conf (symlink)
---- /lib
---- /logs (symlink)
---- /webapps
---- /work (symlink)
I cannot really understand why anyone would install tomcat this way since it seems quite complicated and confusing to me. The reason why i'm asking this is because it causes problems when i want to use this installation of tomcat within Eclipse. It expects the /conf
folder to be in the same directory as /bin
and throws an error, if i want to launch tomcat8 from within eclipse:
The configuration may be corrupt or incomplete
I found solutions for earlier versions of tomcat (see here), but the post by user Andy didn't work for me. When i try to execute sudo ln -s /etc/tomcat8/policy.d/03catalina.policy conf/catalina.policy, it tells me that the file already exists.
Can anybody explain to me how to solve this?