You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2016/10/22 21:02:58 UTC

[jira] [Commented] (ZOOKEEPER-2618) fix ClassNotFoundException on shutdown of client

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

Michael Han commented on ZOOKEEPER-2618:
----------------------------------------

[~wuwen] The attached patch file name should be ZOOKEEPER-2618.patch (same with this JIRA number) so the build pipeline can pick it up - also please commit 'submit patch' button after uploading patch to kick off build bot. Please check https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute for more details.

> 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
>         Attachments: ZOOKEEPER-1394.patch
>
>
> see ZOOKEEPER-1394
> 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)