connection refused

24 views
Skip to first unread message

Duke Tantiprasut

unread,
Nov 21, 2011, 11:46:41 AM11/21/11
to haze...@googlegroups.com
Hi All,

Any ideas what could be causing the following exception. This is running on a single machine with the configs below.

Thanks
Duke

2011-11-16 11:42:52,851  WARN [hz.1.OutThread] (?:?) - /192.168.80.10:5700 [rscontrol] Connection refused
java.net.ConnectException: Connection refused
        at sun.nio.ch.Net.connect(Native Method)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
        at com.hazelcast.nio.OutSelector$Connector.run(OutSelector.java:104)
        at com.hazelcast.nio.SelectorBase.processSelectionQueue(SelectorBase.java:103)
        at com.hazelcast.nio.SelectorBase.run(SelectorBase.java:119)
        at java.lang.Thread.run(Thread.java:619)


<?xml version="1.0" encoding="UTF-8"?>

<hazelcast xmlns:rsi="Resolve Systems" xmlns:common="Common">  
  <group> 
    <name>rscontrol</name>  
    <password>resolve</password> 
  </group>  
  <network> 
    <port auto-increment="true">5700</port>  
    <join> 
      <multicast enabled="false"> 
        <multicast-group>224.2.2.3</multicast-group>  
        <multicast-port>54327</multicast-port> 
      </multicast>  
      <tcp-ip enabled="true"> 
        <interface>192.168.80.10</interface>
      </tcp-ip> 
    </join>  
    <!--
        <interfaces enabled="true">
            <interface>127.0.0.1</interface>
        </interfaces>
        -->  
    <symmetric-encryption enabled="false"> 
      <!--
               encryption algorithm such as
               DES/ECB/PKCS5Padding,
               PBEWithMD5AndDES,
               AES/CBC/PKCS5Padding,
               Blowfish,
               DESede
            -->  
      <algorithm>PBEWithMD5AndDES</algorithm>  
      <!-- salt value to use when generating the secret key -->  
      <salt>thesalt</salt>  
      <!-- pass phrase to use when generating the secret key -->  
      <password>thepass</password>  
      <!-- iteration count to use when generating the secret key -->  
      <iteration-count>19</iteration-count> 
    </symmetric-encryption>  
    <asymmetric-encryption enabled="false"> 
      <!-- encryption algorithm -->  
      <algorithm>RSA/NONE/PKCS1PADDING</algorithm>  
      <!-- private key password -->  
      <keyPassword>thekeypass</keyPassword>  
      <!-- private key alias -->  
      <keyAlias>local</keyAlias>  
      <!-- key store type -->  
      <storeType>JKS</storeType>  
      <!-- key store password -->  
      <storePassword>thestorepass</storePassword>  
      <!-- path to the key store -->  
      <storePath>keystore</storePath> 
    </asymmetric-encryption> 
  </network>  
  <executor-service> 
    <core-pool-size>16</core-pool-size>  
    <max-pool-size>64</max-pool-size>  
    <keep-alive-seconds>60</keep-alive-seconds> 
  </executor-service>  
  <queue name="default"> 
    <!--
            Maximum size of the queue. When a JVM's local queue size reaches the maximum,
            all put/offer operations will get blocked until the queue size
            of the JVM goes down below the maximum.
            Any integer between 0 and Integer.MAX_VALUE. 0 means
            Integer.MAX_VALUE. Default is 0.
        -->  
    <max-size-per-jvm>10000</max-size-per-jvm>  
    <!--
            Maximum number of seconds for each item to stay in the queue. Items that are
            not consumed in <time-to-live-seconds> will automatically
            get evicted from the queue.
            Any integer between 0 and Integer.MAX_VALUE. 0 means
            infinite. Default is 0.
        -->  
    <time-to-live-seconds>0</time-to-live-seconds> 
  </queue>  
  <map name="default"> 
    <!--
            Number of backups. If 1 is set as the backup-count for example,
            then all entries of the map will be copied to another JVM for
            fail-safety. Valid numbers are 0 (no backup), 1, 2, 3.
        -->  
    <backup-count>1</backup-count>  
    <!--
            Valid values are:
            NONE (no eviction),
            LRU (Least Recently Used),
            LFU (Least Frequiently Used).
            NONE is the default.
        -->  
    <eviction-policy>NONE</eviction-policy>  
    <!--
            Maximum size of the map. When max size is reached,
            map is evicted based on the policy defined.
            Any integer between 0 and Integer.MAX_VALUE. 0 means
            Integer.MAX_VALUE. Default is 0.
        -->  
    <max-size>0</max-size>  
    <!--
            When max. size is reached, specified percentage of
            the map will be evicted. Any integer between 0 and 100.
            If 25 is set for example, 25% of the entries will
            get evicted.
        -->  
    <eviction-percentage>25</eviction-percentage> 
  </map> 
</hazelcast>


--
Duke Tantiprasut
Chief Technology Officer (CTO)
GenerationE Technologies
Email: duke.tan...@generationetech.com
Office: 949-325-0103
Cell: 858-232-8287

www.generationetech.com
www.resolve-systems.com

This message contains confidential information and is intended only for the individual named. If you are not the named addressee, any delivery, disclosure, dissemination or distribution of this e-mail is unlawful and strictly prohibited.   Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or without error, as information could be intercepted, corrupted, lost, destroyed, arrive late, be incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which errors or omissions arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. (genE-dct1)

Talip Ozturk

unread,
Nov 22, 2011, 8:13:03 AM11/22/11
to haze...@googlegroups.com
> Any ideas what could be causing the following exception. This is running on
> a single machine with the configs below.
> 2011-11-16 11:42:52,851  WARN [hz.1.OutThread] (?:?) -
> /192.168.80.10:5700 [rscontrol] Connection refused
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.Net.connect(Native Method)

Does it always happen? How can I reproduce this? Hazelcast version?

-talip

Duke

unread,
Dec 17, 2011, 10:54:58 PM12/17/11
to Hazelcast
Version is 1.9.4.4

Unfortunately it's intermittent. Not sure where to start looking as
it's a standalone server and should not be connecting with any other
node.

Duke

Reply all
Reply to author
Forward
0 new messages