Lea Viljanen
2007-Feb-16 17:15 UTC
[Masterview-users] FYI: Masterview admin pages visibility, webrick and radrails
I had weird problem where I could not see the masterview admin page at all. Web server kept on saying: Initializing MasterView configuration (2007-02-16 18:59) Program name = -e => Rails application started on http://0.0.0.0:3001 => Ctrl-C to shutdown server; call with --help for options [2007-02-16 18:59:42] INFO WEBrick 1.3.1 [2007-02-16 18:59:42] INFO ruby 1.8.5 (2006-12-25) [i686-linux] [2007-02-16 18:59:42] INFO WEBrick::HTTPServer#start: pid=27462 port=3001 Now, everybody FAMILIAR with Masterview would instantly know that Webrick is not actually running the Masterview code at all. However, installing and running Masterview for the first time I did not even realize this before I read http://rubyforge.org/pipermail/masterview-users/2006-October/000083.html. The problem turned out to be a problem/feature in Eclipse Radrail plugin, which spawns Webrick using a lot of "-e some_code_here". And this causes the program name to be set to "-e" and Masterview code would not run. The solution is to define a new set of web servers via the "External tools" mechanism instead of relying on the default generated web servers. I though this ought to be documented somewhere, it took me some hours to debug.
Jeff Barczewski
2007-Feb-16 17:31 UTC
[Masterview-users] FYI: Masterview admin pages visibility, webrick and radrails
Lea, Thank you for posting this. I will see what I can do to resolve the issue when running with RadRails. Blessings, Jeff On 2/16/07, Lea Viljanen <Lea.Viljanen at iki.fi> wrote:> > I had weird problem where I could not see the masterview admin page at > all. Web server kept on saying: > > Initializing MasterView configuration (2007-02-16 18:59) > Program name = -e > => Rails application started on http://0.0.0.0:3001 > => Ctrl-C to shutdown server; call with --help for options > [2007-02-16 18:59:42] INFO WEBrick 1.3.1 > [2007-02-16 18:59:42] INFO ruby 1.8.5 (2006-12-25) [i686-linux] > [2007-02-16 18:59:42] INFO WEBrick::HTTPServer#start: pid=27462 port=3001 > > Now, everybody FAMILIAR with Masterview would instantly know that > Webrick is not actually running the Masterview code at all. However, > installing and running Masterview for the first time I did not even > realize this before I read > http://rubyforge.org/pipermail/masterview-users/2006-October/000083.html. > > The problem turned out to be a problem/feature in Eclipse Radrail > plugin, which spawns Webrick using a lot of "-e some_code_here". And > this causes the program name to be set to "-e" and Masterview code would > not run. The solution is to define a new set of web servers via the > "External tools" mechanism instead of relying on the default generated > web servers. > > I though this ought to be documented somewhere, it took me some hours to > debug. > _______________________________________________ > Masterview-users mailing list > Masterview-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/masterview-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20070216/33d4b6f8/attachment.html