Bugs: Browse | Submit New | Admin

[#27586] glassifsh gem exits when started from Capistrano

Date:
2009-12-17 18:26
Priority:
3
Submitted By:
Vivek Pandey (vivekp)
Assigned To:
Vivek Pandey (vivekp)
Category:
gem
State:
Open
Target Release:
 
Summary:
glassifsh gem exits when started from Capistrano

Detailed description
Attempting to start Glassfish (1.0.0) in daemon mode via the gem with Capistrano (2.5.10) results in the Glassfish process
existing immediately iff the “default_run_options[:pty]” Capistrano variable is set to “true”.

If it is false (the default), then the Glassfish daemon process survives and all is well.

So the workaround is to make the default setting:

default_run_options[:pty] = false

Reference: http://timothynjones.wordpress.com/2009/12/16/fix-for-glassfish-spontaneously-exiting-under-capistrano/

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item