I have a wierd situation. I have a class that when it initializes it finds a home object for some local bean. After first deployment it works fine without any problem, however if I hot deploy, it than throws a classCastException on the home object.
The program flow is that a timer checks a flag, which if on, make it instanciate this class, on it's initialization I do this: ctx = new InitialContext(); | folderHome = (FolderLocalHome)(ctx.lookup(FolderLocalHome.JNDI_NAME)); | | I get the exception on the second line. If I stop the server and restart everything works fine. Any ideas why this could happen? JBOSS-3.2.2 JDK-1.4.2 Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846589#3846589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846589 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user