Control: tags -1 moreinfo On Tue, 16 Nov 2010 03:02:42 -0500 Andres Mejia <mcita...@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
signature.asc
Description: OpenPGP digital signature