While running java client for iiop deployed ejbit gives ClassCasEXception but when same beandeployed for rmi same client run sucessfullywhere i am gong wrong help me out