From jan@swi.psy.uva.nl Wed Jun  6 17:07:57 2001
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f56F7v329177;
	Wed, 6 Jun 2001 17:07:57 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id f56F7v527601;
	Wed, 6 Jun 2001 17:07:57 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: Vincent Manuel Barrilliot <vbarr@cme.nist.gov>,
   Vincent Manuel Barrilliot <vbarr@cme.nist.gov>, prolog@swi.psy.uva.nl
Subject: Re: [SWIPL] SWI-Prolog 4.0.6 problem on Solaris 2.6
Date: Wed, 6 Jun 2001 17:02:05 +0200
X-Mailer: KMail [version 1.0.29.2]
Content-Type: text/plain
References: <200106061449.KAA28690@dribble.cme.nist.gov>
In-Reply-To: <200106061449.KAA28690@dribble.cme.nist.gov>
MIME-Version: 1.0
Message-Id: <01060617075601.06910@gollem>
Content-Transfer-Encoding: 8bit

On Wed, 06 Jun 2001, Vincent Manuel Barrilliot wrote:
>Hi,
>
>I am using SWI 4.0.6 on Ultrasparc, Solaris 2.6
>I don't use the interpreter directly, but I make requests from agents in Java using JPL 1.0.1
>The agent platform I use is Jade 2.1. Everything is on network filesystems.
>
>
>So far I am not doing much except making a 'consult' request.
>I could test my code (in JPL) and the requests works all the time perfectly.
>
>When I put the code in a Jade agent, then it works or not, in a pattern I can't figure out.
>When it is not working, SWI complains:
>
>KnowledgeBaseManagerconsult:Trying to load /proj/ppe/PCR/Vincent/Prototype/ProE/PART_SLOT.pl
>KnowledgeBaseManagerconsult:Consultation query is: consult( /proj/ppe/PCR/Vincent/Prototype/ProE/PART_SLOT.pl )
>ERROR: source_sink `'/proj/ppe/PCR/Vincent/Prototype/ProE/PART_SLOT.pl'' does not exist
>
>But I know that the file is there !
>blur:Java(817)% ll /proj/ppe/PCR/Vincent/Prototype/ProE/PART_SLOT.pl
>-rw-r--r--   1 vbarr    ppe         3061 Jun  6 10:19 /proj/ppe/PCR/Vincent/Prototype/ProE/PART_SLOT.pl
>
>So, how come SWI is not finding it sometimes ?
>(yes, the network works perfectly )

Seems you tried most obvious things :-).  I can't think of a good
reason, but maybe there are some things to try.  First of all, does the
same problem occur without Java?  It is unlikely but no strictly
impossible Java upset something.  Second is to run the program under
truss (the Solaris system-call tracer) and see what it tries at the
system level and what errors are returned.  Finally, is it just this
file, any file on this file-system, in this directory or just any file?

	--- Jan 

