java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Calling an ejb from a custom LoginModule
    via by 666705,
  • Cannot narrow remote object error?
    via by 666705,
  • Cannot narrow remote object
    via by Tim Bounds,
  • accessing RMI server from EJB
    via by 666705,
  • Accessing the RMI object from EJB
    via by 843793,
  • Cannot narrow remote object
    via by 3004,
  • Accessing RMI Object from EJB
    via by 666705,
    • java.lang.ClassCastException: Cannot narrow remote object to com.loyalty.arrow.services.epin.ejb.EPinFacadeHome at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:242) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134) at com.loyalty.arrow.services.SLSBFactory.getRemoteObject(SLSBFactory.java:37) at com.loyalty.arrow.services.GenericServiceFacadeClient.getServiceFacade(GenericServiceFacadeClient.java:23) at com.loyalty.arrow.services.epin.client.EPinFacadeClient.authenticate(EPinFacadeClient.java:101) at com.loyalty.arrow.security.LoginModuleImpl.login(LoginModuleImpl.java:122) at weblogic.security.service.DelegateLoginModuleImpl.login(DelegateLoginModuleImpl.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) at javax.security.auth.login.LoginContext.login(LoginContext.java:534) at weblogic.security.service.PrincipalAuthenticator.authInternal(PrincipalAuthenticator.java:368) at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:308) at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:316) at weblogic.servlet.security.internal.SecurityModule.checkAuthenticate(SecurityModule.java:418) at weblogic.servlet.security.internal.SecurityModule.checkAuthenticate(SecurityModule.java:325) at weblogic.servlet.security.internal.FormSecurityModule.checkUserPerm(FormSecurityModule.java:255) at weblogic.servlet.security.internal.SecurityModule.beginCheck(SecurityModule.java:228) at weblogic.servlet.security.internal.FormSecurityModule.checkA(FormSecurityModule.java:199) at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:145) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3813) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    No Bugmate found.