20121128记录--Web app root system property already set to different value

简介: 1.一个tomcat同时部署了两个应用,重新启动后报了这个错Web app root system property already set to different value:'webapp.root' = [as\webapp\] instead of [as3.2\webapp\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!这个问题以前没遇到过,记录下来看看。

1.一个tomcat同时部署了两个应用,重新启动后报了这个错

Web app root system property already set to different value:'webapp.root' = [as\webapp\] instead of [as3.2\webapp\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!

这个问题以前没遇到过,记录下来看看。

解决办法:在各自应用的web.xml里添加一段不同的配置参数

<context-param> 
<param-name>webAppRootKey</param-name>  
<param-value>app1.root</param-value><!-- 修改这里的值就可以了 -->
</context-param>

这样就没问题了,可以跑两个应用了

目录
相关文章
|
存储 Linux 网络安全
【Azure App Service】Root CA on App Service
Azure App Service for Windows应用连接外部SSL服务时,需确保其证书由受信任的根CA颁发。多租户环境下无法修改根证书,但ASE(单租户)可加载自定义CA证书。若遇证书信任问题,可更换为公共CA证书或将应用部署于ASE并导入私有CA证书。通过Kudu的PowerShell(Windows)或SSH(Linux)可查看当前受信任的根证书列表。
320 13
|
编解码 数据安全/隐私保护
手机录制脚本自动执行, 免root屏幕录制脚本,自动脚本精灵app【autojs】
自动创建保存目录确保路径存在 动态生成带时间戳的文件名避免重复
What value should kernel parameter AIO-MAX-NR be set to ?
What value should kernel parameter AIO-MAX-NR be set to ?
542 154
|
应用服务中间件
idea 调试报错 Illegal access: this web application instance has been stopped already.
idea 调试报错 Illegal access: this web application instance has been stopped already.
908 0
|
网络协议 Java Shell
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
1406 7
|
JSON Java 关系型数据库
Java更新数据库报错:Data truncation: Cannot create a JSON value from a string with CHARACTER SET 'binary'.
在Java中,使用mybatis-plus更新实体类对象到mysql,其中一个字段对应数据库中json数据类型,更新时报错:Data truncation: Cannot create a JSON value from a string with CHARACTER SET 'binary'.
1974 4
Java更新数据库报错:Data truncation: Cannot create a JSON value from a string with CHARACTER SET 'binary'.
|
数据处理 Python
【Python】已解决:SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFram
【Python】已解决:SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFram
3266 1
|
存储 前端开发 索引
【Web 前端】ES6中,Set和Map的区别 ?
【5月更文挑战第1天】【Web 前端】ES6中,Set和Map的区别 ?
|
API Android开发 开发者
failed to set system property error code: 0x18
failed to set system property error code: 0x18
1717 1

热门文章

最新文章