[daisy] Insallation on Resin tip
Vitaly Sazanovich
vitaly.sazanovich at gmail.com
Fri May 4 10:32:56 CDT 2007
Yahoo! I fixed that myself. I debugged from WikiHelper to parsing of
siteconf.xml
It was throwing SaxNotSupportedException. I debugged blindly further on
to the org.apache.xmlbeans.impl.store.Locale.SaxLoader and guess what?
It was using com.caucho.xml.AbstractParser which is quite infamous from
what other people posted.
That's when I found and read this:
http://www.caucho.com/resin-3.0/xml/jaxp.xtp
So I set xalan and xerces as system properties in web.xml and there you
go, I can see my Daisy. And 'skin' request attribute has nothing to do
with it. It all goes down to parsing xml with the right parser.
Thanks,
Vitaly
Bruno Dumon напісаў(ла):
> Hi,
>
> Did you try if it worked with the included Jetty?
>
> I have no experience with Resin, but did you deploy the webapp as a
> whole to Resin, without any modifications?
>
> I can't imagine how skin attribute could be missing.
>
> Using 2.1-dev should make no difference in this, but if you want to
> compile from source, be sure to follow the instructions in the
> README.txt, not just run maven (first time it takes some time to setup,
> which we'll improve in the future)
>
> On Fri, 2007-05-04 at 13:26 +0300, Vitaly Sazanovich wrote:
>
>> Hello,
>>
>> I'm trying to install Daisy 2.0.1 on a Linux box.
>> This is what I'm getting when trying to open home page for the first
>> time, after all instructions run successfully.
>> I've checked the file
>> file:/home/adsapient/ediew/ediew-site/daisy/sitemap.xmap:496:0
>> and it contains InitSkin call alright. I've tried other mapped urls
>> (like admin, usersettings) - they all lead to either this or that
>> exception.
>> See for yourself:
>> http://ediew.com/usersettings
>> http://ediew.com/
>> http://ediew.com/admin/
>> I've checked skinconf.xml, it refers to 'default' skin.
>> Could you help me to diagnose the source of this error. I've tried to
>> check out the sources and compile, but then download of 2.1-dev jars
>> failed because neither of your 2 servers contained them. And I don't
>> want to use a branch... Stuck here.
>>
>> An error has occured
>>
>> java.lang.RuntimeException: Missing "skin" attribute on request.
>>
>> Cocoon stacktrace[hide]
>> Sitemap: error calling function 'org.outerj.daisy.frontend.IndexPageApple'
>> context:/daisy/sitemap.xmap - 496:0 <map:call>
>>
>> Java stacktrace[hide]
>>
>> java.lang.RuntimeException: Missing "skin" attribute on request.
>> at org.outerj.daisy.frontend.WikiHelper.getSkin(WikiHelper.java:78)
>> at
>>
>
> <snip/>
>
>
More information about the daisy
mailing list