java.lang.ClassCastException: Object is not of remote type java.rmi.Remote

GitHub | Quix0r | 4 months ago
  1. 0

    java.lang.ClassCastException: Object is not of remote type java.rmi.Remote

    GitHub | 4 months ago | Quix0r
    java.lang.ClassCastException: Object is not of remote type java.rmi.Remote
  2. 0

    [GLASSFISH-15775] Remote EJBs fail with ClassCastException in embeddable Glassfish - Java.net JIRA

    java.net | 1 year ago
    javax.naming.NamingException: ejb ref resolution error for remote business interfacecom.jenzabar.ngp.ia.designation.api.AppealTypeManager ]
  3. 0

    JUnit testing from Glassfish V3 to V3.1 EJB Lookup failed | Java.net

    java.net | 1 year ago
    javax.naming.NamingException: Lookup failed for 'java:global/classes/GameDAO' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: ejb ref resolution error for remote business interfacedocrequest.dao.business.BusinessDAORemote [Root exception is java.lang.ClassCastException]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JUnit testing from Glassfish V3 to V3.1 EJB Lookup failed

    Oracle Community | 5 years ago | agush
    javax.naming.NamingException: Lookup failed for 'java:global/classes/GameDAO' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: ejb ref resolution error for remote business interfacedocrequest.dao.business.BusinessDAORemote [Root exception is java.lang.ClassCastException]]

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      Object is not of remote type java.rmi.Remote

      at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow()
    2. glassfish-corba-orb
      PortableRemoteObject.narrow
      1. com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:254)
      1 frame
    3. Java RT
      PortableRemoteObject.narrow
      1. javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:150)
      1 frame
    4. glassfish-corba-orb
      CodegenStubBase.invoke
      1. com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$12.read(DynamicMethodMarshallerImpl.java:352)
      2. com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:482)
      3. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:201)
      4. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:150)
      5. com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:226)
      5 frames