[Yanel-dev] Yanel out-of-the-box fails to run

Andreas Wuest awuest at student.ethz.ch
Fri Jan 5 15:21:48 CET 2007


Hi

On 5.1.2007 9:52 Uhr, Josias Thöny wrote:

> Hi,
> 
> On Fri, 2007-01-05 at 09:38 +0100, Michael Wechner wrote:
>> Andreas Wuest wrote:
>>
>>> Hi
>>>
>>> On 5.1.2007 0:15 Uhr, Michael Wechner wrote:
>>>
>>>> Andreas Wuest wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> I've tried to run a freshly checked out Yanel (revision 21440) 
>>>>> without manually configuring anything (i.e. out-of-the-box):
>>>>>
>>>>>  1) ./build.sh test: several tests fail
>>>>>  2) accessing http://127.0.0.1:8080/yanel/ results in:
>>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <yanel 
>>>>> servlet-context-real-path="/Users/awuest/Documents/devel/bin/apache-tomcat-5.5.20/webapps/yanel/"><request 
>>>>> servlet-path="/" uri="/ya
>>>>> nel/"/><session 
>>>>> id="40D9D9C02FE3FB6A50A6B2C02D75BC64"><no-attributes/></session><exception>No 
>>>>> such resource type registered: &lt;{http://ww
>>>>> w.wyona.org/yanel/resource/1.0}show-realms/&gt;, check 
>>>>> yanel.properties</exception></yanel>
>>>>>
>>>>> IIUC, running Yanel out-of-the-box without any manual tweaking 
>>>>> should work, and is one of our high-priority goals, no?
>>>>
>>>>
>>>> yes, absolutely. It works for me on Mac OS X (10.4) without any 
>>>> problems.
>>>> All tests work. Did you configure before build (since it's a fresh 
>>>> checkout)?
>>>
>>> I've retried afresh with revision 21453. Still the same problem.
>>>
>>> Java version:
>>>
>>> % java -version
>>> java version "1.5.0_06"
>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
>>> Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
>>>
>>> % javac -version
>>> javac 1.5.0_06
>>>
>> well, it might be a Java 1.5 issue, because I have tested so far only on 
>> Java 1.4 and I remember Simon saying that
>> our Java 1.5 cruisecontrol doesn't really seem to work properly.
> 
> I've tested yanel on Windows XP/Java 1.5.0_06 and on Linux/Java
> 1.4.2_06, and everything seems to work.
> 
> Do your logfiles show more information about the problem?

Not really. build/logs/log4j.log says

0    2007-01-05 02:05:12,391 [http-8080-Processor24] ERROR 
org.wyona.yanel.servlet.YanelServlet.getContent():205  - No such 
resource type registered: 
<{http://www.wyona.org/yanel/resource/1.0}show-realms/>, check 
yanel.properties
13531 2007-01-05 02:05:25,922 [http-8080-Processor24] ERROR 
org.wyona.yanel.servlet.YanelServlet.getContent():205  - No such 
resource type registered: 
<{http://www.wyona.org/yanel/resource/1.0}show-realms/>, check 
yanel.properties

> Maybe you could check if the show-realms resource is registered in the
> following three files:
> $YANEL_HOME/conf/yanel.xml
> $YANEL_HOME/build/webapps/yanel/WEB-INF/classes/yanel.properties
> $TOMCAT_HOME/webapps/yanel/WEB-INF/classes/yanel.properties

Yep, it is registered.

BTW: I am using the tomcat which gets installed by Yanel. I could do a 
test run with my own tomcat as well.

-- 
Kind regards,
Andi




More information about the Yanel-development mailing list