2 Replies Latest reply on Jun 24, 2014 10:10 AM by Wolf-Dieter Fink

    outbound of Remoting connection closed in JBoss AS 7.1

    Gerardo Ferrari Newbie

      I have a client with main method.

      If my client invoke my ServiceLocator the client doesn't work fine, work randomly.

      But if I set the Context into my client, the program client work fine and finish successfully.

      Even if I use my ServiceLocator and set a Context into my client class, but I don't use this context defined, I using my serviceLocator method, then the client work fine too !!

       

      this is the error when the client doesn't work

       

      Exception in thread "main" java.lang.reflect.UndeclaredThrowableException

          at com.sun.proxy.$Proxy0.obtenerAutomotores(Unknown Source)

          at uy.gub.dgr.bsa.test.MainPrueba.main(MainPrueba.java:81)

      Caused by: java.io.IOException: Channel Channel ID da1bffd7 (outbound) of Remoting connection 1773180c to null has been closed

          at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:110)

          at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:102)

          at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(SpiUtils.java:54)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable$CloseHandlerTask.run(AbstractHandleableCloseable.java:501)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable.runCloseTask(AbstractHandleableCloseable.java:406)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeComplete(AbstractHandleableCloseable.java:277)

          at org.jboss.remoting3.remote.RemoteConnectionChannel.closeAction(RemoteConnectionChannel.java:517)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359)

          at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAllChannels(RemoteConnectionHandler.java:382)

          at org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequest(RemoteConnectionHandler.java:224)

          at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAction(RemoteConnectionHandler.java:368)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359)

          at org.jboss.remoting3.ConnectionImpl.closeAction(ConnectionImpl.java:52)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359)

          at org.jboss.remoting3.EndpointImpl.closeAction(EndpointImpl.java:201)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359)

          at org.jboss.naming.remote.client.EndpointCache.release(EndpointCache.java:58)

          at org.jboss.naming.remote.client.EndpointCache$EndpointWrapper.closeAsync(EndpointCache.java:189)

          at org.jboss.naming.remote.client.InitialContextFactory$1.close(InitialContextFactory.java:198)

          at org.jboss.naming.remote.client.RemoteContext.finalize(RemoteContext.java:199)

          at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)

          at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)

          at java.lang.ref.Finalizer.access$100(Finalizer.java:32)

          at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:190)

      Java Result: 1