5 Replies Latest reply on Jan 5, 2015 11:43 AM by Alex Oliveira

    JBOSS 7.1.1 Remote EJB Session is closed

    Serkan Yıldırım Newbie

      I have swing client which uses remote ejbs. The application starts correctly and it lookups remote ejbs successfully. However, after a few minutes, when an ejb is called, it gives an error like below. When we start the jboss again, we don't get the error and everything works. I couldn't understand the error below:

       

      16.04.2012 08:34:08:  INFO ChannelAssociation [Remoting "client-endpoint" task-2] - Channel Channel ID fa8f69c7 (outbound) of Remoting connection 0196

      f4b5 to null can no longer process messages

      16.04.2012 08:34:08: DEBUG RemotingConnectionEJBReceiver [Remoting "client-endpoint" task-3] - Closing channelChannel ID fa8f69c7 (outbound) of Remoti

      ng connection 0196f4b5 to null

      16.04.2012 08:34:08: DEBUG ChannelAssociation [Remoting "client-endpoint" task-3] - Closing channel Channel ID fa8f69c7 (outbound) of Remoting connect

      ion 0196f4b5 to null

      16.04.2012 08:34:08: DEBUG ChannelAssociation [Remoting "client-endpoint" task-3] - Registering a re-connect handler org.jboss.ejb.client.remoting.EJB

      ClientContextConnectionReconnectHandler@1f2af1c for broken channel Channel ID fa8f69c7 (outbound) of Remoting connection 0196f4b5 to null in EJB clien

      t context org.jboss.ejb.client.EJBClientContext@6ed322

      16.04.2012 09:33:44: ERROR CreatePaketNode [AWT-EventQueue-0] -

      org.beybunproject.uenv.task.UTaskException

              at tr.gov.tubitak.bilgem.uekae.deys.tckk.matbaa.planor.node.CreatePaketNode$OtomatikPaketOlusturAction$1.run(CreatePaketNode.java:58)

              at org.beybunproject.uenv.task.UTaskDialog$1.run(UTaskDialog.java:162)

              at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.reflect.UndeclaredThrowableException

              at $Proxy1.createAutoPaket(Unknown Source)

              at tr.gov.tubitak.bilgem.uekae.deys.tckk.matbaa.planor.controller.ejb.PlanorEJBDelegate.createAutoPaket(PlanorEJBDelegate.java:94)

              at tr.gov.tubitak.bilgem.uekae.deys.tckk.matbaa.planor.db.daoImpl.DefaultPlanorDAO.createAutoPaket(DefaultPlanorDAO.java:77)

              at tr.gov.tubitak.bilgem.uekae.deys.tckk.matbaa.planor.node.CreatePaketNode$OtomatikPaketOlusturAction$1.run(CreatePaketNode.java:54)

              ... 2 more

      Caused by: java.io.IOException: Channel Channel ID fa8f69c7 (outbound) of Remoting connection 0196f4b5 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.handleConnectionClose(RemoteConnectionHandler.java:103)

              at org.jboss.remoting3.remote.RemoteReadListener$1$1.run(RemoteReadListener.java:55)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

              ... 1 more