开发者社区> 问答> 正文

alitomcat 启动时报错,日志会把C盘填满

用Idea启动项目时,项目启动成功,但是服务注册不上。表现为:C盘config-client.log日志文件体积增长很快,一会C盘就会没有空间。日志错误为:java.net.MalformedURLException: For input string: " text"。具体请看图片
QQ_20170320195156,整个日志一直报这个问题。

2017-03-20 16:46:28,826 ERROR - [] [] [%s] [Internal] Unhandled exception in deliverer:

java.lang.RuntimeException: java.net.MalformedURLException: For input string: " text"

at com.taobao.config.client.ServerAddressIterator$RandomizedServerAddress.<init>(ServerListManager.java:234) ~[config-client-1.6.6.5.jar:na]
at com.taobao.config.client.ServerAddressIterator.<init>(ServerListManager.java:262) ~[config-client-1.6.6.5.jar:na]
at com.taobao.config.client.ServerListManager.iterator(ServerListManager.java:114) ~[config-client-1.6.6.5.jar:na]
at com.taobao.config.client.ConnectionCreator.roll(ConnectionCreator.java:48) ~[config-client-1.6.6.5.jar:na]
at com.taobao.config.client.ConnectionCreator.connect(ConnectionCreator.java:39) ~[config-client-1.6.6.5.jar:na]
at com.taobao.config.client.ConfigClientWorker$WorkerThread.ensureConnected(ConfigClientWorker.java:153) ~[config-client-1.6.6.5.jar:na]
at com.taobao.config.client.ConfigClientWorker$WorkerThread.runOnce(ConfigClientWorker.java:134) ~[config-client-1.6.6.5.jar:na]
at com.taobao.config.client.ConfigClientWorker$WorkerThread.run(ConfigClientWorker.java:82) ~[config-client-1.6.6.5.jar:na]

Caused by: java.net.MalformedURLException: For input string: " text"

at java.net.URL.<init>(URL.java:627) ~[na:1.8.0_74]
at com.taobao.config.common.ConfigServerURL.<init>(ConfigServerURL.java:37) ~[config-common-2.0.2-release.jar:na]
at com.taobao.config.client.ServerAddressIterator$RandomizedServerAddress.<init>(ServerListManager.java:230) ~[config-client-1.6.6.5.jar:na]
... 7 common frames omitted

Caused by: java.lang.NumberFormatException: For input string: " text"

at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_74]
at java.lang.Integer.parseInt(Integer.java:569) ~[na:1.8.0_74]
at java.lang.Integer.parseInt(Integer.java:615) ~[na:1.8.0_74]
at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:216) ~[na:1.8.0_74]
at java.net.URL.<init>(URL.java:622) ~[na:1.8.0_74]
... 9 common frames omitted

展开
收起
临安夜雨 2017-03-20 19:53:12 4942 0
1 条回答
写回答
取消 提交回答
  • Caused by: java.lang.NumberFormatException: For input string: " text" text前面貌似有个空格,在jsp中找到去掉试试

    2019-07-17 20:56:57
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载