Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » calling IAgent.sendCommand more than 150 times gives a SocketException
calling IAgent.sendCommand more than 150 times gives a SocketException [message #123064] Tue, 12 February 2008 16:40 Go to next message
Joachim Haensel is currently offline Joachim Haensel
Messages: 10
Registered: July 2009
Junior Member
Tried to call sendCommand from within a Client
about 500 times. The agent stops receiving commands
between command nr. 100 and 150. The Client side
sends about 300 without complaining and is giving
me this stacktrace:

java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at
org.eclipse.tptp.platform.execution.client.core.internal.Con nectionImpl.sendMessage(ConnectionImpl.java:499)
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.sendCommand(AgentController.java:1338)
at
org.eclipse.tptp.platform.execution.client.agent.internal.Ag entImpl.sendCommand(AgentImpl.java:353)
at
org.evotest.testdriver.TestDriver.enqueueForExecution(TestDr iver.java:117)
at org.evotest.testdriver.TestDriver.main(TestDriver.java:221)


all the ac stuff is newly compiled from CVS

Is there some limitation on how many commands are allowed to be
send?
Re: calling IAgent.sendCommand more than 150 times gives a SocketException [message #123200 is a reply to message #123064] Fri, 15 February 2008 08:50 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Hi,
There are no such limitations how many commands are allowed to send.
What agent are you calling Java or native?
I opened bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=219063 to
track this defect.
Please submit to the bugzilla AC's log file with DEBUG level.
Regards,
Igor
Re: calling IAgent.sendCommand more than 150 times gives a SocketException [message #123262 is a reply to message #123200] Fri, 15 February 2008 13:43 Go to previous messageGo to next message
Joachim Haensel is currently offline Joachim Haensel
Messages: 10
Registered: July 2009
Junior Member
Hi,

thanks for opening a bug. I attached the source that produces
it and the servicelog.log i got with DEBUG enabled.

Regards,

Jochen.

> Hi,
> There are no such limitations how many commands are allowed to send.
> What agent are you calling Java or native?
> I opened bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=219063
> to track this defect.
> Please submit to the bugzilla AC's log file with DEBUG level.
> Regards,
> Igor
>
>
Re: calling IAgent.sendCommand more than 150 times gives a SocketException [message #123326 is a reply to message #123262] Mon, 18 February 2008 09:32 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
Hi Jochen,
The defect is fixed. The fix fill be available in the next TPTP 4.5 dev.
build.
Re: calling IAgent.sendCommand more than 150 times gives a SocketException [message #123339 is a reply to message #123326] Mon, 18 February 2008 15:27 Go to previous messageGo to next message
Joachim Haensel is currently offline Joachim Haensel
Messages: 10
Registered: July 2009
Junior Member
Igor Alelekov wrote:
> Hi Jochen,
> The defect is fixed. The fix fill be available in the next TPTP 4.5 dev.
> build.
>
Hi Igor,

thanks for the quick fix ;).
Where can i get the tptp 4.5 dev?
Re: calling IAgent.sendCommand more than 150 times gives a SocketException [message #123470 is a reply to message #123339] Wed, 20 February 2008 06:46 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor Alelekov
Messages: 139
Registered: July 2009
Senior Member
You can find TPTP 4.5 dev. builds here:
http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0
Re: calling IAgent.sendCommand more than 150 times gives a SocketException [message #123611 is a reply to message #123470] Thu, 21 February 2008 11:07 Go to previous message
Joachim Haensel is currently offline Joachim Haensel
Messages: 10
Registered: July 2009
Junior Member
Thanks a lot
> You can find TPTP 4.5 dev. builds here:
> http://www.eclipse.org/tptp/home/downloads/?ver=4.5.0
>
>
Previous Topic:Error Profiling wasce
Next Topic:versions of compilers used for the Agent Controller prebuild libs
Goto Forum:
  


Current Time: Fri Sep 19 08:03:59 GMT 2014

Powered by FUDForum. Page generated in 0.01780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software