Hi,
I'm testing some installations of DSpace 1.7.0 (on Debian / Tomcat 5.5)
and I had a headache after making a few seemingly-trivial changes to the
out-of-the-box configuration yesterday. I had changed the default XMLUI
theme to Mirage, but after packaging and rebuilding I was getting a
"java.lang.ClassNotFoundException:". The Cocoon stack trace is as follows:
Failed to process pipeline
context:/jndi:/localhost/aspects/aspects.xmap - 115:34
<map:serialize type="xml">
context:/jndi:/localhost/aspects/aspects.xmap - 114:43
<map:transform type="PageNotFound">
context:/jndi:/localhost/aspects/aspects.xmap - 113:22 <map:generate>
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 161:34
<map:serialize type="xhtml">
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 155:33
<map:transform type="i18n">
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 150:51
<map:transform>
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 137:55
<map:transform type="IncludePageMeta">
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 132:55
<map:transform type="IncludePageMeta">
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 124:55
<map:transform type="IncludePageMeta">
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 118:55
<map:generate type="file">
context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 115:28 <map:match>
context:/jndi:/localhost/themes/themes.xmap - 63:45 <map:mount>
context:/jndi:/localhost/themes/themes.xmap - 62:35 <map:match
type="ThemeMatcher">
context:/jndi:/localhost/sitemap.xmap - 588:94 <map:mount>
After staring at diffs of my last-known working configuration
(dspace.cfg and xmlui.xconf) I noticed that xmlui.xconf from Peter's
DSpace git repository doesn't have an EOL on the last line. I rewrote
the file in vim and rebuilt / redeployed DSpace and XMLUI was working.
I noticed that configs from the dspace-src-release tarballs have proper
line endings, so I assumed this line ending stuff was the solution,
however on another server I'm still battling to figure out why the same
fix doesn't work.
Is there any method to the madness?
Peter's DSpace git repository is here: https://github.com/DSpace/DSpace
Thanks,
--
Alan Orth
[email protected]
http://alaninkenya.org
"I have always wished for my computer to be as easy to use as my telephone; my wish
has come true because I can no longer figure out how to use my telephone." -Bjarne
Stroustrup, inventor of C++
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech