Thanks for the link. I read through it and found that I need to enable the default principal mapping since the security role names and group names are the same. I did enable this but still have the problem.
Unless I am miss understanding the doc and I guess EJB3 completely then I don't need the ejb-jar.xml anymore since I am using annotations. From what I understand in the doc the ejb-jar.xml will override annotations if it is present. Is this not correct?
Here is the exception that I am getting.
[#|2008-08-19T10:44:50.323+0200|SEVERE|sun-appserver9.1|com.sun.ejb.containers.BaseContainer|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=6e967960-870d-
4186-8622-979c65bf13f0;|##76ae4cde-973e-472c-9e40-c605ec0f6fa9##SYSTEM##nested exception is: java.rmi.AccessException: CORBA NO_PERMISSION 9998 Maybe; nested exception is
:
org.omg.CORBA.NO_PERMISSION: vmcid: 0x2000 minor code: 1806 completed: Maybe
javax.ejb.AccessLocalException: Client not authorized for this invocation.
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1218)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:202)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77)
at $Proxy253.addOrganisation(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
at ...
Is it possible IOR specific?
Thanks again.
[Message sent by forum member 'drfranknfurter' (drfranknfurter)]
http://forums.java.net/jive/thread.jspa?messageID=294099