INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server 10.118.243.244/10.118.243.244:2181. Will not attempt to authenticate using SASL (java.lang.SecurityException: Unable to locate a login configuration) 12:50:52.968 [catalina-exec-21-SendThread(10.118.243.244:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to 10.118.243.244/10.118.243.244:2181, initiating session 12:50:52.969 [catalina-exec-21-SendThread(10.118.243.244:2181)] WARN org.apache.zookeeper.ClientCnxn - Session 0x0 for server 10.118.243.244/10.118.243.244:2181, unexpected error, closing socket connection and attempting reconnect java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcher.read0(Native Method) ~[na:1.6.0_29] at sun.nio.ch.SocketDispatcher.read(Unknown Source) ~[na:1.6.0_29] at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) ~[na:1.6.0_29] at sun.nio.ch.IOUtil.read(Unknown Source) ~[na:1.6.0_29] at sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[na:1.6.0_29] at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:68) ~[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366) ~[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
解決:中止tomcat,使用root用戶刪除tomcat下全部項目文件(war和解壓後文件),重啓tomcat,再進行jenkins 自動部署便可。java
[ERROR] (DubboMonitor.java.run:72) - [DUBBO] Unexpected error occur at send statistic, cause: Forbid consumer 10.118.238.69 access service com.alibaba.dubbo.monitor.MonitorService from registry 10.118.239.206:2181 use dubbo version 2.5.3, Please check registry access list (whitelist/blacklist)., dubbo version: 2.5.3, current host: 10.118.238.69 com.alibaba.dubbo.rpc.RpcException: Forbid consumer 10.118.238.69 access service com.alibaba.dubbo.monitor.MonitorService from registry 10.118.239.206:2181 use dubbo version 2.5.3, Please check registry access list (whitelist/blacklist). at com.alibaba.dubbo.registry.integration.RegistryDirectory.doList(RegistryDirectory.java:579) at com.alibaba.dubbo.rpc.cluster.directory.AbstractDirectory.list(AbstractDirectory.java:73) at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.list(AbstractClusterInvoker.java:260) at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:219) at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72) at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52) at com.alibaba.dubbo.common.bytecode.proxy2.collect(proxy2.java) at com.alibaba.dubbo.monitor.dubbo.DubboMonitor.send(DubboMonitor.java:113) at com.alibaba.dubbo.monitor.dubbo.DubboMonitor$1.run(DubboMonitor.java:70) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
https://github.com/apache/incubator-dubbo/issues/286git
已經找到緣由了:github
留給後來者:
由於我在消費者那裏,在註冊中心發現監控中心的開關打開了,而我不須要監控中心,所以我根本沒有這個服務的提供者,因此會一直報這個異常,可是不影響運行,若是不想報此異常,只要把該配置註釋掉,或者開啓監控中心服務便可apache