Reproduce Bug 264203

8:38 AM / Comments (5) / by Kevin Vu

Bug 264203:
Steps To Reproduce from BugZilla:
1. Create a server (I tried tomcat 5.5 and the j2ee preview server)
2. Add a simple JSP file to the webcontent folder of a dynamic web project
3. Add the web project to the server.
4. Make sure the server is stopped
5. Right click on the JSP and select "run on server"
6. The server starts, but the web browser does not get launched.


MY REPRODUCE :
1. Create a server (I tried with both Tomcat 5.5 and 6.0)
2. Add Web Project
3. Add JSP file
4. Run on Server
5. Server starts, web browser get launched => No bug

Conclusion:
This bug is fixed for lastest build 3.1M6. I tried with both Tomcat 5.5 and 6.0. Notify and confirm this on Bugzilla

Some screenshots for reproduce steps:









5 comments:

Bliss @ April 9, 2009 at 10:33 AM

Kevin,

Could you try to fix it, please?

Jordan

Kevin Vu @ April 9, 2009 at 10:52 AM

Hi Jordan, I think this bug is fixed for the lastest build 3.1M6. The bug reporter was using an earlier version 3.0.4. Is it necessary that we still fix this bug for v3.0.4?

Kevin Vu @ April 9, 2009 at 1:24 PM

I reported this on bugzilla.

Kevin

Tahereh @ April 9, 2009 at 8:34 PM

Hi Kevin,

Please see http://myblog110.wordpress.com/2009/04/10/wtp-bug-264203/ for related info.

Tahereh

Kevin Vu @ April 9, 2009 at 9:08 PM

Thanks Tehereh, I figured out how the bug is produced. The scenario is like this:

1. Add new server (Stop state)
2. Add a dynamic web app.
3. Add a jsp file.
4. right-click on jsp and choose "Run on server".
5. Server starts.
6. Browser get launched
==> NO BUG

7. Stop the server and close the browser
8. right-click on the jsp and choose "Run on server" again
9. Browser doesn't get launched.
==> BUG

-------------------------------------------
10. Delete server
11. Add new server
12. right-click on jsp file and choose "Run on server" again
13. Browser get launched
==> NO BUG


SO basically, after the first time run on server. The BUG's occurred.