I'm getting java.lang.ClassCastException: $Proxy263 after redeploy.The problem occures when trying to narrow or cast object got from InitialContext lookup.As i discovered reason is that there is different classloader's with different urls's.One class loader used to lookup the object is with old url after redeploy. The problem disapears after reboot of jboss.
I tired to rebooting the server it takes too much time. PLEASE HELP !!!