两种方法解决tomcat的 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
2014-02-28 11:09
519 查看
出现这种原因主要是8080端口被占用了。
解决1:
打开任务管理器看看里面有没有javaw的线程,把它关了再重新启动tomcat看看。
解决2:
修改tomcat /conf /server.xml 文件
<Connector port="8888" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
配置文件修改了一下,正解!谢谢二楼啊~三楼四楼五楼都是好心人~哇哈哈。菜鸟哈。刚刚接触java不久,学习中。谢谢啦。
解决1:
打开任务管理器看看里面有没有javaw的线程,把它关了再重新启动tomcat看看。
解决2:
修改tomcat /conf /server.xml 文件
<Connector port="8888" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
配置文件修改了一下,正解!谢谢二楼啊~三楼四楼五楼都是好心人~哇哈哈。菜鸟哈。刚刚接触java不久,学习中。谢谢啦。
相关文章推荐
- foxmail安装账号密码错误
- usaco training 4.4.1 Shuttle Puzzle 题解
- QPainter::drawImage的用法说明
- 使用NOSQL的MongoDB时建立索引需要注意的几点建议和Explain优化分析
- usaco training 4.3.4 Letter Game 题解
- RTSP/1.0 412 Precondition failed
- Domain的结构
- How to reclaim space in InnoDB when innodb_file_per_table is ON
- .Net 文本框实现内容提示(仿Google、Baidu)
- HDU2476 String painter 区间DP
- 使用Rails实现文件上传
- atexit注册的函数是在main函数之后执行?
- UVa:10590 Boxes of Chocolates Again
- error: command 'gcc' failed with exit status 1 解决方法
- NStimer APIhttp://hi.baidu.com/douxinchun/item/920a7655fe7f3fd8d48bacaf
- usaco training 4.3.3 Street Race 题解
- alwaysRetainTaskState笔记
- document.domain 跨域
- vs2010出现 devenv.exe assert failure
- 主机禁止mail函数实现WordPress评论回复邮件通知