From: Simone M. <mi...@ho...> - 2003-04-30 14:57:41
|
It sounds like you have some proprietary jar library inside = server/config/lib directory. Try to package it inside your ear file. Simone ----- Original Message -----=20 From: Bhagyashree Jogdand=20 To: jbo...@li...=20 Sent: Wednesday, April 30, 2003 1:33 PM Subject: [JBoss-user] JBoss - Class Cast Exception while doing a = lookup for Session Bean Hi, When i start the Jboss server with the deployed EAR file and run my = application, it runs well. But now if i undeploy the application and = redeploy it again without restarting the server (since its hot = deployment) my application fails to run. It gives a Class Cast Exception = when i do the lookup on the session bean in my controller servlet, = though i have properly done the casting for the objects. Now if i shut = down the server and start again the application runs fine. Can somebody tell me whats the problem and how to resolve it? Thanks, Bhagyashree |