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 22764 - tomcat 4 module can't be installed as a system module
Summary: tomcat 4 module can't be installed as a system module
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Internal Server (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Rich Unger
URL:
Keywords: ARCH
Depends on:
Blocks:
 
Reported: 2002-04-25 01:40 UTC by Rich Unger
Modified: 2004-01-07 19:05 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 Rich Unger 2002-04-25 01:40:34 UTC
Tomcat expects to find the netbeans/system/httpwork/** 
files in ${netbeans.user}.  The installation code needs to 
be modified to copy the files there, if the module was 
installed as a system-wide module.
Comment 1 Jesse Glick 2002-05-08 16:02:56 UTC
Maybe I don't understand, but it seems likely that no special code
should be required for something like this. Use
Repository.getDefault().findResource("httpwork/whatever") to get a
suitable FileObject, and translate with FileUtil.toFile if you need
to. If any such files are fixed and just come with the module, the NBM
format takes care of this. There probably ought to be no "installation
code" at all, and no direct references to ${netbeans.user} or
${netbeans.home}. Ask on nbdev if unsure.
Comment 2 Rich Unger 2002-05-10 20:07:08 UTC
Agreed.  However, now there is an additional issue.  
Modules which depend on httpserver4 and install .war files 
containing servlets for use by the IDE will copy 
their .war files to netbeans/system/httpwork/webapps.  If 
httpserver4 is installed as a system module, and the new 
module is a user module, tomcat will be unable to find the 
new module's .war file.
Comment 3 Marek Grummich 2002-07-22 09:17:07 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 09:18:46 UTC
Set target milestone to TBD
Comment 5 Petr Jiricka 2003-03-04 10:40:15 UTC
Setting target milestone to future.
Comment 6 L Martinek 2004-01-07 13:25:30 UTC
Will this issue be fixed? Is it even after 2 years valid?
Comment 7 Rich Unger 2004-01-07 19:05:19 UTC
This is an issue with an experimental httpserver module using tomcat4
that never really got off the ground.