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 131202 - Run action displays page before app is ready on WEBrick / JRuby
Summary: Run action displays page before app is ready on WEBrick / JRuby
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
: 142547 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-26 16:16 UTC by Erno Mononen
Modified: 2011-01-28 20:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2008-03-26 16:16:41 UTC
When using JRuby and WEBrick, loading Rails takes so long that often the application is not yet ready when the Run 
action has launched a browser to display it, forcing the user to reload the page. Caused by that currently we assume 
that when WEBrick outputs 'Rails application started at 3000' the app is ready, but this is not the case.
Comment 1 Erno Mononen 2008-08-08 12:54:24 UTC
*** Issue 142547 has been marked as a duplicate of this issue. ***
Comment 2 esmithbss 2008-09-29 04:19:06 UTC
This is also happening under Glassfish V3 (as well as WEBrick and Mongrel) so I don't believe it's necessarily the
"Rails application started at 3000' line that is quoted in the initial statement.