Hi, I'm using weblogic 5.10 app server.Recently ,while testing out two components in the application, I came across the ClassCastExcetion. Both the components use two similar beans in their jsp pages,but the package structure for the beans is different. If I executed component1, it would run, but if I wanted to execute component 2, I would get this error. Similarly,if I tested out component2 first, it would run, but running component1 after this would result in the same exception. The scope of both the beans was application. Next, when I changed the scope of both the beans to session, both executed perfectly. I read about the heirarchy of classloaders in weblogic, but I could not understand what actually was happening here. Could someone please explain to me what was happening here ? Thanks a lot.