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

Summary: Change Tomcat initialization to lazy
Product: javaee Reporter: Milan Kuchtiak <mkuchtiak>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: CLOSED FIXED    
Severity: blocker CC: mkuchtiak
Priority: P3    
Version: 3.x   
Hardware: All   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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.