用eclipse向tomcat部署中tomcat设置(备忘)
来源:互联网 发布:淘宝保险平台 编辑:程序博客网 时间:2024/06/07 05:30
主要是权限和锁定问题
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
0 0
- 用eclipse向tomcat部署中tomcat设置(备忘)
- eclipse 集成Tomcat 有关部署(备忘)
- Eclipse中部署Tomcat
- eclipse设置tomcat部署目录
- eclipse配置tomcat相关设置备忘
- Ubuntu中部署Eclipse+Tomcat
- Eclipse中如何部署tomcat
- eclipse中启动tomcat设置tomcat内存大小
- eclipse 中设置tomcat内存大小
- eclipse 中设置tomcat内存大小
- Eclipse中Tomcat overview设置
- Eclipse中tomcat service设置
- eclipse中设置tomcat内存
- (一)向Eclipse Neon中添加Tomcat服务器
- tomcat部署服务配置备忘
- eclipse中向tomcat发布web项目
- 向Eclipse Neon中添加Tomcat服务器
- Eclipse中Tomcat的安装部署
- 2015年,从毕业到工作的几点感悟(Android开发新人)
- 在Xcode7.x中安装Alcatraz
- cocos2d-x-2.2.3和vs2012环境配置
- jquery.timers使用说明
- 获取自定义实体类注解工具类FieldHelper
- 用eclipse向tomcat部署中tomcat设置(备忘)
- cvSplit(),cv图像颜色通道分割和融合
- VB.NET两种方法使PictureBox图片框可透明
- cocos2d-x2.2.3和android平台环境的搭建
- LeetCode22. Generate Parentheses
- 获取本机安装的Revit版本信息
- Android27_LruCache缓存处理及异步加载图片类的封装
- 用Freeman码链表示图像边界
- JavaScript清除Cookie完全攻略--被domain和path折磨