All in one, Linux, 部署web接口错误总结
2014-08-18 15:34
330 查看
1. 部署目录位置以及端口号, 是由tomcat中server.xml決定的
/opt/ctrip/web/work
2. Tomcat中的library沒有考進去(注意是tomcat下的那个目录)- /opt/app/tomcat/lib
查看log: cat /opt/logs/tomcat/catalina.out
3. 在web容器里面使用Dal时,Linux目录:/opt/ctrip/appdata/database.config
4. Jdk的环境变量配置錯誤
5. [2014-07-23 18:07:43][com.ctrip.bi.refund.query.QueryRate-searchRefund] -Can not get connection from DB
Interface_PubDB
javax.naming.NameNotFoundException: Name [jdbc/Interface_PubDB] is not bound in this Context. Unable to find
[jdbc].
这个错误:是因为Context.xml首字母要小写c,同时也要注意DataBase.config也要全小写
/opt/ctrip/web/work
2. Tomcat中的library沒有考進去(注意是tomcat下的那个目录)- /opt/app/tomcat/lib
查看log: cat /opt/logs/tomcat/catalina.out
3. 在web容器里面使用Dal时,Linux目录:/opt/ctrip/appdata/database.config
4. Jdk的环境变量配置錯誤
5. [2014-07-23 18:07:43][com.ctrip.bi.refund.query.QueryRate-searchRefund] -Can not get connection from DB
Interface_PubDB
javax.naming.NameNotFoundException: Name [jdbc/Interface_PubDB] is not bound in this Context. Unable to find
[jdbc].
这个错误:是因为Context.xml首字母要小写c,同时也要注意DataBase.config也要全小写
相关文章推荐
- VMWARE+linux+ns-allinone-2.29及2.34的安装
- ns-allinone-2.34 安装错误集锦
- 在Linux中部署web项目 java.util.zip.ZipException: error in opening zip file
- 非web java项目部署到linux总结(非打包成jar,配置文件可以随时修改)
- Sams Teach Yourself Creating Web Pages All in One
- 利用devstack部署All in one OpenStack
- 部署web项目时tomcat出现 Exception in thread "main"错误
- LINUX TOMCAT 部署 两个项目 出现Choose unique values for the 'webAppRootKey' context-param in your web.xml
- linux部署tomcat web服务问题总结
- Visual Studio 2010 发布Web项目提示The target "PipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.解决方法
- kolla部署all-in-one环境(N版)
- Building Web Sites All-in-One Desk Reference For Dummies
- gns3-0.6-win32-all-in-one安装提示错误209
- linux(版本是红帽企业版5)下安装ns2(版本是ns-allinone-2.35)
- Swift All In One(SAIO)部署环境迁移的配置调整
- OpenStack 初探(一) -- All-In-One模式部署(初学OpenStack必备)
- Linux - Sysstat [ All-in-One System Performance and Usage Activity Monitoring Tool For Linux]
- centos7&openstack_kilo完全离线快速allinone和multi-nodes部署
- OpenStack Swift All In One安装部署流程与简单使用