Follow the bug issue here : http://jira.codehaus.org/browse/JRUBY-5285
Thanks Nick.
The issue you point does not apply to my case.
I have tried to reproduce the scenario and stumbled into other issues.
I’ll keep in touch.
Hi, Miguel,
For deployment issues on Engine Y.'s AppCloud, please take that to the
proper support channel.
It will be most likely be me, but we should discuss this issue
elsewhere. Can you send me your email address so that I can take a look?
Thanks.
I am able to reproduce the same problem with a simple rails app on
Engine Y. AppCloud JRuby (beta)
Download from github:
https://github.com/lemig/basic_rails3_app
Or open a terminal and recreate locally :
rvm use jruby-head
rails new basic_rails3_app
cd basic_rails3_app
cat < Gemfile
source ‘http://gems.engineyard.com’
source “http://rubygems.org” # needed because of rake 0.8.7 known
issue
gem ‘rails’, ‘3.0.3’
if defined?(JRUBY_VERSION)
gem ‘activerecord-jdbc-adapter’
gem ‘jruby-openssl’
gem ‘jdbc-mysql’, :require => false
gem ‘jdbc-sqlite3’, :require => false
gem ‘glassfish’, ‘1.0.3’
else
gem ‘sqlite3-ruby’, :require => ‘sqlite3’
end
EOF
bundle install
rails g scaffold post title:string content:text
rake db:migrate
glassfish . #It should work locally, check http://0.0.0.0:3000/posts
Now I want to deploy to Engine Y. AppCloud running JRuby.
(This is mandatory for me, since the project I intend to deploy later
will require the Celerity gem.)
So I follow the instructions :
Quick Start:
Git URI : [email protected]:lemig/basic_rails3_app.git
App Type : Rails 3
App version : 3.0.3
Env: development
Ruby Runtime : JRuby 1.6.0.dev (beta)
Web Server : Glassfish
Next >>
Deploy Key
My deploy key is in place
Next >>
Gems
Remove Rails 3.0.3
Add Bundler 1.0.7
Next >>
Add SSH Keys
Done
Next >>
Configuration for basic_rails3_app_development
Single Server
Use Amazon public hostname
Boot >>
Environments
basic_rails3_app_development
Instances
waiting…finally turns green
Applications
Migrate? uncheck
HEAD Deploy
waiting…finally turns green
But when I browse I get :
Something went wrong on the server.
Check the server log for details!
Powered by GlassFish v3
In my development. log, I see the following error: see attachment
Hirotsugu A. wrote in post #971686:
Hi, Miguel,
For deployment issues on Engine Y.'s AppCloud, please take that to the
proper support channel.It will be most likely be me, but we should discuss this issue
elsewhere. Can you send me your email address so that I can take a look?Thanks.
Hi Hirotsugu,
My e-mail is lemig-at-hotmail-dot-com
Thanks.