Bug#603666: Symlink to /etc/tomcat6 should be provided at /usr/share/tomcat6/conf

Markus Koschany apo at debian.org
Fri Jul 22 18:51:52 UTC 2016


Control: tags -1 moreinfo

On Tue, 16 Nov 2010 03:02:42 -0500 Andres Mejia <mcitadel at gmail.com> wrote:
> Package: tomcat6
> Version: 6.0.28-7
> Severity: normal
> 
> Using the Netbeans IDE web development module, the module refuses to allow me
> to specify CATALINA_HOME as '/var/lib/tomcat6'. However, it will allow
> '/usr/share/tomcat6', but then complain it cannot locate
> '<CATALINA_HOME>/conf/server.xml. The simple fix for this is to add a symlink
> to /etc/tomcat6 at /usr/share/tomcat6/conf.

I'm currently investigating some Tomcat bugs. I think the current layout
is mostly correct:

1) We have a symlink from /var/lib/tomcat8/conf to /etc/tomcat8
2) /usr/share/tomcat6/conf does not contain such a directory

CATALINA_HOME is in /usr/share/tomcat8 and defined in /etc/init.d/tomcat8.
It should be possible to override this variable in /etc/default/tomcat8
which is sourced by the init script. The layout is outdated though.
Nowadays a systemd service file and probably the Environment and
EnvironmentFile options should be used for configuration.

I think one issue might be that CATALINA_HOME is in /usr/share/tomcat8
by default and CATALINA_BASE is in /var/lib/tomcat8. This is a little
confusing and I wonder if both should point to /var/lib/tomcat8.

In any case it would have been useful to know more about the Netbeans
plugin in question. Which one is exactly? Without this information I
can't reproduce the issue and I'm not even sure if this is a bug in
Tomcat 8 or one of Netbeans' external plugins. More information is required.

Markus


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160722/bf8eaa5a/attachment.sig>


More information about the pkg-java-maintainers mailing list