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 42780 - Tomcat WebXML not refreshing
Summary: Tomcat WebXML not refreshing
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 16:32 UTC by bkates
Modified: 2004-10-07 17:54 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 bkates 2004-05-04 16:32:58 UTC
I am having the problem where if I replace my 
web xml and restart my web app through the 
NetBeans debugger my changes are not taking 
effect.  

Sequence of steps:
1)  Run web app
2)  Stop web app (finish debugging and stop TC)
3)  Delete existing web xml
4)  Copy in new web xml (my "new" webxml had 
different database settings, i.e. I am 
connecting to an Oracle DB rather than a DB2 DB).
5)  Start debugging

The problem is that the tomcat plugin still uses 
the old xml (and hence and I am connecting to 
the wrong database).

The only solution I have come up with is to 
restart tomcat.
Comment 1 bkates 2004-05-04 16:57:02 UTC
I noticed a mistake in my original description.  My only solution is 
to restart NetBeans (not Tomcat - I always restart that every time I 
finish the current debug session and start the new one)
Comment 2 Pavel Buzek 2004-08-25 21:59:23 UTC
Stepane please try to reproduce this in 4.0.
Comment 3 Sherold Dev 2004-10-07 17:54:46 UTC
Seems to be fixed.