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 134088 - Incorrect "server.xml corrupted" error message when adding new tomcat server instance
Summary: Incorrect "server.xml corrupted" error message when adding new tomcat server ...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 17:37 UTC by timsmall
Modified: 2008-06-18 16:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description timsmall 2008-04-28 17:37:21 UTC
Many tomcat installations restrict access to the ${CATALINA_HOME}/conf/server.xml files - when it encounters such an
unreadable server.xml, netbeans incorrectly announces "The <CATALINA_HOME>/conf/server.xml configuration file seems to
be corrupted." - leading to great gnashing of teeth, re-installations, and swearing when the user realises that the
error message was completely bogus.

In fact, netbeans shouldn't require read access to server.xml file at all, but provide a facility to provide the
information that it requires.
Comment 1 Petr Hejl 2008-06-18 11:52:55 UTC
Fixed 7019a42e0bc9.
Comment 2 Quality Engineering 2008-06-18 16:01:06 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #267 build
Changeset: http://hg.netbeans.org/main/rev/7019a42e0bc9
User: phejl@netbeans.org
Log: #134088 Incorrect "server.xml corrupted" error message when adding new tomcat server instance