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

[jira] [Issue Comment Deleted] (ZOOKEEPER-2618) fix ClassNotFoundException on shutdown of client

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wu wen updated ZOOKEEPER-2618:
------------------------------
    Comment: was deleted

(was: ClassNotFoundException on shutdown of client)

> 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)