db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V.Narayanan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3552) Handle jar files that are installed when replication is enabled
Date Tue, 01 Apr 2008 05:50:24 GMT

    [ 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'.

> 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:,
>            Reporter: V.Narayanan

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message