zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flavio Junqueira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2618) fix ClassNotFoundException on shutdown of client
Date Tue, 25 Oct 2016 18:19:59 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606043#comment-15606043
] 

Flavio Junqueira commented on ZOOKEEPER-2618:
---------------------------------------------

Cool, thanks for the clarification [~wuwen]. Could you close this sub-task as duplicate and
propose a patch in ZOOKEEPER-1394 directly, please?

> fix ClassNotFoundException on shutdown of client
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-2618
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2618
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: java client
>    Affects Versions: 3.4.9
>            Reporter: wu wen
>            Priority: Minor
>             Fix For: 3.4.10
>
>         Attachments: ZOOKEEPER-2618.patch
>
>
> see ZOOKEEPER-1394,We also have this issue.
> 2016-10-21 13:17:21.618 ERROR localhost-startStop-1-SendThread(172.21.134.7:2005) ClientCnxn:414
- from localhost-startStop-1-SendThread(172.21.134.7:2005)
> java.lang.NoClassDefFoundError: org/apache/zookeeper/server/ZooTrace
>     at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1128)
> Caused by: java.lang.ClassNotFoundException: Illegal access: this web application instance
has been stopped already. Could not load [org.apache.zookeeper.server.ZooTrace]. The following
stack trace is thrown for debugging purposes as well as to attempt to terminate the thread
which caused the illegal access.
>     at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1315)
>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1178)
>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139)
>     ... 1 more
> Caused by: java.lang.IllegalStateException: Illegal access: this web application instance
has been stopped already. Could not load [org.apache.zookeeper.server.ZooTrace]. The following
stack trace is thrown for debugging purposes as well as to attempt to terminate the thread
which caused the illegal access.
>     at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1325)
>     at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1313)
>     ... 3 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message