Hi!

I try to get rails-integration running for some days now without luck.
My environment is OSX with JRuby 1.0 but because I constantly get
errors I tried it also on a fresh CentOS 4.5 installation.

I downloaded and extracted
http://dist.codehaus.org/jruby/sample-rails-warfile.tar.gz
After running "jruby -S rake war:standalone:run" it downloads and
installs a few files and then starts the Jetty server.

When I point my browser to http://localost:8080/testapp/ the welcome
page is displayed. Clicking on "About your application's environment"
shows me the error message "The page you were looking for doesn't
exist.".

On the console I see the following ...

(in /root/test/testapp)
Assembling web application
  Adding web application
2007-06-25 21:58:24.000::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2007-06-25 21:58:24.197::INFO:  jetty-6.1.1
2007-06-25 21:58:24.321::INFO:  NO JSP Support for /testapp, did not
find org.apache.jasper.servlet.JspServlet
2007-06-25 21:58:24.709::INFO:  Started SelectChannelConnector @ 0.0.0.0:8080
2007-06-25 21:59:53.317:/testapp:INFO:  rails: Ruby is running in
standalone mode
2007-06-25 21:59:55.054:/testapp:INFO:  JRuby init time: 1729ms
/root/test/testapp/tmp/war/WEB-INF/gems/gems/actionmailer-1.3.3/lib/action_mailer.rb:49
warning: already initialized constant MAX_LINE_LEN
2007-06-25 22:00:01.500:/testapp:INFO:  Rails init time: 4604ms
2007-06-25 22:00:01.522:/testapp:INFO:  Extra init time: 21ms
2007-06-25 22:00:01.523:/testapp:INFO:  Runtime 0 loaded
2007-06-25 22:00:01.523:/testapp:INFO:  Requests can now be processed
/root/test/testapp/tmp/war/WEB-INF/gems/gems/actionmailer-1.3.3/lib/action_mailer.rb:49
warning: already initialized constant MAX_LINE_LEN
2007-06-25 22:00:06.216:/testapp:INFO:  Runtime 1 loaded
/root/test/testapp/tmp/war/WEB-INF/gems/gems/actionmailer-1.3.3/lib/action_mailer.rb:49
warning: already initialized constant MAX_LINE_LEN
2007-06-25 22:00:10.470:/testapp:INFO:  Runtime 2 loaded

The production.log shows ...

ActionController::RoutingError (no route found to match
"/rails/info/properties" with {:method=>:get}):
    
/root/test/testapp/tmp/war/WEB-INF/gems/gems/actionpack-1.13.3/lib/action_controller/routing.rb:1292:in
`recognize_path'
    
/root/test/testapp/tmp/war/WEB-INF/gems/gems/actionpack-1.13.3/lib/action_controller/routing.rb:1282:in
`recognize'
    
/root/test/testapp/tmp/war/WEB-INF/gems/gems/rails-1.2.3/lib/dispatcher.rb:40:in
`dispatch'
    <script>:0


I also tried the tutorial at http://www.techcfl.com/blog/?p=116


Can anyone point me in the right direction to solve my problem?


TIA,
Mike
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to