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 20604 - Error executing a web module in the root context if a previous web module was deployed to the root context
Summary: Error executing a web module in the root context if a previous web module was...
Status: CLOSED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-15 17:53 UTC by jhoffman
Modified: 2004-05-03 12:48 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 jhoffman 2002-02-15 17:53:06 UTC
It seems that if I unmount a web module (that was deployed as root) and then mount another web
module and try to run it (also deployed as root), Tomcat continues to try to execute the previous
web module.

For example, I create a simple web module that has index.jsp forwarding
to a servlet.  It runs fine.  Then I unmount it, and try to run another
web module that also has an index.jsp in it--in this case it's the
struts example application.  This second app fails because Tomcat is
still looking for the original servlet from the first app.

This is a common situation when developing web modules.  At first, the web module is tested within
the IDE and it's deployed to the Internal tomcat using the root context.  It's not until later that the
module may be assigned a different context.

Given the situation, the only "solution" is to shutdown the IDE, delete
it, and then reinstall it.
Comment 1 Damian Frach 2002-02-18 09:55:32 UTC
duplication of the 4627575 (BugTraq)

you can increase priority of the bugtraq bug

the bagtraq bug has "suggested fixes"
Comment 2 Petr Jiricka 2002-04-23 10:00:56 UTC
Changing target milestone to FFJ 4.0
Comment 3 Petr Jiricka 2002-04-23 10:10:09 UTC
Changing target milestone to FFJ 4.0
Comment 4 Petr Jiricka 2002-04-23 10:30:34 UTC
Changing target milestone to FFJ 4.0