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]]

Oracle Community | agush | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    java.net | 2 years ago
    javax.naming.NamingException: ejb ref resolution error for remote business interfacecom.jenzabar.ngp.ia.designation.api.AppealTypeManager ]
  2. 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]]
  3. 0

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

    Oracle Community | 6 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]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

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

    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

      No message provided

      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:262)
      1 frame
    3. Java RT
      PortableRemoteObject.narrow
      1. javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
      1 frame
    4. glassfish-corba-orb
      CodegenStubBase.invoke
      1. com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$12.read(DynamicMethodMarshallerImpl.java:353)
      2. com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:483)
      3. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:203)
      4. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
      5. com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:227)
      5 frames