Subject: Re: Re: [jade-develop] Problems with the JSP example
From: Vassilios Koutkias (bikout@med.auth.gr)
Date: Thu Feb 06 2003 - 15:18:10 MET
Dear Eduardo,
Thank you very much for your reply.
Initially, I also thought that the problem was due to a security constraint,
thus, I disabled my firewall and even requested the testajade.jsp page locally:
http://localhost:8080/myapp/testajade.jsp.
However, the problem still remains.
The first step I follow, is launching the Buffer agent (java jade.Boot -
platform Buffer:example.jsp.Buffer), which is successfully done. As a result,
the Main-Container of the agent platform is created. Then, I start-up the
Tomcat Server. This doesn't work either...
Is there a special configuration I have to make in the Tomcat Server for the
example application? What do you mean by saying that Tomcat Server must have
the permission to write the Container-ID file?
What modifications have you made in the code of the testajade.jsp or
tesjade.jsp page?
Thank you in advance...
Vassilis.
> I also had some problems with the example, so let me share you the
> pitfalls I found and the way I work around them.
>
>
> First of all notice that the main container must be running before the
> web application loads, otherwise, you should restart the web application
> (perhaps the whole server) after the platform is running.
>
>
> Does tomcat have permissions to write the Container-ID file?
> Do you have firewall or proxy software running?
>
>
> Hope it helps...
>
>
>
> Eduardo Ramírez
>
>
> Center for Intelligent Systems
> ITESM Campus Monterrey
> Monterrey, Mex.
>
>
> On Tue, 2003-02-04 at 08:25, Vassilios Koutkias wrote:
> Dear Jaders,
>
> I have some problems regarding the JSP example distributed with JADE,
although
> I follow the steps that are described in the corresponding tutorial.
>
> 1) When I request the "testajade.jsp" page, the following exception is
> generated in Tomcat's console:
>
> -------------------------------------------
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.4
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.4
> container jade created
> This is JADE 2.6 - 2002/07/19 09:32:33
> downloaded in Open Source, under LGPL restrictions,
> at http://jade.cselt.it/
>
> Communication failure while contacting agent platform: Communication Failure
> [nested message is: error marshalling arguments; nested exception is:
> java.net.SocketException: Software caused connection abort: socket
> write error]
> jade.core.IMTPException: Communication Failure [nested message is: error
This archive was generated by hypermail 2a22 : Thu Feb 06 2003 - 15:20:22 MET