4 Replies Latest reply on Feb 26, 2013 10:54 PM by guptapraveen1977

    Remote connection failed: java.io.IOException: while running jEnterprise2010 benchmark tests with AS 7.1.2.

    guptapraveen1977

      Hi All,

       

      Finally, I could start the harness driver and schedule the run. The issue is tests are not started and it is showing only this out put.

       

      12:11:47 INFOStarting DealerDriverAgent[0] on host
      12:11:47 INFOStarting MfgDriverAgent[0] on host
      12:12:01 INFORamp up started

       

      I am using JDK version 6.0 and JBoss version is 7.1.2.


      Please help in resolving this issue.

       

      Thanks

      Praveen

      I am getting this exception on the AS console.

       

      11:11:59,493 INFO  [org.jboss.web] (MSC service thread 1-14) JBAS018210: Registering web context: /specj

      11:11:59,524 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "emulator.ear"

      11:11:59,526 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "specj.ear"

      11:11:59,615 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://15.146.232.135:9990

      11:11:59,616 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.2.Final "Steropes" started in 18136ms - Started 879 of 1

      039 services (156 services are passive or on-demand)

      12:11:54,748 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Accepted connection from /15.146.232.135:62101 to nsdi

      g8c.ind.hp.com/15.146.232.135:9999

      12:11:54,748 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Accepted connection from /15.146.232.135:62101 to nsdi

      g8c.ind.hp.com/15.146.232.135:9999

      12:11:54,757 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Setting read listener to org.jboss.remoting3.remote.Se

      rverConnectionOpenListener$Initial@153cd26

      12:11:54,757 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Setting read listener to org.jboss.remoting3.remote.Se

      rverConnectionOpenListener$Initial@153cd26

      12:11:54,761 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Sent message java.nio.HeapByteBuffer[pos=21

      lim=21 cap=8192] (direct)

      12:11:54,761 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Sent message java.nio.HeapByteBuffer[pos=21

      lim=21 cap=8192] (direct)

      12:11:54,765 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Flushed channel (direct)

      12:11:54,765 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Flushed channel (direct)

      12:11:54,768 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Connection error detail: java.io.IOExceptio

      n: Received an invalid message length of 1014130019

              at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:104) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:206) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:121) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) [xnio-api-3.0.3.GA.jar:3.0

      .3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) [xnio-api-3.0.3.GA.jar:3.0.

      3.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.nio.NioHandle.run(NioHandle.java:90)

              at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)

       

      12:11:54,768 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Connection error detail: java.io.IOExceptio

      n: Received an invalid message length of 1014130019

              at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:104) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:206) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:121) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) [xnio-api-3.0.3.GA.jar:3.0

      .3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) [xnio-api-3.0.3.GA.jar:3.0.

      3.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.nio.NioHandle.run(NioHandle.java:90)

              at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)

       

      12:11:54,793 ERROR [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java

      .io.IOException: Received an invalid message length of 1014130019

      12:11:54,793 ERROR [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java

      .io.IOException: Received an invalid message length of 1014130019

      12:12:01,487 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Accepted connection from /15.146.232.135:62106 to nsdi

      g8c.ind.hp.com/15.146.232.135:9999

      12:12:01,487 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Accepted connection from /15.146.232.135:62106 to nsdi

      g8c.ind.hp.com/15.146.232.135:9999

      12:12:01,490 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Setting read listener to org.jboss.remoting3.remote.Se

      rverConnectionOpenListener$Initial@1c74e4e

      12:12:01,490 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Setting read listener to org.jboss.remoting3.remote.Se

      rverConnectionOpenListener$Initial@1c74e4e

      12:12:01,494 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Sent message java.nio.HeapByteBuffer[pos=21

      lim=21 cap=8192] (direct)

      12:12:01,494 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Sent message java.nio.HeapByteBuffer[pos=21

      lim=21 cap=8192] (direct)

      12:12:01,497 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Flushed channel (direct)

      12:12:01,497 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Flushed channel (direct)

      12:12:01,506 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Connection error detail: java.io.IOExceptio

      n: Received an invalid message length of 1014130019

              at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:104) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:206) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:121) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) [xnio-api-3.0.3.GA.jar:3.0

      .3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) [xnio-api-3.0.3.GA.jar:3.0.

      3.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.nio.NioHandle.run(NioHandle.java:90)

              at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)

       

      12:12:01,506 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Connection error detail: java.io.IOExceptio

      n: Received an invalid message length of 1014130019

              at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:104) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:206) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:121) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) [xnio-api-3.0.3.GA.jar:3.0

      .3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) [xnio-api-3.0.3.GA.jar:3.0.

      3.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.nio.NioHandle.run(NioHandle.java:90)

              at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)

       

      12:12:01,531 ERROR [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java

      .io.IOException: Received an invalid message length of 1014130019

      12:12:01,531 ERROR [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java

      .io.IOException: Received an invalid message length of 1014130019

      12:12:02,543 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Accepted connection from /15.146.232.135:62108 to nsdi

      g8c.ind.hp.com/15.146.232.135:9999

      12:12:02,543 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Accepted connection from /15.146.232.135:62108 to nsdi

      g8c.ind.hp.com/15.146.232.135:9999

      12:12:02,547 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Setting read listener to org.jboss.remoting3.remote.Se

      rverConnectionOpenListener$Initial@17b0a83

      12:12:02,547 TRACE [org.jboss.remoting.remote] (Remoting "nsdig8c:MANAGEMENT" read-1) Setting read listener to org.jboss.remoting3.remote.Se

      rverConnectionOpenListener$Initial@17b0a83

      12:12:02,551 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Sent message java.nio.HeapByteBuffer[pos=21

      lim=21 cap=8192] (direct)

      12:12:02,551 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Sent message java.nio.HeapByteBuffer[pos=21

      lim=21 cap=8192] (direct)

      12:12:02,554 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Flushed channel (direct)

      12:12:02,554 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Flushed channel (direct)

      12:12:02,582 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Connection error detail: java.io.IOExceptio

      n: Received an invalid message length of 1014130019

              at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:104) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:206) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:121) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) [xnio-api-3.0.3.GA.jar:3.0

      .3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) [xnio-api-3.0.3.GA.jar:3.0.

      3.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.nio.NioHandle.run(NioHandle.java:90)

              at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)

       

      12:12:02,582 TRACE [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) Connection error detail: java.io.IOExceptio

      n: Received an invalid message length of 1014130019

              at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:104) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:206) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:121) [jboss-remotin

      g-3.2.7.GA.jar:3.2.7.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) [xnio-api-3.0.3.GA.jar:3.0

      .3.GA]

              at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) [xnio-api-3.0.3.GA.jar:3.0.

      3.GA]

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) [xnio-api-3.0.3.GA.jar:3.0.3.GA]

              at org.xnio.nio.NioHandle.run(NioHandle.java:90)

              at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)

       

      12:12:02,605 ERROR [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1014130019

      12:12:02,605 ERROR [org.jboss.remoting.remote.connection] (Remoting "nsdig8c:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java

      .io.IOException: Received an invalid message length of 1014130019

        • 1. Re: Remote connection failed: java.io.IOException: while running jEnterprise2010 benchmark tests with AS 7.1.2.
          whitingjr

          Hi Praveen,

          Are you running AS7 and the Faban harness on the same machine ?

           

          Regards,

          Jeremy

          • 2. Re: Remote connection failed: java.io.IOException: while running jEnterprise2010 benchmark tests with AS 7.1.2.
            guptapraveen1977

            Hi Jeremy,

            Thanks for your response. Yes, I am running both AS7 and  Faban harness on same machine. Later on, I figure it out.  It is due to the port conflict between harness and AS management (jboss.management.native.port) port, as both were using port "9999".

            So, I changed the "jboss.management.native.port" to '10000' and the exception were gone.

             

            Now, I have moved forward but it with another issue. The issue is with MfgDriverAgent[0].0: Error initializing driver object. Looks like context is null.

             

            Could you please let me know what could be the issue?

             

            Thanks

            Praveen

            Exception:

            Message:

            javax.naming.NameNotFoundException: JBAS011855: Name 'WorkOrderSession!org.spec.jent.ejb.mfg.session.WorkOrderSessionRemote' not found in context ''

            Stack Trace:

            ClassMethodLine
            org.jboss.as.naming.util.NamingUtilsnameNotFoundException111
            org.jboss.as.naming.InMemoryNamingStore$NodeTraversingVisitorvisit376
            org.jboss.as.naming.InMemoryNamingStore$ContextNodeaccept315
            org.jboss.as.naming.InMemoryNamingStorelookup162
            org.jboss.as.naming.NamingContextlookup178
            org.jboss.as.naming.InitialContextlookup119
            org.jboss.as.naming.NamingContextlookup214
            javax.naming.InitialContextlookup392
            org.spec.jent.driver.Driverlookup157
            org.spec.jent.driver.MfgDriverinitializeEJBWorkOrderService309
            org.spec.jent.driver.MfgDriver<init>260
            sun.reflect.NativeConstructorAccessorImplnewInstance0
            sun.reflect.NativeConstructorAccessorImplnewInstance39
            sun.reflect.DelegatingConstructorAccessorImplnewInstance27
            java.lang.reflect.ConstructornewInstance513
            java.lang.ClassnewInstance0355
            java.lang.ClassnewInstance308
            com.sun.faban.driver.engine.TimeThreaddoRun73
            com.sun.faban.driver.engine.AgentThreadrun202
            • 3. Re: Remote connection failed: java.io.IOException: while running jEnterprise2010 benchmark tests with AS 7.1.2.
              whitingjr

              Hi Praveen,

              Good to see you worked out the port conflict. That solution worked for me too in the past.

               

              Rather than post your next issue in this same forum post please start a new user forum post with the problem you are having next. Also update the resolution of this forum post now the solution is available.

               

              Regards,

              Jeremy

              • 4. Re: Remote connection failed: java.io.IOException: while running jEnterprise2010 benchmark tests with AS 7.1.2.
                guptapraveen1977

                HI Jeremy,

                 

                I have marked this as aolution available. Thanks for your advise. I have started a new discussion for the new issue.

                 

                Regards

                Praveen