Community
Participate
Working Groups
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.
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.
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
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.
Larry, I have added my response to your comments, assigning to you.
*** This bug has been marked as a duplicate of bug 255561 ***
Closing old bug.