gpt4 book ai didi

java - EJB 异常 : Channel Channel ID fc7b3f27 (outbound) of Remoting connection 31ad98ef to localhost/127. 0.0.1:4447 无法再处理消息

转载 作者:行者123 更新时间:2023-12-01 04:30:47 27 4
gpt4 key购买 nike

我正在使用 JBOSS 7 服务器,其中包含我部署的应用程序。我创建了一个 java 应用程序来连接到部署在服务器上的 ejb。连接完美,服务器开始处理我的请求。经过一些处理后,它出现以下异常:

Channel Channel ID fc7b3f27 (outbound) of Remoting connection 31ad98ef to localhost/127.0.0.1:4447 can no longer process messages

有人知道这是什么意思吗?

奇怪的是,我有一个虚拟机,我在那里复制了完全相同的步骤,一切都很顺利。 java应用程序成功执行。我尝试在 JBOSS 社区页面上搜索,但找不到任何内容。

这是我遇到的某种限制吗?

最佳答案

当 java 崩溃时,我在我的应用程序中看到过这样的异常。检查/var/log/messages 是否 java 崩溃了...我的应用程序中的 Java 由于“内存不足”问题而崩溃了。

2018-09-10 00:16:16,278 ERROR [pool-2-thread-55] c.o.u.s.SessionCache (SessionCache.java:236) - failed to invoke jndiName: ejb:mega-app/acqServer//AcquisitionServerSessionBean!com.netapp.acquisition.aquisitionserverside.interfaces.remote.AcquisitionServerSession java.io.IOException: Channel Channel ID b8337d0e (outbound) of Remoting connection 30757f90 to localhost/127.0.0.1:80 has been closed at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:123) ~[jboss-client.jar:8.2.0.Final] at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:115) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(SpiUtils.java:54) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.spi.AbstractHandleableCloseable$CloseHandlerTask.run(AbstractHandleableCloseable.java:501) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.spi.AbstractHandleableCloseable.runCloseTask(AbstractHandleableCloseable.java:406) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeComplete(AbstractHandleableCloseable.java:277) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.remote.RemoteConnectionChannel.closeAction(RemoteConnectionChannel.java:543) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:359) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAllChannels(RemoteConnectionHandler.java:423) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.remote.RemoteConnectionHandler.handleConnectionClose(RemoteConnectionHandler.java:114) ~[jboss-client.jar:8.2.0.Final] at org.jboss.remoting3.remote.RemoteReadListener$1$1.run(RemoteReadListener.java:56) ~[jboss-client.jar:8.2.0.Final] ... 3 more Wrapped by: javax.ejb.EJBException: java.io.IOException: Channel Channel ID b8337d0e (outbound) of Remoting connection 30757f90 to localhost/127.0.0.1:80 has been closed at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:236) ~[jboss-client.jar:8.2.0.Final] at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181) ~[jboss-client.jar:8.2.0.Final] at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144) ~[jboss-client.jar:8.2.0.Final] At the same time, java had crashed as seen in /var/log/messages, Sep 10 00:16:15 dc2-scratch-ocum-01 kernel: [173427.465946] Out of memory: Kill process 7965 (java) score 239 or sacrifice child Sep 10 00:16:15 dc2-scratch-ocum-01 kernel: [173427.465990] Killed process 7965 (java) total-vm:12704260kB, anon-rss:3730368kB, file-rss:0kB, shmem-rss:0kB

希望这有帮助...纳雷什

关于java - EJB 异常 : Channel Channel ID fc7b3f27 (outbound) of Remoting connection 31ad98ef to localhost/127. 0.0.1:4447 无法再处理消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17991127/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com