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 32425 - The war file with JSPs cannot be deployed on Tomcat
Summary: The war file with JSPs cannot be deployed on Tomcat
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 16:25 UTC by Milan Kuchtiak
Modified: 2006-02-28 11:31 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 Milan Kuchtiak 2003-03-27 16:25:45 UTC
Steps how to reproduce :

- create a web module
- create some index.jsp file
- create a war file
- mount that war file as a jar filesystem
- create new context in ServerRegistry -> Tomcat40
-> Internal      
  -> localhost -> Add Context Action
- select the war file (test.war)
- set the path ("/test")
- configure the server xml (change the docBase
from "test.war" to the full name
"c:\examples\test.war" - issue 26724)
- start the server (in Full Ide Integration Mode)
- test the URL (http://localhost:8081/test)
- the index.jsp page is not found

Comments :
This does not occure in Minimum Ide Integration Mode.
Also afterwards, if you switch back to the Full
Integration Mode and start the server again the
index.jsp page is available.

It seems that Tomcat in Full Integration mode has
problems with JSP compilation within the war file.
Comment 1 Milan Kuchtiak 2003-03-28 09:27:12 UTC
The problem is in JSP compilation.
The userdir/tomcat406_base/work/context_root directory remains empty
after invoking a JSP page from within the war file.

There is a workaround to change the Ide Integration Mode to "Minimum".
Comment 2 Petr Jiricka 2004-01-28 20:56:25 UTC
I assume this is fixed. Besides, we don't have the "Add context"
action any more.
Comment 3 Jaroslav Pospisil 2006-02-28 11:31:57 UTC
VERIFIED