I have a very old version of my EAR and a new version of EAR. Previously, my JBoss was deployed with the old EAR. It was working fine. Now I undeployed it and deployed it with new EAR. When I tested the newly deployed one, I found that it is partially the previous deployment and partially the new deployment. Some JSPs and Beans are from the previous deployment and some are from new deployment. I don't understand how this is possible. The new EAR that I deployed works fine in another machine with JBoss freshly installed. I tried removing the entire tmp folder in the default installation. But still the same behavior happens. Anyone has faced such wierd scenario before ? Any help is appreciated.
Which version of JBoss and which operating system? See if cleaning of "work" folder and restarting JBoss helps.