Connection refused on socket 7 from 0xe8371eac [message #114062] |
Thu, 04 October 2007 10:13 |
Eclipse User |
|
|
|
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 #114197 is a reply to message #114133] |
Fri, 05 October 2007 07:13 |
Eclipse User |
|
|
|
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 #114331 is a reply to message #114244] |
Fri, 05 October 2007 13:49 |
Eclipse User |
|
|
|
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 |
Joe Toomey 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 #115123 is a reply to message #114571] |
Wed, 10 October 2007 15:29 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.11188 seconds