This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253049 - Permit Tomcat Server with FHS style paths in /etc, /usr/share, /var/lib for Debian/Ubuntu
Summary: Permit Tomcat Server with FHS style paths in /etc, /usr/share, /var/lib for D...
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-17 23:07 UTC by lathspell
Modified: 2015-06-17 23:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lathspell 2015-06-17 23:07:44 UTC
Debian, Ubuntu and probably other Linux distributions configure their packages to adhere to the File Hierarchy Standard which results in e.g. Tomcat not simply beeing in /opt/tomcat8 but scattered across /etc/tomcat8, /usr/share/tomcat8, /var/lib/tomcat8 and /var/log/tomcat8. The current Netbeans 8.0.2 does not permit to add such a Tomcat/TomEE installation as Java EE server. 

The error messages are pretty vague e.g.:
     "The specified Server Location (Catalina Home) folder is not valid."

I don't know what exactly Netbeans is actually looking for but it would be
nice if the components (jars, config files, webroot) could be entered separately.

Also it would help if the error message would be more specific in what it is looking for.

Some hints how to workaround this problem by symlinking things to /usr/share/tomcat8 are given in the following StackExchange answer:
http://stackoverflow.com/questions/8371059/error-registering-a-tomcat-7-server-in-netbeans-7-catalina-home-folder-is-not-v