[ 
https://issues.apache.org/jira/browse/DERBY-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570663#action_12570663
 ] 

Jørgen Løland commented on DERBY-3169:
--------------------------------------

I did some experiments with replication on a Derby server with the security 
manager enabled. The security policy file has to be modified to allow the 
master-slave network connection. I think this needs to be documented as well:
Permission needed in the master policy file (for derby.jar):
  permission java.net.SocketPermission "<slaveHost>:<slavePort>", 
"connect,resolve"; 

Permission needed in the slave policy file (for derby.jar):
  permission java.net.SocketPermission "<slaveHost>", "accept,resolve"; 

(replace slaveHost and slavePort with what is specified in the slaveHost and 
slavePort options.)

> Add documentation for replication
> ---------------------------------
>
>                 Key: DERBY-3169
>                 URL: https://issues.apache.org/jira/browse/DERBY-3169
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.4.0.0
>            Reporter: Jørgen Løland
>            Assignee: Kim Haase
>         Attachments: DERBY-3169.diff, DERBY-3169.stat, DERBY-3169.zip
>
>


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

Reply via email to