<div><h2 style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">Testing ACE editor again from sources</h2><p style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">ACE crashes, due a bad update in the trunk, but happily ACE editor works.</p>
<p style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">Here is a complete shell session that started the web application on Ubuntu 10.4 :</p><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre>
cd ~/src/acewiki/
bzr pull
ant createwebapps
ln -s /home/jmv/src/ape/ape.exe .
# After looking at run_preloaded in the SWI Prolog distribution in :
# pl-5.8.3/packages/jpl/examples/java/env.sh
# I came with this shell fragment that works for me :
eval `swipl -dump-runtime-variables`
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$PLARCH:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$PLARCH/server:$LD_LIBRARY_PATH
export LD_PRELOAD=$PLBASE/lib/$PLARCH/libjpl.so
java -Djava.library.path=$PLBASE/lib/$PLARCH \
     -jar $HOME/apps/jetty-runner*.jar webapps/war &amp;
</pre></span><p style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">Then access <a href="http://localhost:8080/acewiki/">http://localhost:8080/acewiki/</a></p><p style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">
</p><p style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">Alas ! AceWiki does not start :</p><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre>2010-06-15 16:12:08.860:WARN::Error for /acewiki/
java.lang.NoClassDefFoundError: org/semanticweb/owl/<span class="CAUTION" style="color: rgb(255, 0, 0); font-weight: bold; ">inference</span>/OWLReasonerException
        at ch.uzh.ifi.attempto.acewiki.Wiki.&lt;init&gt;(Unknown Source)
        at ch.uzh.ifi.attempto.acewiki.AceWikiApp.init(Unknown Source)
        at nextapp.echo2.app.ApplicationInstance.doInit(ApplicationInstance.java:247)</pre></span><p style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">The reason is that the OWL API jar is not in accordance with the acewiki.Wiki class :</p>
<span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre>unzip -l webapps/war/WEB-INF/lib/owlapi-bin.jar | grep OWLReasonerException
      725  2010-01-28 12:51   org/semanticweb/owlapi/<span class="CAUTION" style="color: rgb(255, 0, 0); font-weight: bold; ">reasoner</span>/OWLReasonerException.class</pre></span></div>-- <br>Jean-Marc Vanel<br>Consulting, services, training,<br>
Rule-based programming, Semantic Web<br><a href="http://jmvanel.free.fr/">http://jmvanel.free.fr/</a><br>+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16<br>( we rarely listen to voice messages, please send a mail instead )<br>
<br>