java.lang.ClassCastException

Oracle Community | 807581 | 1 decade ago
  1. 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 ]
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    using appclient from client causes problems

    Oracle Community | 1 decade ago | 843833
    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

      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:229)
      1 frame
    3. Java RT
      PortableRemoteObject.narrow
      1. javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
      1 frame
    4. Unknown
      NewGenericPortlet.doView
      1. NewGenericPortlet.lookupNewSessionBean(NewGenericPortlet.java:185)
      2. NewGenericPortlet.doView(NewGenericPortlet.java:93)
      2 frames
    5. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
      2. javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
      2 frames
    6. com.sun.portal
      PortletAppEngineServlet.service
      1. com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:261)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    9. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    10. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    11. Glassfish Core
      SecurityUtil.execute
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      1 frame