[Yanel-dev] Configuration files not copied correctly?
Andreas Wuest
awuest at student.ethz.ch
Fri Mar 9 16:33:11 CET 2007
Hi
I have a problem with the local.realms.xml.
I have a "local" directory in my conf dir, which contains
local.realms.xml
local.resource-types.xml
local.yanel.xml
My local.yanel.xml looks like this:
<?xml version="1.0"?>
<yanel xmlns="http://www.wyona.org/yanel/1.0">
<!-- # Realms configuration -->
<realms-config src="local.realms.xml"/>
<!-- # ResourceTypes configuration -->
<resource-types-config src="local.resource-types.xml"/>
</yanel>
But when I try to access a page, I always get
783 2007-03-09 16:17:16,932 [http-8080-Processor24] ERROR
org.wyona.yanel.core.map.RealmConfiguration.readRealms():252 -
/Users/awuest/Documents/devel/src/wyona/repos/yanel/trunk/local/apache-tomcat-5.5.20/webapps/yanel/WEB-INF/classes/local.realms.xml
(No such file or directory)
java.io.FileNotFoundException:
/Users/awuest/Documents/devel/src/wyona/repos/yanel/trunk/local/apache-tomcat-5.5.20/webapps/yanel/WEB-INF/classes/local.realms.xml
(No such file or directory)
And indeed, there is no local.realms.xml in my WEB-INF.
I looked at your production server, and there the local.yanel.xml looks
like this:
<?xml version="1.0"?>
<yanel xmlns="http://www.wyona.org/yanel/1.0">
<!-- # Realms configuration -->
<realms-config src="realms.xml"/>
<!-- # ResourceTypes configuration -->
<resource-types-config src="resource-types.xml"/>
</yanel>
Note though that the realms.xml and the resource-types.xml are actually
called local.* in that directory, so it does not seem to use the local ones.
Any ideas how I can teach Yanel to use my local configs?
--
Kind regards,
Andi
More information about the Yanel-development
mailing list