tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Minh Tu Thanh Tran" <>
Subject How to start the prolog engine(load its library) when starting Tomcat
Date Mon, 07 Aug 2006 14:27:34 GMT
Thanks David,

Again, I want to start the prolog engine, so I need to load the
library of prolog when I start Tomcat 5.5.17. I think the command line
is: java -Djava.library.path=$PLLIBDIR $1
But I do not know where to put this command line in Tomcat in order to
load the prolog library when Tomcat starts. I am using Linux.

This is the error I get when using jpl methods to call prolog, just
because the prolog engine is not yet started.

Caused by: java.lang.UnsatisfiedLinkError: no jpl in java.library.path
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at jpl.fli.Prolog.<clinit>(
        at jpl.Util.textToTerm(
        at jpl.Query.<init>(
        at nats.incom.jsp.beans.predicate.PredicateBean.setExercise(

Many thanks,


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message