You need this in your config/application.xml

        <namespace-access>
                <read-access>
                        <namespace-resource root="">
                                <security-role-mapping>
                                        <group name="administrators" />
                                </security-role-mapping>
                        </namespace-resource>
                </read-access>
                <write-access>
                        <namespace-resource root="">
                                <security-role-mapping>
                                        <group name="administrators" />
                                </security-role-mapping>
                        </namespace-resource>
                </write-access>
        </namespace-access>

In addition, your config/principals.xml needs the admin account turned-on.
You can do that by using the -install switch in orion:

java -jar orion.jar -install


This will prompt for a password...

Regards,

the elephantwalker
www.elephantwalker.com




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of korosh
Sent: Wednesday, December 19, 2001 4:20 PM
To: Orion-Interest
Subject: Not allowed to lookup java:comp/ServerAdministrator ??????



i get the below error when trying to stop orion through the admin interface.
Any one any clues?

orion-application.xml seems to be application specific and not anything to
do with administrating orion.



---------------------------------------
orion>java -jar admin.jar ormi://localhost:23791/ admin nqbeqs -shutdown
Security error: Not allowed to look up java:comp/ServerAdministrator, check
the namespace-access tag
 setting in orion-application.xml for details
---------------------------------------



Reply via email to