Java 7 - Connect Fail - Errno::ECONNREFUSED
-------------------------------------------

                 Key: JRUBY-6174
                 URL: https://jira.codehaus.org/browse/JRUBY-6174
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.6.4
         Environment: Windows 7 64-bit SP1
x86 (32-it)
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)

Also, c.f. -- WORK-ing on:

java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
 ... (Same PC)
            Reporter: will mason
             Fix For: JRuby 1.6.4


Simply, this is a new PC.  Windows 7 and Java 6 and Java 7 (interchangeable)

JRuby fails to connect with the Java 7 and works with Java 6!


* Example: ruby gems install rake ...


1/.  (Java 7 -- Fails)

z:...> jruby -S gem install rake
ERROR:  Could not find a valid gem 'rake' (>= 0) in any repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ECONNREFUSED: Connection refused - Connection refused 
(http://rubygems.org/latest_specs.4.8.gz)


2/.  (Java 6 -- Work)

z:...> jruby -S gem install rake
Fetching: rake-0.9.2.2.gem (100%)
Successfully installed rake-0.9.2.2
1 gem installed

--------------

I've only tested this with the two 32-bit Java versions.  It bothers me 
extremely that the same JRUBY version fails with one Java (minor) version 
upgrade.  Recalling that Java 7 is only, Java 1.7.1


--
This message is automatically generated by JIRA.
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


Reply via email to