Cannot start glassfish daemonized with rails 2.3.x using bundler when rack 1.2.1 is installed ---------------------------------------------------------------------------------------------
Key: JRUBY-5308 URL: http://jira.codehaus.org/browse/JRUBY-5308 Project: JRuby Issue Type: Bug Components: JRuby-extras Affects Versions: JRuby 1.5.1 Environment: bundler 1.0.5, glassfish 1.0.2/1.0.3, rails 2.3.9/2.3.10 Reporter: Uwe Kubosch Priority: Blocker I have rack 1.1.0 and rack 1.2.1 installed because I need to also run Rails 3 applications that require rack 1.2.1. I use rails 2.3.x with bundle setup being loaded in the preinitializer as per bundler home page instructions. I wish to start the rails application with glassfish in daemonized mode. When starting glassfish directly, glassfish requires rack, and rack 1.2.1 is loaded. When glassfish starts the rails application, it requires rack 1.1.0, and fails. When starting glassfish with "jruby -S bundle exec glassfish -d" the same happens for the damonized glassfish process. When starting glassfish with "jruby -S bundle exec glassfish", without the -d option, it works fine, but the process is not daemonized, and no PID file is written. It seems the bundle setup is lost when the glassfish process is daemonized. Is it possible to delay the loading of rack from glassfish until the preinitializer script in the application has been run? This is biting us in production. Please help! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email