解决Tomcat的Failed to initialize…
来源:互联网 发布:java和c哪个前景好 编辑:程序博客网 时间:2024/06/15 18:30
安装好Tomcat打开bin目录下的startup.bat,在浏览器中输入localhost:8080测试时出现如下错误:
![解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题 解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
查看startup中的内容出现了Failed to initialize and point associated withProtocolHandler["Http-apr-8080"]的错误,出现这种原因主要是8080端口被占用了。
connectionTimeout="20000"
redirectPort="8443" />
最后,在浏览器中输入对应的端口,得到如下内容,表示Tomcat配置成功!
![解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题 解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
![解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题 解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
解决1:
打开任务管理器看看里面有没有javaw的线程,把它关了再重新启动tomcat看看。
解决2:
修改tomcat /conf /server.xml 文件
最后,在浏览器中输入对应的端口,得到如下内容,表示Tomcat配置成功!
![解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题 解决Tomcat的Failed <wbr>to <wbr>initialize <wbr>and <wbr>point <wbr>associated <wbr>with <wbr>ProtocolHandler["Http-apr-8080"]问题](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
阅读全文
0 0
- 解决Tomcat的Failed to initialize…
- failed to get the…
- Failed to write t…
- OMAP触摸屏“Failed to create disp…
- Failed to get gro…
- PMON failed to ac…
- PMON failed to ac…
- Failed to read ca…
- Failed to create the Java Virtua…
- 解决:Unable to connec…
- [ERROR] Failed to open log
- Failed to open&n…
- emulator: Failed to&nb…
- Eclipse运行时提示failed to creat…
- Eclipse运行时提示failed to creat…
- Eclipse运行时提示failed to creat…
- Eclipse运行时提示failed to creat…
- 解决错误:Re-installation failed…
- JVM学习笔记(四)垃圾收集器
- C#几个控件介绍
- SQL中的数据类型
- 总结几种排序算法
- 查找算法
- 解决Tomcat的Failed to initialize…
- 将博客搬至CSDN
- 设置查看linux 造成程序Core dumped 的函数调用层次
- 数据融合(data fusion)
- HTML文档中小meta标签的大作用
- ReactNative 组件封装---Modal
- Mycat入门教程
- Thymeleaf标准表达式语法
- OkHttp3 源码解读