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.
When adding new Tomcat 6.0 server with separate CATALINA_HOME and CATALINA_BASE (Use Private Configuration Folder checkbox), the code tries to find CATALINA_HOME/conf/server.xml instead of CATALINA_BASE/conf/server.xml.
FYI, the same issue has been reported in Web Stack (default CATALINA_BASE is different from CATALINA_HOME in order to put log/conf files in different locations). Hence, this problem has been reported when adding Apache Tomcat provided through SWS in RHEL 5.2. In RHEL, the CATALINA_HOME is /opt/sun/webstack/tomcat/5.5 and CATALINA_BASE is /var/opt/sun/webstack/tomcat/5.5. When try to add a server in NB 6.5 and point to the SWS CATALINA_HOME, the error displays CATALINA_HOME/conf/server.xml can't be read and cannot configure Tomcat with NB.
The same issue is with Solaris/OpenSolairs bundled Tomcat and NetBeans. The issue is quite high call generator therfore I'm increasing priority. See related thread at webstack-discuss: http://www.opensolaris.org/jive/thread.jspa?threadID=87923&tstart=30
Fixed in main fbc513dcb336. Have to check how to handle server-minimal.xml on solaris.
Integrated into 'main-golden', will be available in build *200902060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fbc513dcb336 User: phejl@netbeans.org Log: #156913 Configuration does not read server.xml from CATALINA_BASE
This has been fixed.
I tried to do this using Ubuntu 9.04, Netbeans 6.5.1 and Tomcat6. The Tomcat6 was installed using Synaptic Package Manager. I am facing this issue. Please correct this for Ubuntu Jaunty. Regards, Rajan
You are right that this issue is not fixed in 6.5.1, which is the version you are using. It is fixed in 6.7.x, which will be included in the next Ubuntu. You can get the fix by downloading NetBeans 6.7.1 from netbeans.org and installing it using the installer. Changing back to FIXED.
My configuration is Ubuntu 8.04 Server with Tomcat 6.7.1, and I was still facing this issue until I gave server.xml read permission to any with the command sudo chmod a+r CATALINA_HOME/conf/server.xml The default installation of LAMP Ubuntu leave this file rw permission to root only (unless I had done something wrong). Hope this helps.