I have one ear that contains 2 wars on a Websphere Application server v(8.5.5) .
I used session sharing ability in WAS to share the session between the 2 WARs.
Both of the WARs are using JSF 2.0 MyFaces implementation bundled with WAS.
The problem is after I navigate from first WAR to the second WAR using a link in a page in the first WAR, in the landed page in second war when I make any navigation using navigation rules in the second war faces-config.xml I got this error:
No navigation case match for viewId /dir1/dir2/war2page1.xhtml, action #{springManagedBean.beanAction(param)} and outcome navigationOutcomeName
I tried to copy the navigation rules in the faces-context.xml in the second WAR to the faces-context.xml of the first WAR then it worked fine.
I doubt that the problem is caused by session sharing between 2 WARs, as it seems that when I navigate from first WAR to the second WAR it still searching for a navigation case in the faces-conext.xml of the first WAR which doesn't exist so I got this error.