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 242593

Summary: NetBeans doesn't recognize Tomcat's root folder
Product: serverplugins Reporter: csbubbles
Component: TomcatAssignee: Petr Hejl <phejl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description csbubbles 2014-03-06 00:38:05 UTC
Trying to add a new server through Tools/Server menu, you fail to add Apache Tomcat (v.7 or 8) installation because NetBeans does not recognize its root folder. It expects to have common/lib folder in it which does not exist in latest Tomcat's versions (maybe even doesn't exist in v.6).

PS There is a workaround (http://stackoverflow.com/questions/8371059/error-registering-a-tomcat-7-server-in-netbeans-7-catalinahomefolderisnotv), but it look not good that you need to follow that one. Also, it took a while for me to figure out the problem.
Comment 1 Petr Hejl 2014-03-21 09:35:34 UTC
This is true for tomcat installed via package manager. This has not been really supported.
Comment 2 csbubbles 2014-03-21 10:32:39 UTC
Just to make it clear... Tomcat was installed on Windows, so it wasn't any package manager like rpm or yum, but Windows installer officially provided by Apache (see "32-bit/64-bit Windows Service Installer" here - http://tomcat.apache.org/download-80.cgi).
Comment 3 Petr Hejl 2015-09-30 12:34:15 UTC

*** This bug has been marked as a duplicate of bug 102250 ***