dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] dczz opened a new issue #1535: dubbo消费者端关闭tomcat时报错
Date Sat, 31 Mar 2018 08:46:28 GMT
dczz opened a new issue #1535: dubbo消费者端关闭tomcat时报错
URL: https://github.com/apache/incubator-dubbo/issues/1535
 
 
   我是在springmvc关闭消费者端时中报出这个
   dependencys:
   
       <dependency>
           <groupId>com.alibaba</groupId>
           <artifactId>dubbo</artifactId>
           <version>2.6.0</version>
           <exclusions>
               <exclusion>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-context</artifactId>
               </exclusion>
           </exclusions>
       </dependency>
   
       <dependency>
           <groupId>com.101tec</groupId>
           <artifactId>zkclient</artifactId>
           <version>0.10</version>
           <exclusions>
               <exclusion>
                   <groupId>org.apache.zookeeper</groupId>
                   <artifactId>zookeeper</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-api</artifactId>
               </exclusion>
           </exclusions>
       </dependency>
   
       <dependency>
           <groupId>org.apache.zookeeper</groupId>
           <artifactId>zookeeper</artifactId>
           <version>3.4.11</version>
           <exclusions>
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-log4j12</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-api</artifactId>
               </exclusion>
               <exclusion>
                   <artifactId>junit</artifactId>
                   <groupId>junit</groupId>
               </exclusion>
               <exclusion>
                   <artifactId>logback-core</artifactId>
                   <groupId>ch.qos.logback</groupId>
               </exclusion>
               <exclusion>
                   <artifactId>logback-classic</artifactId>
                   <groupId>ch.qos.logback</groupId>
               </exclusion>
               <exclusion>
                   <artifactId>logback-parent</artifactId>
                   <groupId>ch.qos.logback</groupId>
               </exclusion>
           </exclusions>
       </dependency>
   31-Mar-2018 16:32:48.800 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying
ProtocolHandler ["http-nio-8081"]
   31-Mar-2018 16:32:48.801 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying
ProtocolHandler ["ajp-nio-61298"]
   java.lang.NoClassDefFoundError: org/apache/jute/CsvOutputArchive
   at org.apache.zookeeper.proto.RequestHeader.toString(RequestHeader.java:64)
   at java.base/java.lang.String.valueOf(String.java:2801)
   at java.base/java.lang.StringBuilder.append(StringBuilder.java:135)
   at org.apache.zookeeper.ClientCnxn$Packet.toString(ClientCnxn.java:327)
   at java.base/java.lang.String.valueOf(String.java:2801)
   at java.base/java.lang.StringBuilder.append(StringBuilder.java:135)
   at org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:845)
   at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)
   at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)
   at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1144)
   Caused by: java.lang.ClassNotFoundException: Illegal access: this web application instance
has been stopped already. Could not load [org.apache.jute.CsvOutputArchive]. 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:1285)
   at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
   at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
   ... 10 more
   Caused by: java.lang.IllegalStateException: Illegal access: this web application instance
has been stopped already. Could not load [org.apache.jute.CsvOutputArchive]. 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:1295)
   at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1283)
   ... 12 more
   java.lang.NoClassDefFoundError: org/apache/jute/CsvOutputArchive
   at org.apache.zookeeper.proto.ReplyHeader.toString(ReplyHeader.java:75)
   at java.base/java.lang.String.valueOf(String.java:2801)
   at java.base/java.lang.StringBuilder.append(StringBuilder.java:135)
   at org.apache.zookeeper.ClientCnxn$Packet.toString(ClientCnxn.java:328)
   at java.base/java.lang.String.valueOf(String.java:2801)
   at java.base/java.lang.StringBuilder.append(StringBuilder.java:135)
   at org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:845)
   at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)
   at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)
   at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1144)
   Caused by: java.lang.ClassNotFoundException: Illegal access: this web application instance
has been stopped already. Could not load [org.apache.jute.CsvOutputArchive]. 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:1285)
   at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142)
   at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
   ... 10 more
   Caused by: java.lang.IllegalStateException: Illegal access: this web application instance
has been stopped already. Could not load [org.apache.jute.CsvOutputArchive]. 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:1295)
   at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1283)
   ... 12 more
   Disconnected from server
   
   配置文件:
   
   <dubbo:application name="admin-consumer"/>
   
   <dubbo:consumer timeout="0" check="false" />
   
   <dubbo:registry address="zookeeper://0.0.0.0:2181" check="false" wait="1000"/>
   
   <dubbo:annotation package="com.a.ab"/>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message