![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tomcat
alwaysBrother
这个作者很懒,什么都没留下…
展开
-
Unable to open debugger port (127.0.0.1:56868) java.net.SocketException "socket closed"
Unable to open debugger port (127.0.0.1:56868)今天idea突然闪退了,闪退之前,tomcat是运行的状态。重新打开后,启动tomcat就报错(标题这个错误),打开event log,看到端口1099被占用,这是之前tomcat启动后占用的端口。注意提示中的127.0.0.1:56868 后面的端口不是tomcat真正占用的端口。要去打开event lo...原创 2018-03-14 10:28:55 · 8598 阅读 · 1 评论 -
tomcat 设置 http代理
tomcat上有许多访问外部的http调用,但是有时候服务器不能访问外部网络。这个时候就需要代理了。可以用两种方式。 第一种是在代码中直接写代理,可以在创建 httpClient 的时候,设置代理。利用 HttpClientBuilder 的 setProxy(e) 方法设置。但这样对代码有点污染。 第二种是直接给 tomcat 设置代理,这样凡是从tomcat中发...原创 2018-07-03 19:21:27 · 22330 阅读 · 5 评论 -
tomcat启动异常LifecycleException,ZipException error in opening zip file
tomcat启动异常LifecycleException,ZipException error in opening zip file 错误大致如下: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file … Caused by: java.util.zip.ZipExce...原创 2018-10-09 20:49:26 · 11354 阅读 · 0 评论