用eclipse向tomcat部署中tomcat设置(备忘)
2016-01-20 10:15
627 查看
主要是权限和锁定问题
1、conf\tomcat-users.xml中的根节点下添加
2、conf\context.xml下的根节点上添加 antiJARLocking="true" antiResourceLocking="true"
3、部署路径
协议://ip:端口号/manager/text
如:http://192.168.1.100:8080/manager/text
1、conf\tomcat-users.xml中的根节点下添加
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="manager-script,tomcat"/>
2、conf\context.xml下的根节点上添加 antiJARLocking="true" antiResourceLocking="true"
<Context antiJARLocking="true" antiResourceLocking="true"> <!-- Default set of monitored resources. If one of these changes, the --> <!-- web application will be reloaded. --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" /> --> <!-- Uncomment this to enable Comet connection tacking (provides events on session expiration as well as webapp lifecycle) --> <!-- <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> --> </Context>
3、部署路径
协议://ip:端口号/manager/text
如:http://192.168.1.100:8080/manager/text
相关文章推荐
- tomcat中webapp. root错误提示问题解决方案
- java tomcat中<context> docBase属性是什么意思?
- tomcat中安装JDK报错详细解决过程
- Tomcat 404错误解决办法
- eclipse中以debug方式启动tomcat报错
- tomcat启动maven项目报错
- ubuntu14 java-mysql-tomcat
- 基于tomcat的spring开发中文乱码解决方法。
- 解析Tomcat内部结构和请求过程
- Linux 中 eclipse 的tomcat端口号被占用
- tomcat在eclipse中debug总进threadpoolexecutor异常
- Tomcat服务器版本和编码对中文数据的影响
- Ubuntu server12.04安装JDK+Tomcat+mysql
- 解析Tomcat内部结构和请求过程
- 修改Tomcat内存大小
- tomcat处理请求导致页面出现ERR_CONNECTION_RESET错误解决方案
- myeclipse上配置tomcat的问题
- 优化tomcat性能
- apache+tomcat集群出现的两次请求问题解决方案
- maven部署web工程到tomcat