Hi friends..
we have one application from Java i am trying to access session bean .It is giving the following error ..
com.evermind.server.rmi.OrionRemoteException: guest is not allowed to call this EJB method,
check your security settings (method-permission in ejb-jar.xml and security-role-mapping in
orion-application.xml
hi,
it seems, that your context has wrong settings to acces the sessionbean. where do you get your context from?
1. are you trying to connect from one orion-app to another or
2. are your trying to connect from a standalone-client to an orion-app?
in the first case you can just take orions initialcontext.
but be sure, that you have the permission to acces the ejb. look into ORIONHOME/conf/principals.xml and into ORIONHOME/application-deployment/MYAPP/principals.xml
in the second case you must set the user-settings in your clients code. i never wrote such a code, but this could work:
in both cases you have to enable the user in your ORION-HOME/principals.xml.
set the property deactivated="false" for the user.
hope this helps
christoph