Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Connection refused on socket 7 from 0xe8371eac
Connection refused on socket 7 from 0xe8371eac [message #114062] Thu, 04 October 2007 10:13 Go to next message
Eclipse UserFriend
Originally posted by: mcconstantinescu.axway.com

Hello

I execute tests on a linux ES 3 machine. I have installed the RAC422 on
that machine and I had to change the default ports to avoid collisions
with another applications.

The RAServers starts correctly on those ports.
When I launch the tests remotely (from an Win XP machine) I've got the
following error message in eclipse :

MESSAGE IWAT4039E The Test Execution Harness reported the following
problems:Connection refused on host XXX.

and on the Remote Agent side, the log looks like below :


<CommonBaseEvent creationTime="2007-10-04T09:58:13.128490Z"
globalInstanceId="A704B9350001F5E0407295F539382FB4" msg="Incoming
connection request on socket 7 from 0xe8371eac" severity="10"
version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="172.30.49.10" locationType="IPV4"
processId="4948" subComponent="framework/RAServer/messagePump.c"
componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-10-04T09:58:13.128713Z"
globalInstanceId="A704B9350001F6C658E3F177698A5969" msg=" Connection
refused on socket 7 from 0xe8371eac" severity="55" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="172.30.49.10" locationType="IPV4"
processId="4948" subComponent="framework/RAServer/messagePump.c"
componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>


I must add that the same test worked for a few runs on the same machine,
with the same configuration for RAC .....

Please advice.

Many thanks.
Carmen
Re: Connection refused on socket 7 from 0xe8371eac [message #114133 is a reply to message #114062] Thu, 04 October 2007 10:43 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Carmen,
When changing the Agent Controller port number, the
Window->Preferences->Test->Agent Controller Local Port requires updating
when launching tests (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194752).

Ideally, we should allow the user to specify the port in the location:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=194754

Also, did the firewall/rules change?

Paul
"Carmen Constantinescu" <mcconstantinescu@axway.com> wrote in message
news:bfd1f8ab01640f930a3d95006b686933$1@www.eclipse.org...
> Hello
>
> I execute tests on a linux ES 3 machine. I have installed the RAC422 on
> that machine and I had to change the default ports to avoid collisions
> with another applications.
>
> The RAServers starts correctly on those ports.
> When I launch the tests remotely (from an Win XP machine) I've got the
> following error message in eclipse :
>
> MESSAGE IWAT4039E The Test Execution Harness reported the following
> problems:Connection refused on host XXX.
>
> and on the Remote Agent side, the log looks like below :
>
>
> <CommonBaseEvent creationTime="2007-10-04T09:58:13.128490Z"
> globalInstanceId="A704B9350001F5E0407295F539382FB4" msg="Incoming
> connection request on socket 7 from 0xe8371eac" severity="10"
> version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="172.30.49.10" locationType="IPV4"
> processId="4948" subComponent="framework/RAServer/messagePump.c"
> componentType="Eclipse_TPTP"/>
> <situation categoryName="ReportSituation">
> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" reasoningScope="INTERNAL"
> reportCategory="LOG"/>
> </situation>
> </CommonBaseEvent>
> <CommonBaseEvent creationTime="2007-10-04T09:58:13.128713Z"
> globalInstanceId="A704B9350001F6C658E3F177698A5969" msg=" Connection
> refused on socket 7 from 0xe8371eac" severity="55" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="172.30.49.10" locationType="IPV4"
> processId="4948" subComponent="framework/RAServer/messagePump.c"
> componentType="Eclipse_TPTP"/>
> <situation categoryName="ReportSituation">
> <situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" reasoningScope="INTERNAL"
> reportCategory="LOG"/>
> </situation>
> </CommonBaseEvent>
>
>
> I must add that the same test worked for a few runs on the same machine,
> with the same configuration for RAC .....
> Please advice.
>
> Many thanks.
> Carmen
>
Re: Connection refused on socket 7 from 0xe8371eac [message #114197 is a reply to message #114133] Fri, 05 October 2007 07:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mcconstantinescu.axway.com

I have changed the value for the port into the "Agent controller local
port" field on Test->Preferences.

I doubt that I would get any message on the Agent Controller log if I
would have tried to connect on the wrong port.......

There is not any firewall installed on that machine.

Carmen
Re: Connection refused on socket 7 from 0xe8371eac [message #114244 is a reply to message #114197] Fri, 05 October 2007 11:00 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Carmen,
Can you try with the latest version of TPTP (4.4.0.3)? What JRE
vendor/version are you using? Also, can you reply with the complete stack
trace in the Eclipse .log file.

Paul
"Carmen Constantinescu" <mcconstantinescu@axway.com> wrote in message
news:e6dc6bf31f90e3006f51d0100d3409ee$1@www.eclipse.org...
>I have changed the value for the port into the "Agent controller local
>port" field on Test->Preferences.
>
> I doubt that I would get any message on the Agent Controller log if I
> would have tried to connect on the wrong port.......
>
> There is not any firewall installed on that machine.
>
> Carmen
>
Re: Connection refused on socket 7 from 0xe8371eac [message #114331 is a reply to message #114244] Fri, 05 October 2007 13:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mcconstantinescu.axway.com

The eclipse log is :

!SESSION 2007-10-05 16:30:28.837
-----------------------------------------------
eclipse.buildId=M20060629-1905
java.version=1.4.2_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.hyades.test.core 1 0 2007-10-05 16:31:00.620
!MESSAGE org.eclipse.hyades.execution.core.DaemonConnectException
!STACK 0
org.eclipse.hyades.execution.core.DaemonConnectException
at org.eclipse.hyades.execution.local.NodeImpl._connect(NodeImp l.java:246)
at org.eclipse.hyades.execution.local.NodeImpl.connect(NodeImpl .java:360)
at org.eclipse.hyades.execution.local.NodeImpl.connect(NodeImpl .java:347)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness$4. run(TestExecutionHarness.java:2430)
at java.lang.Thread.run(Unknown Source)
Caused by:
org.eclipse.hyades.internal.execution.local.control.NotConne ctedException
at
org.eclipse.hyades.internal.execution.local.control.ProcessI mpl.launch(ProcessImpl.java:172)
at org.eclipse.hyades.execution.local.NodeImpl._connect(NodeImp l.java:217)
... 4 more

!ENTRY org.eclipse.hyades.test.core 4 0 2007-10-05 16:31:15.637
!MESSAGE IWAT4039E The Test Execution Harness reported the following
problems:Connection refused on host eva.buch.ro.sopra.


I use the java 1.4.2_11 from sun.
Changing to the 4.4 version if the last option because I have to use java
1.4 for all my other applications.

Regards
Re: Connection refused on socket 7 from 0xe8371eac [message #114381 is a reply to message #114331] Fri, 05 October 2007 18:15 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
I can't say for certain that this is your problem, but I would suggest
you pick a non-reserved port. Traditionally, ports 0-1023 are the "well
known" ports that are reserved for use by system processes. Port 7 in
particular is reserved for ECHO on both TCP and UDP.

See the IANA list or wikipedia for official port numbers assignments
http://www.iana.org/assignments/port-numbers
http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_number s

Note also that, although the the primary agent controller port is user
specifiable both on the AC and the workbench, the file transfer service
port (10005) is not user specifiable from within the workbench. If you
only have a conflict with 10002, you should be okay, but if you are
unable to open 10005, you still won't be able to execute a test remotely.

Hope this helps,
--Joe


Carmen Constantinescu wrote:
> The eclipse log is :
>
> !SESSION 2007-10-05 16:30:28.837
> -----------------------------------------------
> eclipse.buildId=M20060629-1905
> java.version=1.4.2_13
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.hyades.test.core 1 0 2007-10-05 16:31:00.620
> !MESSAGE org.eclipse.hyades.execution.core.DaemonConnectException
> !STACK 0
> org.eclipse.hyades.execution.core.DaemonConnectException
> at
> org.eclipse.hyades.execution.local.NodeImpl._connect(NodeImp l.java:246)
> at
> org.eclipse.hyades.execution.local.NodeImpl.connect(NodeImpl .java:360)
> at
> org.eclipse.hyades.execution.local.NodeImpl.connect(NodeImpl .java:347)
> at
> org.eclipse.hyades.execution.harness.TestExecutionHarness$4. run(TestExecutionHarness.java:2430)
>
> at java.lang.Thread.run(Unknown Source)
> Caused by:
> org.eclipse.hyades.internal.execution.local.control.NotConne ctedException
> at
> org.eclipse.hyades.internal.execution.local.control.ProcessI mpl.launch(ProcessImpl.java:172)
>
> at
> org.eclipse.hyades.execution.local.NodeImpl._connect(NodeImp l.java:217)
> ... 4 more
>
> !ENTRY org.eclipse.hyades.test.core 4 0 2007-10-05 16:31:15.637
> !MESSAGE IWAT4039E The Test Execution Harness reported the following
> problems:Connection refused on host eva.buch.ro.sopra.
>
>
> I use the java 1.4.2_11 from sun.
> Changing to the 4.4 version if the last option because I have to use
> java 1.4 for all my other applications.
>
> Regards
>
Re: Connection refused on socket 7 from 0xe8371eac [message #114571 is a reply to message #114062] Mon, 08 October 2007 10:42 Go to previous messageGo to next message
Igor Alelekov is currently offline Igor AlelekovFriend
Messages: 139
Registered: July 2009
Senior Member
Hi Carmen,
Check the serviceconfig.xml RAC config file if the remote host is allowed
to connect.
Regards,
Igor
Re: Connection refused on socket 7 from 0xe8371eac [message #115123 is a reply to message #114571] Wed, 10 October 2007 15:29 Go to previous message
Eclipse UserFriend
Originally posted by: mcconstantinescu.axway.com

Hello Igor,

That was the problem indeed. It was really stupid : when I launched
SetupConfig.sh I let all the default values. For the "Network access mode"
the default was LOCAL and that caused my pain.

It was really stupid.

Regards,
Carmen
Previous Topic:init JPIBootLoader
Next Topic:Monitor stop collecting data after a few seconds
Goto Forum:
  


Current Time: Thu Mar 28 09:12:13 GMT 2024

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

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

Back to the top