I have been trying to use the default EJBProvider class to access an EJB
object through a service.
I am getting an IllegalAccessException in the EJBProvider class when
testing in the getServiceClass() method
at the line:

Class interfaceClass =   (Class) getRemoteInterfaceClass.invoke(metaData,
empty_object_array);

After some research, I found that the metaData object is actually a
"weblogic.ejb20.internal.EJBMetaDataImpl" object.
(I am using Weblogic 6.1)

This poses a problem in the Weblogic 6.1 implementation as the
EJBMetaDataImpl class has only package access.
Could there be a better way to do this, or another approach to take to get
around this limitation?

Thanks,

David Cole



Reply via email to