tomcat中manager配置
来源:互联网 发布:下载v380软件 编辑:程序博客网 时间:2024/04/30 06:02
运行tomcat当启动后点击:
http://localhost:8080/manager/html出现登陆界面要求输入用户名和密码
用户名和密码在以下文件中修改:
(1)在tomcat的安装目录中找到E:/tomcat6.0.26/conf文件
(2)使用文本编辑器打开conf下的tomcat-users.xml文件
(3)添加用户角色,名称和登陆密码:
改动前:
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager" role required
to operate the "/manager" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
-->
</tomcat-users>
添加后
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager" role required
to operate the "/manager" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<!-- <role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
-->
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="tomcat" roles="admin"/>
<user username="manager" password="manager" roles="manager" />
</tomcat-users>
说明:
<role rolename="manager"/>
<user username="manager" password="manager" roles="manager" />
用来登陆tomcat manager时用
<role rolename="admin"/>
<user username="admin" password="tomcat" roles="admin"/>
用来登陆tomcat admin用的
- tomcat中manager配置
- tomcat 登录manager配置
- Tomcat Manager配置
- tomcat manager配置
- tomcat manager配置
- Tomcat Manager用户配置
- Tomcat中manager详解
- Tomcat中Admin和Manager的安装配置
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- Tomcat Manager用户配置详解
- 配置tomcat manager【Tomcat Manager用户配置详解】【Tomcat的Manager显示403 Access Denied】
- 发送邮件资料累积
- jsp与数据库连接
- /scripts/checkkconfigsymbols.sh
- JSP2.0 EL语言
- 蚁群算法
- tomcat中manager配置
- 邮件发送程序V1.0
- 在Linux下安装JDK及环境设置
- 各种JAVA开发框架
- JDK安装及环境配置
- j2me的socket通讯问题
- #pragma once 与 #ifndef 区别
- Running the Cloudera Training VM in VirtualBox(转)
- SQL*PLUS命令 sql编程手册