[Yanel-usage] FOAF: Unknown resource type
Michael Wechner
michael.wechner at wyona.com
Mon Feb 4 21:29:16 CET 2008
Tonio Seiler wrote:
> I had relative paths in the resource-types.xml. Thats what made it
> crash.
> I replaced them by absolute paths and it worked.
> Maybe there should be a hint in this xml file, since there is a
> relative path in a commented part, which made me also use relative
> paths.
done
Thanks
Michi
>
> Tonio
>
>
> Am 04.02.2008 um 09:00 schrieb Michael Wechner:
>
>> Tonio Seiler wrote:
>>
>>> I reqistered the Resource Types in local.resource-types.xml as
>>>
>>> <resource-type src="../../contributions/realms/foaf/src/
>>> resources/shared/" compile="true" />
>>> <resource-type src="../../contributions/realms/foaf/src/
>>> resources/foaf/" compile="true" />
>>> <resource-type src="../../contributions/realms/foaf/src/
>>> resources/redirect/" compile="true" />
>>> <resource-type src="../../contributions/realms/foaf/src/
>>> resources/findfriend/" compile="true" />
>>>
>>>
>>> When I want to acces the foaf realm, I allways get the error
>>> message "Unknown Resource Type: : <{http://www.wyona.org/yanel/
>>> resource/1.0}findfriend/ <http://www.wyona.org/yanel/resource/1.0%
>>> 7Dfindfriend/>>".
>>>
>>>
>>> When running the build.xml, I cant see any error messages.
>>>
>>
>> check TOMCAT/webapps/yanel/WEB-INF/classes/resource-types.xml
>>
>> if it is in there.
>>
>> Also check if it is actually being compiled
>>
>> contributions/realms/foaf/src/resources/findfriend/build/*
>>
>> Also check if YANEL_SRC/conf/local/local.resource-types.xml
>>
>> has a correct path to this resource ...
>>
>> HTH
>>
>> Michi
>>
>>>
>>> Any ideas?
>>>
>>>
>>> Tonio
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>>
>>> _______________________________________________
>>> Yanel-usage mailing list
>>> Yanel-usage at wyona.com
>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>>
>>
>>
>> --
>> Michael Wechner
>> Wyona - Open Source Content Management - Yanel, Yulup
>> http://www.wyona.com
>> michael.wechner at wyona.com, michi at apache.org
>> +41 44 272 91 61
>>
>> _______________________________________________
>> Yanel-usage mailing list
>> Yanel-usage at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>
>
> _______________________________________________
> Yanel-usage mailing list
> Yanel-usage at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-usage
mailing list