What's wrong with the principals.xml and orion-application.xml files below?

---------------------------------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" 
"http://www.orionserver.com/dtds/principals.dtd">

<principals>
         <groups>
             <group name="players">
                 <description>The players</description>
             </group>
         </groups>
</principals>
---------------------------------------------------------------------------------

---------------------------------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application 
runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd">

<orion-application
     autocreate-tables="true"
     autodelete-tables="true"
     default-data-source="jdbc/MyDS">

     <security-role-mapping name="players">
         <group name="players"/>
     </security-role-mapping>

     <principals path="principals.xml"/>
</orion-application>
---------------------------------------------------------------------------------

If there's nothing wrong, why is it that I get this error when I try to use 
the two above files in my deployment?

---------------------------------------------------------------------------------
Error instantiating application at file:/C:/k/wrk/bld/app/my-app.ear: 
Invalid principals config URL: principals.xml for my-app
---------------------------------------------------------------------------------

The two files are in my META-INF directory in the EAR file.

Thanks for any help.


Reply via email to