项目名称 | HTTP | AJP | Shutdown |
Anti-fraud | 8080 | 8009 | 8005 |
Anti-fraud-rule-service | 8081 | 8008 | 8004 |
Msyd-open-api | 8082 | 8007 | 8003 |
Urule | 8998/8999 |
|
|
Anti-fraud-web | 8083 | 8006 | 8002 |
当同一台服务器上部署多个项目时,需要复制tomcat,然后修改为不同的端口号(不同的服务,占用不同的端口号)
/usr/local/apache-tomcat-7.0.73-antifraud-8080/conf /server.xml
- (Vim进去之后,需要向下翻找)
- HTTP/shutdown/重定向端口都不能重复
需要查看哪些端口被占用
https://www.cnblogs.com/fps2tao/p/10042553.html
#lsof -i:8081
#sz server.xml ------导出
#rz -be -----导入
Urule项目查看端口号
/usr/local/urule/client/urule-client-20200403093749/config/application.properties
/usr/local/urule/server/urule-client-20200403093749/config/application.properties
(1)anti-fraud
http://172.30.9.11:3690/svn/p2p/msyidai/Architecture/anti/anti-fraud/branches/20200319
D:\liepin\anti-fraud-branches-20200319\anti-fraud-branches-20200319\anti-fraud\target
测试地址:http://172.30.15.22:8080/anti-fraud/services/validateCheat.jsp
启动成功标志:
(2)anti-fraud-rule-service
http://172.30.9.11:3690/svn/p2p/msyidai/Architecture/anti/anti-fraud-rule-service/branches/20190508
D:\liepin\anti-fraud-rule-service-20190508\anti-fraud-rules-service-20190508\target\anti-fraud-rule-service.war to
(3)urule
包括2大块:client 和SERVER
http://172.30.9.11:3690/svn/p2p/msyidai/Architecture/anti/urule/branches/20190319
client 和 SERVER 非war包
日志位置:/app/logs /app/logs/urule-client/serverlogs
端口好配置文件:
(4)msyd-open-api
http://172.30.9.11:3690/svn/p2p/msyidai/Architecture/anti/msyd-open-api/branches/20190805