7 Replies Latest reply on May 17, 2013 9:16 AM by massassa

    JBREM000200: Remote connection failed: java.io.IOException

    thinksteep thinksteep Novice

      Hi Community,

       

      I am very frequently seeing following mesage in JBoss console.

       

      11:58:29,105 ERROR [org.jboss.remoting.remote.connection] (Remoting "computerName" read

      -1) JBREM000200: Remote connection failed: java.io.IOException: An established c

      onnection was aborted by the software in your host machine

      11:59:29,363 ERROR [org.jboss.remoting.remote.connection] (Remoting "computerName" read

      -1) JBREM000200: Remote connection failed: java.io.IOException: An established c

      onnection was aborted by the software in your host machine

      12:00:14,079 ERROR [org.jboss.remoting.remote.connection] (Remoting "computerName" read

      -1) JBREM000200: Remote connection failed: java.io.IOException: An established c

      onnection was aborted by the software in your host machine

       

      Not sure what is causing this issue. I  restarted JBoss server couple of times, still same issue.

       

      I looked at following thread but no clue. Any help would  be appreciated.

      https://community.jboss.org/message/730478

      https://issues.jboss.org/browse/AS7-1296

       

      We are using JBoss 7.1.1 Final. Are there any seetings we are missing? I am suspecting this issue causing memory leak because after sometime we are running outofmemory (heap). Any help would be appreciated.

       

      Thank you,

        • 2. Re: JBREM000200: Remote connection failed: java.io.IOException
          Mikhail Pryakhin Newbie

          Hi! We have the same problem. Have you solved it yet?

          • 3. Re: JBREM000200: Remote connection failed: java.io.IOException
            erasmo2 marciano2 Master

            It seems to be a bug of Jboss 7.0.1

             

            How you stat Jboss?

             

            Are you sure you are using Jboss 7.1.1 ?

             

            Have you done some deploy?

             

            How can I replcate youe scenary?

            • 4. Re: JBREM000200: Remote connection failed: java.io.IOException
              Stephen Coy Master

              Please provide all details of your runtime environments.

               

              Is there a firewall or other proxy device between servers?

              • 5. Re: JBREM000200: Remote connection failed: java.io.IOException
                Mikhail Pryakhin Newbie

                Thank you for replying.

                We are using jboss 7.1.1.

                 

                 

                Few words about starting our environment:

                 

                 

                We have one host which is runing as the domain controller and two hosts acting as slaves.

                Two AS7 instanses are running per slave host.

                All instances (domain controller, host controllers and AS7 instatnces) are wrapped with java service wrapper.

                 

                 

                Host on wich AS7 instances are running provides managment interfaces:

                 

                 

                <interface name='management'>

                   <inet-address value='${jboss.bind.address.management:127.0.0.1}'/>

                </interface>

                <interface name='public'>

                   <inet-address value='${jboss.bind.address:127.0.0.1}'/>

                </interface>

                    

                <domain-controller>

                        <remote host="stdint-domain" port="${jboss.domain.master.port:9999}" security-realm='ManagementRealm'/>

                </domain-controller>

                 

                 

                 

                 

                All properies are set in wrapper configuration file. (e.g wrapper.java.additional.17=-Djboss.bind.address.management=stdint-1)

                 

                 

                servers are confugured as follows :

                 

                 

                servers>

                        <server name='stdint-1a' group='prod-esb-cluster'>

                            <jvm name='default'>

                                <heap size='2048m' max-size='2048m'/>

                                <permgen size='256m' max-size='512m'/>

                                <!--<jvm-options>

                                   <option value="-agentpath:/opt/jprof/bin/linux-x64/libjprofilerti.so=port=8849"/>-->

                                   <!--<option value='-XX:+UseConcMarkSweepGC'/>

                                </jvm-options>-->

                            </jvm>

                            <socket-bindings port-offset='100'/>

                        </server>

                        <server name='stdint-1b' group='prod-esb-cluster'>

                            <jvm name='default'>

                                <heap size='2048m' max-size='2048m'/>

                                <permgen size='256m' max-size='512m'/>

                                <!--<jvm-options>

                                   <option value='-XX:+UseConcMarkSweepGC'/>

                                </jvm-options>-->

                            </jvm>

                            <socket-bindings port-offset='200'/>

                </server>

                 

                 

                There are no proxy devices or firewalls between servers.

                 

                 

                Every 5 minutes we receive an error message in the server.log file

                 

                 

                17:03:19,788 ERROR [org.jboss.remoting.remote.connection] (Remoting "stdint-1:stdint-1a" read-1) JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1246907721

                 

                 

                This message presents in log file only on the one host.

                 

                 

                The connection to this port is istablished between:

                 

                 

                tcp        0      0 10.20.3.125:39608           10.20.3.125:9999            ESTABLISHED 3401/java - this pid is an AS instance process

                tcp        0      0 10.20.3.125:54488           10.20.3.125:9999            ESTABLISHED 3418/java - this pid is an AS instance process

                tcp        0      0 10.20.3.125:55463           10.20.33.23:9999            ESTABLISHED 3265/java - this pid is the Host Controller instance process

                 

                 

                So I have no idea what process sends invalid messages to this port.

                 

                 

                Thank you.

                • 6. Re: JBREM000200: Remote connection failed: java.io.IOException
                  Sudhakar Pyndi Newbie

                  Hi,

                   

                  Were you able to resolve this issue? We are also seeing the same error message in the server.log file for every 20 seconds.

                  Appreciate any help that you can provide.

                   

                  Thank you in advance.

                  Sudhakar

                  • 7. Re: JBREM000200: Remote connection failed: java.io.IOException
                    massassa Newbie

                    Hi,

                     

                    I'm encountering the same problem while migrating my application from JBoss 6 to 7. Have you guys found any solution for this?

                     

                    Thanks