首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法加载org.jgroups.protocols.pbcast.GmsImpl$Request

无法加载org.jgroups.protocols.pbcast.GmsImpl$Request
EN

Stack Overflow用户
提问于 2015-06-11 07:18:56
回答 1查看 747关注 0票数 0

当我使用J2Cache时,我不知道这是错误的。

代码语言:javascript
复制
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.jgroups.protocols.pbcast.GmsImpl$Request.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:855)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:636)
at org.jgroups.protocols.BARRIER.up(BARRIER.java:103)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:185)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
at org.jgroups.protocols.MERGE2.up(MERGE2.java:209)
at org.jgroups.protocols.Discovery.up(Discovery.java:379)
at org.jgroups.protocols.TP.passMessageUp(TP.java:1412)
at org.jgroups.protocols.TP$MyHandler.run(TP.java:1598)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Jun 11, 2015 2:47:30 PM org.apache.catalina.connector.CoyoteAdapter log
WARNING: Exception while attempting to add an entry to the access log
java.lang.NullPointerException
at org.apache.catalina.connector.CoyoteAdapter.log(CoyoteAdapter.java:557)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:182)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

以上这些错误都发生在tomcat的启动过程中。

我在谷歌上查过了。有人说:

如果在Java进程上使用退出信号,它应该输出一个线程转储,该转储应该识别哪些线程仍在运行,并防止正确的关闭。我在某些版本的HSQLDB中看到过这种情况,这些版本的驱动程序没有正确关闭,但它可能是安装中部署的任何其他内容。 发送退出信号:杀死-QUIT JAVA_PID 其中,JAVA_PID是您的JAVA_PID的进程ID,您可以使用: ps aux检索

但不幸的是,我无法理解。

有人能帮我吗?

EN

回答 1

Stack Overflow用户

发布于 2015-06-15 08:17:45

这听起来很熟悉这个问题- https://issues.jboss.org/browse/JGRP-826。我猜tomcat已经在JGroups线程运行时关闭了。你是怎么关机的?您是否也显式地关闭缓存?当应用程序被关闭时,我会尝试实现一个ServletContextListener来接收回调。此时,我也将尝试显式关闭缓存。当然,这一切都取决于您如何和在何处使用缓存。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30774139

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档