jruby --ng-server dies when JRUBY_OPTS="--1.9" is set
-----------------------------------------------------
Key: JRUBY-5611
URL: http://jira.codehaus.org/browse/JRUBY-5611
Project: JRuby
Issue Type: Bug
Components: Application Error
Affects Versions: JRuby 1.6
Environment: OS X 10.6.6 (Darwin 10.6.0 Darwin Kernel Version 10.6.0:
Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386 i386)
Reporter: Charl Matthee
When you try to start the nailgun server (using jruby 1.6.0) it dies with a
java.net.UnknownHostException exception if you have JRUBY_OPTS="--1.9" set and
are not root:
$ jruby --ng-server
Exception in thread "main" java.net.UnknownHostException: --1.9
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
at java.net.InetAddress.getAllByName(InetAddress.java:1084)
at java.net.InetAddress.getAllByName(InetAddress.java:1020)
at java.net.InetAddress.getByName(InetAddress.java:970)
at com.martiansoftware.nailgun.NGServer.main(Unknown Source
Running the same as root (via sudo) seems to work fine.
Here's the jruby version info:
$ jruby -v
jruby 1.6.0 (ruby 1.9.2 patchlevel 136) (2011-03-15 f3b6154) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
--
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