[
https://issues.apache.org/jira/browse/DERBY-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584021#action_12584021
]
V.Narayanan commented on DERBY-3552:
------------------------------------
Below is the trial of trying to install on the slave after a failover without a
remove/replace
ij version 10.5
Slave start
-----------
ij> connect
'jdbc:derby://localhost:1528/replicationdb;startSlave=true;slaveHost=localhost;slavePort=8001';
ERROR 08004: DERBY SQL error: SQLCODE: -1, SQLSTATE: 08004, SQLERRMC:
Connection refused to database 'replicationdb' because it is in replication
slave mode.
Taking connection on the slave after failover
---------------------------------------------------------
ij> connect 'jdbc:derby://localhost:1528/replicationdb';
Now try to install on the slave without a remove/replace
-----------------------------------------------------------------
ij> CALL
SQLJ.install_jar('/home/vn/work/scripts/replication/ReturnOne.jar','APP.ReturnOneJar',0);
ERROR X0Y32: Jar file 'RETURNONEJAR' already exists in Schema 'APP'.
ij>
> Handle jar files that are installed when replication is enabled
> ---------------------------------------------------------------
>
> Key: DERBY-3552
> URL: https://issues.apache.org/jira/browse/DERBY-3552
> Project: Derby
> Issue Type: Sub-task
> Components: Replication
> Affects Versions: 10.4.0.0, 10.5.0.0
> Reporter: V.Narayanan
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.