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 30875 - TOMCAT: hand-made changes in the server.xml file are not handled by IDE
Summary: TOMCAT: hand-made changes in the server.xml file are not handled by IDE
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 22:26 UTC by Jason Rush
Modified: 2007-08-30 17:35 UTC (History)
1 user (show)

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 Jason Rush 2003-02-08 22:26:48 UTC
Description: 
Bug exists in Build 020124.

It is supposed that user can make some modifications in the
server.xml file by hand (FFJ has only restricted capabilities for
configuring Tomcat server). E.g. user may change log file names, change/delete
contexts and etc.

However these hand-made changes can not be handled by IDE without restarting it,
that is very unconvenient for users.

Possible solutions are:

1. Add "Refresh (Reload) Config" action to the Tocat plugin

2. Automatically detect that server.xml file is modified and reload it after
that.

Suggested Fix: 
I think that the second would be possible - to listen to the changes of this 
file and reparse it.
rkubacki@netbeans.org 2002-01-25

Evaluation: 
FileChangeListener is added to the Tomcat40DataObject.

Attempting to verify this in s1s5se build 030206_1, it appears to only be 
partially fixed. If the user modifies server.xml in the IDE, then the Tomcat 
node will be updated properly.  However, if the user edits server.xml outside 
the IDE, then the Tomcat node will not be updated.  There needs to be a way for 
the user to update the Tomcat node after external edits to server.xml (other 
than restarting the IDE).  I'm reopening this issue and lowering priority.
jrush@netbeans.org 2003-02-08

A comment.
Comment 1 Jason Rush 2003-02-08 22:35:15 UTC
Transferred from BugTraq 4628103.