[
https://issues.apache.org/jira/browse/DERBY-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583623#action_12583623
]
V.Narayanan commented on DERBY-3489:
------------------------------------
> Does this mean that the slave will never report which port it listens on?
Seemingly that is the only place where the slave port is reported. So the
answer to
the question is yes.
> The message of which port the slave listens to is very valuable when
> debugging why replication
> does not start successfully.
I agree
> It could be that the message should be printed somewhere else than it is
> today,
OK, I will move the message after successful creation of the server socket and
before accepting
on the socket.
> Error message XRE04 does not include the right port number.
> -----------------------------------------------------------
>
> Key: DERBY-3489
> URL: https://issues.apache.org/jira/browse/DERBY-3489
> Project: Derby
> Issue Type: Bug
> Components: Replication
> Affects Versions: 10.4.0.0
> Reporter: Øystein Grøvlen
> Assignee: V.Narayanan
> Attachments: Derby3489_1.diff, Derby3489_1.stat
>
>
> If the master is not able to connect to the slave, the error messages does
> not include the right port number:
> ij> connect
> 'jdbc:derby:masterDB;user=oystein;password=pass;startMaster=true;slaveHost=localhost;slavePort=9901';
> ERROR XRE04: Could not establish a connection to the peer of the replicated
> database 'masterDB' on address 'localhost:-1'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.