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

Summary: Error executing a web module in the root context if a previous web module was deployed to the root context
Product: javaee Reporter: jhoffman <jhoffman>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: CLOSED INVALID    
Severity: blocker    
Priority: P1    
Version: -FFJ-   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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