Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


Frank VanOor
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've an EJB3 application deployed on Jboss 7.
As a test I wrote a client which calls a simple method on the remote bean. This method just returns an int value. The method is called x times in a loop. After about 30 times, JBoss closes the connection and the following message is displayed on the console

14:07:07,811 INFO [] (Remoting "alien2" task-1) JBAS011806: Channel end notification received, closing channel Channel ID 2ec193c9 (inbound) of Remoting connection 22c732c3 to null

On the client side, a Remote exception is received:

19 Nov 2013 14:07:07 INFO ChannelAssociation - Channel Channel ID f20f7f4a (outbound) of Remoting connection 46a3790d to localhost/ can no longer process messages
Exception in thread "main" 19 Nov 2013 14:07:07 ERROR RemoteNamingStoreV1 - Channel end notification received, closing channel Channel ID aec193c9 (outbound) of Remoting connection 46a3790d to localhost/
at com.sun.proxy.$Proxy0.testRemoteConnection(Unknown Source)
at com.ecospeedtext.MainTest_1.main(
Caused by: Channel Channel ID f20f7f4a (outbound) of Remoting connection 46a3790d to localhost/ has been closed
at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(
at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(
at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(
at org.jboss.remoting3.spi.AbstractHandleableCloseable$
at org.jboss.remoting3.spi.AbstractHandleableCloseable.runCloseTask(
at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeComplete(
at org.jboss.remoting3.remote.RemoteConnectionChannel.closeAction(
at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(
at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAllChannels(
at org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequest(
at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAction(
at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(
at org.jboss.remoting3.ConnectionImpl.closeAction(
at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(
at org.jboss.remoting3.EndpointImpl.closeAction(
at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(
at org.jboss.naming.remote.client.EndpointCache.release(
at org.jboss.naming.remote.client.EndpointCache$EndpointWrapper.closeAsync(
at org.jboss.naming.remote.client.InitialContextFactory$1.close(
at org.jboss.naming.remote.client.RemoteContext.finalize(
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
at java.lang.ref.Finalizer.access$100(Unknown Source)
at java.lang.ref.Finalizer$ Source)

The Client Java code:

The remote method :

Many thanks in advance.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic