部署完成后.do出现404
检查
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/xxxxCell/applications/xxx.ear/deployments/xxx_war/xxx.war/WEB-INF/
下的web.xml是否和应用中的一致
另外:
在WAS Console -> Application Servers -> <server> -> Web
Container Settings -> Web Container -> Custom Properties里,增加一个custom
property,名字为com.ibm.ws.webcontainer.invokefilterscompatibility,值为true。
另外:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 9080
非root用户不能使用80端口的办法