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 40304 - Cannot add docBase of web module into server specific file until deployment
Summary: Cannot add docBase of web module into server specific file until deployment
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 22:39 UTC by Pavel Buzek
Modified: 2004-09-25 01:13 UTC (History)
0 users

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 Pavel Buzek 2004-02-19 22:39:43 UTC
Plugins have no access to the web module folder
(document base) at the time of creation of server
specific DD. Tomcat needs to specify docBase
attribute in context.xml file and it cannot do it
until the module is being deployed (and then it
does not work 100% and it is a workaround). This
is a strange time for changing the context.xml
file! It needs to be done during creation of
context.xml.

At the time of deployment plugin does get the doc
base when using incremental deployment or the
DeploymentManager.distribute with java.io.File
parameters but not when using the DM.distribute
with InputStream parameters.
Comment 1 _ gfink 2004-02-19 22:59:33 UTC
I think this has to be filled in at deployment time -
isn't the docbase attribute different if its deployed as
a war, or if a build process copies it?

Providing this information at development time doesn't seem
like its the right approach.
Comment 2 Pavel Buzek 2004-09-25 01:13:13 UTC
this is fixed