David, On Aug 31, 2010, at 6:27 PM, David Lutterkort wrote: > > ACK. Is Webrick the recommended web server under jruby ? I assume under > torquebox you do something completely different to tie into Tomcat.
Webrick really is only suitable for development. For production deployment, you'd want to use something like TorqueBox, GlassFish, or Tomcat and jruby-rack / warbler. For TorqueBox, all you need to do is install the deltacloud-core gem (once the jruby patches are pushed upstream) and create a deployment descriptor in $TORQUEBOX_HOME/jboss/server/default/deploy/deltacloud-rack.yml. Example below and at http://gist.github.com/559901 --- application: RACK_ROOT: $TORQUEBOX_HOME/jruby/lib/ruby/gems/1.8/gems/bbrowning-deltacloud-core-0.0.4-java RACK_ENV: production web: context: /deltacloud environment: API_DRIVER: ec2 This sets up deltacloud-core at http://localhost:8080/deltacloud running the ec2 driver. Ben
