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 20240 - duplicate tomcat4.0 entries in Execution window
Summary: duplicate tomcat4.0 entries in Execution window
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Damian Frach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-06 23:13 UTC by joannelau
Modified: 2002-06-07 22:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
gif file attached since it doesn't accept tar file (4.73 KB, image/gif)
2002-02-07 15:51 UTC, joannelau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joannelau 2002-02-06 23:13:57 UTC
Build: CE 020206_1
Platform: Solaris
 
Duplicate processes of Tomcat4.0[Internal:localhost] entries listed in
Execution View window when select in the Explore [Runtime] tab -L
  Installed Servers->Tomcat4.0 -> Internal -> Start Server

Steps to reproduce the problem:

in Explorer[runtime]:
Bringup the Execution View window on 1 side

 1) Install an external tomcat4.0 
     (e.g. /export/joanne2/jakarta-tomcat-4.0.1)

 2) select Installed Servers -> /export/joanne2/jakarta-tomcat-4.0.1 ->
    localhost:8080 -> Set as Default

 3) select /export/joanne2/jakarta-tomcat-4.0.1 -> start Server
 4) stop server
 5) Set internal tomcat as default
      select Installed Servers -> Tomcat 4.0 -> Internal -> localhost:8080
       -> Set as Default

 6) Installed Servers -> Tomcat 4.0 -> Internal -> Start server

     This results to duplicate Tomcat4.0 [Internal:localhost] entries displayed
     in the Execution view window

  User needs to terminate each of them.

  7) Another problem is that stop server from the internal tomcat does
  not reflect changes the execution View window either.

  Attached tar file which includes the Explorer and Execution snap shots.
Comment 1 joannelau 2002-02-07 15:51:55 UTC
Created attachment 4601 [details]
gif file attached since it doesn't accept tar file
Comment 2 Damian Frach 2002-02-18 16:20:01 UTC
works for me

win 2000; jdk 1.4; Forte EE v. 4.0-EA (Build 20020218-1130)
- add external tomcat
- set as default localhost of the external tomcat
- start external tomcat
- stop external tomcat
- set as default localhost of the internal tomcat
- start internal tomcat
- stop internal tomcat

all is OK

Comment 3 joannelau 2002-02-19 20:41:34 UTC
I see that now the internal tomcat process entry is fixed in the
execution window. However if you use an external tomcat, 
modify the server.xml, and start server of the external tomcat,
there will be double or even triple entries of the process in the
execution window.  Instead of filing another bug, I think there is
still a problem in this area. I've tested with 020218 EE on win 2000.
Comment 4 joannelau 2002-02-19 20:42:11 UTC
I've reopened this issue.
Comment 5 Damian Frach 2002-02-20 11:09:36 UTC
win 2000; jdk 1.4; Forte for Java, EE v. 4.0-EA (Build 20020220-0509)

works good for me (I fixed something similar on 19.)
- add external install.
- set as default the external install.
- execute a JSP
- modify server.xml (I changed port number)
- execute force reload the JSP

- only one process in the exec. window

Can you retest this again.
If you find some problems, can you write me precise steps for 
reproduction (something like previous lines)

Thanks
Comment 6 joannelau 2002-02-21 16:32:02 UTC
I've tested it again with build 020220_1 EE and the problem no longer 
appears.
Comment 7 Mikhail Romanov 2002-03-15 22:45:35 UTC
Verified in Build 020315.