I have 2 ear files each containing a war file.
the war use webwork so there is a configuration file xwork.xml
each war has a diff context root.
now when i try to access one war file, all its screens load fine.
however, when i try to access the other war file, the config file x.work.xml does not load.
then if i restart the server and access the screens from second war file, the screens run fine but the config of the first war does not load.
i found out the problem. I had the webwork related jars in a shared/lib. so when i copied them over in each war, the screens come on fine for both the applications.