Menu

#8 404 on /mylyn/*

closed-fixed
None
5
2009-10-05
2009-09-19
No

I got a 404 on paths "mylyn/" after clean install.

Processing ApplicationController#index (for 83.24.147.73 at 2009-09-19 08:16:20) [GET]

ActionController::RoutingError (No route matches "/mylyn/version" with {:method=>:get}):
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /home/radical/projects/public/404.html (404 Not Found)

Redmine 0.8.5.devel.2890, svn trunk.

Discussion

  • Nobody/Anonymous

    What did you installed/configured (Server and Clientside) ?

     
  • Bill Kocik

    Bill Kocik - 2009-09-19

    I'm having the same issue, 404's on /mylyn/* and /eclipse_mylyn_connector/*

    Workaround: Take all the "connect..." lines from vendor/plugins/redmine_mylyn_connector/routes.rb and enter them as "map.connect..." lines within the "ActionController::Routing::Routes.draw do |map|" block in <redmine-install>/config/routes.rb

    I installed the server-side plugin like this, which got me version 2.5.0.trunk:

    ruby script/plugin install https://redmin-mylyncon.svn.sourceforge.net/svnroot/redmin-mylyncon/redmine_mylyn_connector/trunk

    Client side, I have 3.1.0.N200909081921-r263, installed from the update site (http://redmin-mylyncon.sourceforge.net/update-site/nightly/), although this seems pretty clearly to be a server-side issue. Eclipse version is 3.5. When configuring the repository, I choose the RESTful plugin.

    Server setup:
    Redmine 0.8.4.devel.2888
    Rails 2.3.4 (the above version of Redmine requires at least 2.3.2)
    Phusion Enterprise Ruby 1.8.6 (2008-08-11 patchlevel 287)
    Phusion Passenger 2.2.4
    Apache 2.2.11

    Clicking "Validate Settings" produces this stacktrace on the server:
    Processing ApplicationController#index (for 24.126.38.28 at 2009-09-19 13:06:27) [GET]

    ActionController::RoutingError (No route matches "/mylyn/version" with {:method=>:get}):
    passenger (2.2.4) lib/phusion_passenger/rack/request_handler.rb:91:in `process_request'
    passenger (2.2.4) lib/phusion_passenger/abstract_request_handler.rb:206:in `main_loop'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:376:in `start_request_handler'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
    passenger (2.2.4) lib/phusion_passenger/utils.rb:182:in `safe_fork'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:162:in `start'
    passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:261:in `spawn_rails_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:254:in `spawn_rails_application'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application'
    passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'

    Rendering /var/www/redmine/public/404.html (404 Not Found)

     
  • Nobody/Anonymous

    Nasty workaround.
    But it's true - they are not registered with ActionController.

    And the answer for the question from nobody - I've installed trunk, trunk everywhere.
    2.5.0.trunk.263

    Working on solution on my own now...

     
  • Sven Krzyzak

    Sven Krzyzak - 2009-09-19

    Sorry, but your version of Rails (2.3.4) isn't supported at the moment.

     
  • Sven Krzyzak

    Sven Krzyzak - 2009-09-19
    • status: open --> closed-invalid
     
  • Nobody/Anonymous

    I noticed.
    Now let's try and do something about it, since Redmine change this dependency :-)

     
  • Sven Krzyzak

    Sven Krzyzak - 2009-09-19

    Sure. But i have to run all tests before i can say: it works.

     
  • Nobody/Anonymous

    OK, any ETA?
    I'm asking because I already started to look for the solution. Read the docs and made /mylyn/version up and working on both new and old Redmine. But it took me a while since 5 hours ago I knew nothing about Ruby and Rails...

    So I do not want to duplicate the work :)

     
  • Sven Krzyzak

    Sven Krzyzak - 2009-09-20
    • labels: 1158009 -->
    • milestone: 896965 -->
    • status: closed-invalid --> pending-fixed
     
  • Sven Krzyzak

    Sven Krzyzak - 2009-09-20

    Fixed, try again please.

     
  • Łukasz Rżanek

    Łukasz Rżanek - 2009-09-20

    Great!
    Thanks for the effort!

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.