Gerald,
I ran into this same problem. For some reason when I deployed, Orion
wouldn't copy the principles.xml from my application to the
applications-deployment directory. I copied it manually and Orion stopped
complaining. I hope this helps.
Stuart
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gerald
Gutierrez
Sent: Tuesday, January 23, 2001 12:13 PM
To: Orion-Interest
Subject: What is this strange error?
I'm trying to deploy a very simple application, and am getting the error
"Invalid principals config URL: principals.xml". What in the world does
this mean? I've had this problem all the way from 1.3.x up to 1.4.5 and no
one has been able to tell me what it means, or why it happens, or what I
must do to get rid of it. It is not documented anywhere. Can someone,
perhaps those who work on Orion, PLEASE tell me what this means.
The Error:
...
Copying default deployment descriptor from archive at
C:\k\wrk\test\SingleSignon
\Alpha\bld\alpha-app/META-INF/orion-application.xml to deployment directory
C:\a
\orion\application-deployments\alpha-app...
Error instantiating application at
file:/C:/k/wrk/test/SingleSignon/Alpha/bld/al
pha-app.ear: Invalid principals config URL: principals.xml for alpha-app
Auto-deploying file:/C:/a/orion/default-web-app/ (New server version
detected).
...
My orion-application.xml is:
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application>
<display-name>Alpha</display-name>
<module>
<web>
<web-uri>alpha-web.war</web-uri>
<context-root>/alpha</context-root>
</web>
</module>
<security-role>
<description>Users</description>
<role-name>single_signon_user</role-name>
</security-role>
</application>
My principals.xml:
<?xml version="1.0"?>
<!DOCTYPE principals PUBLIC "//Evermind - Orion Principals//"
"http://www.orionserver.com/dtds/principals.dtd">
<principals>
<groups>
<group name="single_signon_user"/>
</groups>
<users>
<user realname="Gerald" username="gerald" password="abc">
<group-membership group="single_signon_user"/>
</user>
</users>
</principals>