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 37069 - External Apache Tomcat/4.1.* server installation is broken after adding the installation into IDE
Summary: External Apache Tomcat/4.1.* server installation is broken after adding the i...
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 10:23 UTC by Marek Fukala
Modified: 2011-03-23 10:27 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
The IllegalStateException (4.50 KB, text/plain)
2004-01-07 15:41 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2003-11-06 10:23:28 UTC
[S1S5 Enterprise 2004Q1 Arrow, #031024_1]
To reproduce follow these steps:
1) prepare a tomcat 4.1.* installation
2) in the IDE go to runtime tab/runtime node/installed server/tomcat and perform 'add tomcat installation' popup action
3) fill up the form with appropriate data and let the integration mode set to full.
4) hit ok

In the IDE the tomcat support work fine, but trying to run the 'imported' server outside from IDE causes some exceptions in log files.

a) The IDE adds a filter section into ${CATALINA_HOME}/conf/web.xml to support requests monitoring
b) The 'jsp' servlet responsible to JSP pages org.apache.jasper.servlet.JspServlet is replaced by an IDE one.

Both these changes causes the external tomcat is not working anymore (without any modifications of the file of course ;-) ) ,for the classes specified in the global web.xml are missing.

The user may also be informed about the changes that are going to be done in the tomcat installation and undoubtedly a backup of the modified files has to be created.
Comment 1 Marek Fukala 2003-11-12 13:57:44 UTC
The some problem exists also in Nevada.
Comment 2 Marek Fukala 2003-11-14 09:01:18 UTC
Priority moved to P2
Comment 3 Milan Kuchtiak 2003-11-14 16:43:09 UTC
Netbeans3.5 was not intended to work wit Tomcat4.1.x external
installation in full IDE Integration Mode. This was described in
documentation.

More correct soulution would be to recognize the version and notify
the user about that.
Comment 4 Petr Jiricka 2004-01-07 11:00:38 UTC
Marek, can you please try out what the behavior is now? Since Tomcat
4.1 is not a target platform, changing to ENHANCEMENT.
Comment 5 Marek Fukala 2004-01-07 15:40:38 UTC
The behaviour has definitely changed. Now when you fill up the dialog
for your 4.1.* installation and press OK an ISE appears and no
instance is added. I would appreciate having a version simple test
performed after filling up the installation directory. It could warn
users that they are trying to use an unsupported version of tomcat.
Comment 6 Marek Fukala 2004-01-07 15:41:27 UTC
Created attachment 12760 [details]
The IllegalStateException
Comment 7 Petr Hejl 2011-03-23 10:27:01 UTC
We do not really plan to do anything for Tomcat 4.x.