备忘:was6.1部署应用后404的问题

来源:互联网 发布:集成块型号查询软件 编辑:程序博客网 时间:2024/04/30 13:40

部署完成后.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端口的办法