I specify the -Djava.library.path as follows:
and in the clasas its.prolog.Test I have this line
System.out.println(System.getProperty("java.library.path"));
which prints out the following java.library.path value:
Dear all,
I want to run an application which requires a special native libray as
the following error shows:
There was 1 error:
[java] 1) testQuery(its.prolog.Test)java.lang.UnsatisfiedLinkError:
no jpl in java.library.path
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.jav
unfortunately it is in German:
--15:17:51-- http://localhost:8080/myapp/index.jsp
(Versuch: 5) => `index.jsp'
Verbindungsaufbau zu
xxx|yyy|:8080... fehlgeschlagen: Die Wartezeit für die Verbindung ist
abgelaufen.
Erneuter Versuch.
in English the whole stdout should mean:
--15:17:51-- http:/
Hi all,
I run a Linux script to check every 5 minutes whether my server is still on:
#! /bin/bash
while true; do
sleep 300
`wget http://localhost:8080/myapp/index.jsp -o stdout`
result=`grep -c 'OK' stdout`
if [ $result -eq 0 ]; then
echo "server down" | mail -s "warning:se
Sorry David,
I have found the problem. We have to declare the external dependencies
in the build.xml file so that the compilation can find required *.jar.
thanks for for help.
Cheers,
Gop
- Originalnachricht -
Von: David Delbecq <[EMAIL PROTECTED]>
Datum: Donnerstag, 23. November 2006
Dear David,
yes, there is a target in the build.xml which is used to deploy an
application: ant install.
I found the deployment directory as you suggested as follows:
conpro/apache-tomcat-5.5.17 $ ls webapps/prolog/WEB-INF/lib/
activation.jar commons-logging-1.1.jar jstl.jar
thanks all for your reply.
actually, I have this kind of directory hierarchy:
myapp/build.properties
myapp/build.xml
myapp/web/*.jsp
myapp/web/WEB-INF/web.xml
myapp/web/WEB-INF/lib/requiredlibs.jar
myapp/web/WEB-INF/classes
myapp/src/../*.java
and after running ant install, I have this directory
Dear all,
it seems to me that my lib packages which are located under
myapp/web/WEB-INF/lib can not be recognized by Tomcat.
If I move my packages to common/lib, then it works fine.
Is there any trick how the packages under myapp/web/WEB-INF/lib can be
found by Tomcat?
Thanks,
Gop
-