1. 程式人生 > >阿里雲-edas-config-center cmd啟動日誌亂碼

阿里雲-edas-config-center cmd啟動日誌亂碼

2018-10-15 22:33:26.363 [SocketAcceptorIoProcessor-0.2] [ERROR] [com.taobao.remoting] - 榪炴帴[L=10.1.1.178:9600, R=10.1.1.178:60652, S=Connected]涓婂嚭鐜伴敊璇痆java.io.IOException: 榪滅▼涓繪満寮鴻揩鍏抽棴浜嗕竴涓幇鏈夌殑榪炴帴銆俔.
java.io.IOException: 榪滅▼涓繪満寮鴻揩鍏抽棴浜嗕竴涓幇鏈夌殑榪炴帴銆?
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
        at sun.nio.ch.IOUtil.read(IOUtil.java:197)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
        at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:218)
        at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:198)
        at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProcessor.java:45)
        at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:488)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

開啟 start.bat 新增編碼

%_EXECJAVA% -Daddress.server.ip=%SERVER_IP% -Dfile.encoding=utf-8 -jar edas-config-center.jar