当前位置:web 服务器 > Tomcat >>

tomcat问题 配置完管理员后 无法登陆

配置完了 启动服务器 进入http://localhost:8080/ 点击Tomcat Manager 账号密码输入admin 进不去是怎么回事 从来没遇到过 愁 下面是配置文件tomcat-users.xml 请教高手 <?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> <!-- <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <user username="admin" password="admin" roles="manager"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> --> </tomcat-users>
其他:重新安装一下试试。
还有你是不是别的安装软件有端口是8080的,这样的话会有冲突,就想oracle默认的端口就是8080,你要修改一下端口 

上一个:java中的反射机制是什么意思?
下一个:java static 的作用

Apache
IIS
Nginx
Tomcat
如果你遇到web 服务器难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,