Mongrel clashes with JVM for the right to handle SIGUSR1
--------------------------------------------------------
Key: JRUBY-1277
URL: http://jira.codehaus.org/browse/JRUBY-1277
Project: JRuby
Issue Type: Bug
Components: JRuby-extras
Affects Versions: JRuby 1.x
Environment: JRuby trunk, rev 4178
JVM 1.6.0-b105
Ubuntu 7.0 desktop
mongrel-1.0.1-jruby.gem
Rails 1.2.3
skeleton Rails app produced by 'rails foo'
Reporter: Alexey Verkhovsky
Assignee: Thomas E Enebo
run jruby script/server webrick - everything starts and works fine and dandy
run jruby script/server mongrel - exception is thrown when Mongrel tries to set
up a signal handler for USR1
relevant bits of the stack trace:
Signal.java:149:in `sun.misc.Signal.handle':
java.lang.IllegalArgumentException: Signal already used by VM: SIGUSR1
(NativeException)
...
from Main.java:96:in `org.jruby.Main.main'
from
/home/alexeyv/src/jruby/jruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-jruby/lib/mongrel/configurator.rb:362:in
`setup_signals'
...
JVM handles USR1 itself. I tried passing java a -XX:+UseAltSigs option, but it
didn't 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