Sign in or 

| Started By | Thread Subject | Replies | Last Post | ||||
|---|---|---|---|---|---|---|---|
| simoha78 | Error by deploying rails Apps on tomcat | 1 | Sep 22 2009, 1:47 PM EDT by saturnflyer | ||||
|
Thread started: Aug 26 2009, 6:16 AM EDT
Watch
I have a Rails application (MyApp) and want deploy it on Tomcat.
- The configuration files (environment.rb, database.rb, warble.rb) are correctly configured. - *** LOCAL GEMS *** actionmailer (2.3.3) actionpack (2.3.3) activerecord (2.3.3) ActiveRecord-JDBC (0.5) activerecord-jdbc-adapter (0.9.1) activerecord-jdbcmysql-adapter (0.9.1) activeresource (2.3.3) activesupport (2.3.3) ambethia-smtp-tls (1.1.2) builder (2.1.2) camping (1.5.180) chronic (0.2.3) fastercsv (1.5.0) hoe (2.3.3) jdbc-mysql (5.0.4) jruby-openssl (0.5.1) markaby (0.5) metaid (1.0) mislav-will_paginate (2.3.11) packet (0.1.15) rack (1.0.0) rails (2.3.3) rake (0.8.7) rspec (1.2.6) rubyforge (1.0.4) rubygems-update (1.3.5) rubyist-aasm (2.1.1) sources (0.0.1) test-spec (0.10.0) warbler (0.9.13) will_paginate (2.2.2) I use Warbler for creating the WAR file, then I copy this fWAR-file into webapps, start tomcat and call: http://localhost:8080/myApps. Then I get in logs from Tomcat, the following error: org.jruby.rack.RackInitializationException: no such file to load -- packet from file:/C:/Programme/Apache Software Foundation/apache-tomcat-6.0.20/webapps/Jruby_App/WEB-INF/lib/jruby-complete-1.3.0RC1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' I extended my Application with the following plug-ins: attachment_fu, auto_complete, backgroundrb, restful_authentication I think they cause this problem. I think they should be installed on the Tomcat server too, but I don't know, how I do it. Can you please tell me wat I am missing? Thanks im Advance
Show Last Reply
|
|||||||
| PaulHoehne | Error during jruby-rack initialization | 1 | Jul 25 2009, 9:53 PM EDT by PaulHoehne | ||||
|
Thread started: Jul 24 2009, 6:40 PM EDT
Watch
I followed the instructions (except postgres instead of Oracle and JRuby-1.3.1). On both the OC4J and Weblogic containers I get an exception thrown during jruby-rack initialization. As this is an empty application, only updated to include a valid database connection for production and configured for warbler, I find it a little odd. I'm able to deploy the same war file on glassfish 2.1 with no problem. I'm trying to deploy on either 10.1.3.4 (OC4J) or the current WebLogic server.
Show Last Reply
|
|||||||
