javax.ejb.EJBException: Attempt to pass a reference to an EJBLocalObject to a remote client. <A local EJB component may only be accessed by clients co-located in the same ear or <standalone jar file. at <mypackage.CalcBean_u0b6gm_CalcBeanLocalImpl.writeObject(CalcBean_u0b6gm_CalcBeanLocalImpl<.java:113)

Oracle Community | 712422 | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    EJB injection in managed bean

    Oracle Community | 8 years ago | 712422
    javax.ejb.EJBException: Attempt to pass a reference to an EJBLocalObject to a remote client. <A local EJB component may only be accessed by clients co-located in the same ear or <standalone jar file. at <mypackage.CalcBean_u0b6gm_CalcBeanLocalImpl.writeObject(CalcBean_u0b6gm_CalcBeanLocalImpl<.java:113)
  2. 0

    2.0release problem

    ejbca | 1 decade ago | *anonymous
    javax.ejb.EJBException: null; CausedByException is: null at se.anatom.ejbca.ra.LocalUserAdminSessionBean.ejbCreate(LocalUserAdminSessionBean.java:108

    Root Cause Analysis

    1. javax.ejb.EJBException

      Attempt to pass a reference to an EJBLocalObject to a remote client. <A local EJB component may only be accessed by clients co-located in the same ear or <standalone jar file. at <mypackage.CalcBean_u0b6gm_CalcBeanLocalImpl.writeObject(CalcBean_u0b6gm_CalcBeanLocalImpl<.java:113)

      at sun.reflect.NativeMethodAccessorImpl.invoke0()
    2. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2 frames