This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 242128 - Run On Server action launches WebBrowser before the server reache started
Summary: Run On Server action launches WebBrowser before the server reache started
Status: CLOSED DUPLICATE of bug 255561
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Larry Isaacs CLA
QA Contact: Tim deBoer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 17:50 EDT by Angel Vera CLA
Modified: 2011-10-11 10:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angel Vera CLA 2008-07-25 17:50:32 EDT
Using Tomcat, Run On Server action launches WebBrowser before the server has reached the Started state, and the page display shows as a error. This might be related to some changes that we missed in bug 240918.
Comment 1 Angel Vera CLA 2008-08-01 10:17:28 EDT
Further investigating it seems to be a problem affecting Tomcat 5.5, I tried to recreated with Tomcat 6.0 and I didn't get the problem.

Debugging through the code Tomcat does not implement a restart and so I don't think the problem is related to bug 240918 as those changes affect only server that implement restart. 

Will need to investigate more.
Comment 2 Larry Isaacs CLA 2008-08-01 10:35:01 EDT
Hi Angel,

I haven't seen this behavior.  I'll be glad to help investigate, but will need more details about your use case.

Cheers,
Larry
Comment 3 Angel Vera CLA 2009-01-22 07:54:59 EST
Hi Larry, 

I had time to look into this, the key in this bug is that the switch of state needs to happen. The steps are as follow using a Tomcat 6.0.14:

1. Create a web project
2. Add the web project to the Server
3. Start the server in normal mode
(at this point everything is working fine, you add a jsp and the jsp gets published)
4. Right click on the JSP, and select 'Debug As'
5. A dialog will come up and prompt you to switch modes
(this is where the problem happened)
6. The browser launches displaying the URL, but it will soon display a 'Action Canceled' or something similar, because the server is still in the restarting cycle.
Comment 4 Angel Vera CLA 2009-01-23 11:06:10 EST
Larry, I have added my response to your comments, assigning to you.
Comment 5 Angel Vera CLA 2009-08-24 15:27:11 EDT

*** This bug has been marked as a duplicate of bug 255561 ***
Comment 6 Larry Isaacs CLA 2011-10-11 10:55:13 EDT
Closing old bug.