I had to repeat the security stuff in plan.xml to make it work!
Now I am getting this exception which is a good thing..
Thanks
Anita
java.rmi.AccessException: Unauthorized Access by Principal Denied
at
After a lot of help from David Blevins I think we've figured out a
reasonable plan. I've modified the EjbModuleBuilder to construct a
ConfigurationFactory for each app it deploys and fill in
ContainerInfos from all the EjbContainer gbean in scope of the app's
Configuration. After some
Thanks David J and David B! I used the patches to build a fresh
server with modified assembly to include MEJB. I was able to access
MEJB from a web application. So far so good.. Now, I am not getting
access denied from a plain java client :( even though the generated
DD shows:
I am trying to change the openejb-deployer so that it does not need
to start openejb config. Here is the trace:
[INFO]
[ERROR] BUILD ERROR
[INFO]
I took a quick look and I think we might be able to copy the parts of
OpenejbSystemGBean that the deployer needs into a gbean in the
openejb-deployer module. I'm not sure what the resource adapter and
persistence unit collections are doing we may be able to replace
them with queries