How to change Eclipse RAC port number [message #76919] |
Tue, 11 July 2006 06:20  |
Eclipse User |
|
|
|
Originally posted by: afadimatou.axway.com
Hi,
I'm using the Remote Agent Controller on a sun machine, and I'm getting
this error message while trying to start it:
Starting Agent Controller
Cannot bind to client handling socket 6 using port 10002. Make sure the
port is free and no other Agent Controller is using the same port.
RAServer failed to start
The problem is that the port 10002 of my machine is already used by
another process that own it. Now, I guess it is possible to change that
port, I changed in the server side from the serviceconfig.xml file, then
the RAC starts but I can execute my tests because Eclipse try to connect
to the default port 10002.
I don't know how to change the port number of the agent controller in
Eclipse.
Are there any document that I can use to find how to do that?
Do somebody has any idea?
Thanks!
|
|
|
|
|
Re: How to change Eclipse RAC port number [message #77128 is a reply to message #76919] |
Tue, 11 July 2006 13:35   |
Eclipse User |
|
|
|
Fadimatou Abdoulaye wrote:
> Hi,
>
> I'm using the Remote Agent Controller on a sun machine, and I'm getting
> this error message while trying to start it: Starting Agent Controller
> Cannot bind to client handling socket 6 using port 10002. Make sure the
> port is free and no other Agent Controller is using the same port.
> RAServer failed to start
>
> The problem is that the port 10002 of my machine is already used by
> another process that own it. Now, I guess it is possible to change that
> port, I changed in the server side from the serviceconfig.xml file, then
> the RAC starts but I can execute my tests because Eclipse try to connect
> to the default port 10002.
> I don't know how to change the port number of the agent controller in
> Eclipse.
>
> Are there any document that I can use to find how to do that?
> Do somebody has any idea?
>
> Thanks!
Asaf has you covered on the client side. On the AC side, it's a matter
of specifying the port in the <ac_install>/config/serviceconfig.xml
file. Check out "Getting started with Agent Controller - Solaris on
Sparc" at <
http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_42/solaris_sparc/getting_started.html
> => find "If you want to make changes to the configuration file" that
points you to "Agent Controller configuration files" at <
http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_42/configfile_ref.html
> which ... isn't as helpful as I'd like. Hmmm, just edit that
serviceconfig.xml file, find the 10002s and change them to what you
want. Start the RAC. Do as ASAF suggested on the client side. See if
they talk to each other.
But... you say the port is already used by another process... it's not
another RAC is it? Because two can't coexist, last I looked. That's one
of the reasons for the migration to the "new tech AC" taking place in
4.1=>4.3-and-beyond. The new tech AC allows multiple agent controllers.
If the other port using is Joe-random-process... you're okay. But if it
is another RAC, you can't be stomping on each other. (I think the
hold-up will be the hardwired named pipes.)
Note that other sockets are used... I think 10003 is the file transfer
agent... and ephemeral ports are opened BACK to the client for data
transfer (unless in data multiplexing mode... this is another "area for
improvement" offered by the new tech AC, getting rid of those ephemeral
ports).
HTH.
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
|
|
|
|
|
Re: How to change Eclipse RAC port number [message #78996 is a reply to message #78763] |
Wed, 26 July 2006 10:58  |
Eclipse User |
|
|
|
Bertrand Quenin wrote:
> Hi all,
>
> I think you didn't understand what was Fadimatou's question. She says
> that its RAC is running fine on its host but on a port that is different
> from the default one (10002 and 10005).
> The question is: How specify a specific port (not the default one) in
> the location asset since you can only provide a hostname (no port).
>
> I'm confronted to the same problem. I've started my RAc on non default
> ports on some host. It works like a charm but i'm unable to provide
> these specific ports in my location asset ...
>
> Any workaround for this ?
>
> Thanks.
>
>
If I misunderstood before, I'm not sure I understand any better now.
So are you having problems with the port *back* to the client? If so,
that's a well-known issue as it uses an ephemeral port number. The
solution is (a) use the new AC (no ephemeral ports, but not on Sun yet),
or (b) use the MultiplexedData option to the RAC (puts data on same
channel as commands, rather than trying to open that ephemeral port for
data).
I guess I'm missing the context for "location asset"... maybe one of the
RAC guys further up the chain than me can respond?
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
Powered by
FUDForum. Page generated in 0.04866 seconds