2 Replies Latest reply: Oct 14, 2010 10:00 PM by 801773 RSS

    ear access standalone Resource Adapter problem

    801773
      I deployed a standalone resource adapter. Then I deployed a ear.

      In the ear, I try to look up the resource adapter, I got an exception:
      javax.naming.NameNotFoundException: No Object found: MyRA|null

      In weblogic-ra.xml, I added:
      <enable-global-access-to-classes>true</enable-global-access-to-classes>
      but still have the problem.

      However, when I embeded the RA in the ear and deploy the ear, I can get the RA by lookup()

      Is there anyway I can get successfully look up the standalone RA?

      P.S.
      My problem seems to be similar with an earlier post "Access Resource Adaptar outside the EAR".
      Access Resource Adaptar outside the EAR

      My problem is different.
      I lookup the RA in an ear deployed in the server.
      However, I'm not using EJB to lookup the RA.

      server version: weblogic server 11g r1

      Thanks a lot