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 10860 - Change Tomcat initialization to lazy
Summary: Change Tomcat initialization to lazy
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All Windows ME/2000
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-30 09:28 UTC by Milan Kuchtiak
Modified: 2001-09-18 11:09 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 2001-03-30 09:28:31 UTC
Sometimes an exception is arising
Comment 1 Milan Kuchtiak 2001-04-05 13:06:17 UTC
The Tomcat Data Object is being initialized in TomcatModuleInstall class. 
This is due to that TomcatModuleInstall adds Tomcat Web Server (it's node) to 
Server Registry. Tomcat node is made as DataNode which requires to have 
TomcatDataObject ready that time. This needs to be changed in future and Tomcat 
Node should be reprogrammed.
Comment 2 Milan Kuchtiak 2001-04-05 13:08:46 UTC
The Tomcat Data Object is being initialized in TomcatModuleInstall class. 
This is due to that TomcatModuleInstall adds Tomcat Web Server (it's node) to 
Server Registry. Tomcat node is made as DataNode which requires to have 
TomcatDataObject ready that time. This needs to be changed in future and Tomcat 
Node should be reprogrammed.
Comment 3 Jan Chalupa 2001-05-06 15:48:28 UTC
Target milestone -> 3.3
Comment 4 Milan Kuchtiak 2001-09-18 11:07:56 UTC
Tomcat Data Object constructor now is not called at startup - only 
when actually needed. This happens in these cases :

- when Tomcat Plugin node is opened
- WEB-INF node is opened(this is due to the fact that WEB-INF needs to
  have Tomcat in it's execution/targetServer combo box list) 
Comment 5 Milan Kuchtiak 2001-09-18 11:09:37 UTC
I verified this.