Apache Tomcat
Posted Notebook
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Apache Tomcat相关的知识,希望对你有一定的参考价值。
http://tomcat.apache.org/index.html
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. The Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket specifications are developed under the Java Community Process.
The Apache Tomcat software is developed in an open and participatory environment and released under the Apache License version 2. The Apache Tomcat project is intended to be a collaboration of the best-of-breed developers from around the world. We invite you to participate in this open development project. To learn more about getting involved, click here.
Apache Tomcat software powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. Some of these users and their stories are listed on the PoweredBy wiki page.
Apache Tomcat, Tomcat, Apache, the Apache feather, and the Apache Tomcat project logo are trademarks of the Apache Software Foundation.
http://tomcat.apache.org/download-80.cgi
安装教程:http://blog.csdn.net/wsad_hjk/article/details/27374753
startup 正常
shutdown 关不了。。。
【解决方案】
cmd环境:进入到C:\\Program Files\\apache-tomcat-8.0.45\\bin目录下,命令都正常。
win环境:在C:\\Program Files\\apache-tomcat-8.0.45\\bin目录下,直接点击 startup.bat, shutdown.bat
在地址栏输入http://localhost:8080/,回车,能进入到Tomcat自带的Web页面,表明Tomcat服务在正常工作。
解压版的tomcat默认是没有账号和密码的,所以不能再首页登陆的。
设置账号和密码的方法:
在conf文件夹下的tomcat-users.xml文件中修改,在其中加入以下代码:
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="yun" password="yun123" roles="manager-gui,admin-gui"/>
ref:http://blog.csdn.net/u014482758/article/details/41827885
以上是关于Apache Tomcat的主要内容,如果未能解决你的问题,请参考以下文章
如何将文件写入 ubuntu linux 服务器?爪哇 11
Tomcat apache 8 服务器(端口 - 8080)上的 Pentaho API 在通过不同的 Web 应用程序调用时会出现 COR 问题(反应 JS,端口 - 3000)