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 33574 - strange error when the tomcat module is turned on
Summary: strange error when the tomcat module is turned on
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: -S1S-
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 18:51 UTC by Sergey Soldatov
Modified: 2009-11-07 11:38 UTC (History)
1 user (show)

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 Sergey Soldatov 2003-05-13 18:51:50 UTC
It's reproducible on the clean install of S1S RC2 on 
Win2000. In 'Tools->Options' find 'System->Modules->Web-
>Tomcat Server'. In Property window switch 'Enabled' 
to 'False'. It will ask to disable 'Web Services' module ( 
choose 'OK' button). Now try to enable 'Tomcat Server' 
back. You will get the error window with the following 
text:
"The server.xml file in "...." directory cannot be 
recognized as the Tomcat configuration file. It might be 
corrupted."

Anyway 'Tomcat Server' module can be enabled and works 
fine after this message.
Comment 1 _ rkubacki 2003-05-14 07:24:09 UTC
I don't understand why it requires disabling of Web services module.
This needs to be investigated. 

server.xml could be already recognized by different data loader
(generic XML likely) and thus the warning can be printed. Probably
will disappear after restart.
Comment 2 Milan Kuchtiak 2003-05-14 14:44:12 UTC
The issue is caused by the fact that in a certain moment (when Temcat
is disabled and enabled) the server.xml file is not recognized as a
Tomcat configuration file but as a regular XML file.

Fortunately,this doesn't cause any subsequent troubles. The server.xml
is recognized correctly later.

However, the message is not proper for that case.

The issue is somehow related to web services module because I was not
able to reproduce the issue with Netbeans3.5.
Comment 3 Milan Kuchtiak 2004-01-12 13:25:15 UTC
Tomcat4 plugin was replaced by Tomcat5 plugin.
This issue isn't relevant to new plugin.
There is no specific DataObject created for server.xml any more.