[Attempto] Running ACE Editor or ape.exe in a localhost via Java Server Pages

Tobias Kuhn kuhntobias at gmail.com
Thu Apr 8 16:11:49 CEST 2010


Hi Adam,

> We looked at the web server error log files which is an instance of
> Apache Tomcat version 6.0.  In particular, in one of the Tomcat log
> files called localhost......log, we found two error messages (1)
> Servlet.service() for servlet ACEEditorServlet threw exception  and (2)
> java.lang.UnsatisfiedLinkError: no jpl in java.library.path.  Error
> message (2) belongs to SWI-Prolog.  These errors seem to be caused by a
> failed call to ape.exe from within ACEEditorServlet.
> ACEEditorServlet.java calls a version of ape.exe, which calls part of
> SWI-Prolog to interprete ACE sentences.

"no jpl in java.library.path" means that the JPL libraries of SWI Prolog 
cannot be found. This can be fixed by adding a Java VM argument as 
described in the JavaDoc of the APELocal class:

http://attempto.ifi.uzh.ch/site/docs/java/ch/uzh/ifi/attempto/ape/APELocal.html


Cheers,
Tobias


More information about the attempto mailing list