symmetricds

SymetricWebServer not starting in embedded mode

£可爱£侵袭症+ 提交于 2020-06-09 05:33:10
问题 I have a Spring boot maven project with SymetricDS. When I start the application in embedded mode, even if I have a Tomcat with Spring boot, it is looking for Jetty. SymmetricWebServer node = new SymmetricWebServer("server.properties"); <dependency> <groupId>org.jumpmind.symmetric</groupId> <artifactId>symmetric-server</artifactId> <version>3.5.19</version> </dependency> Exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/server/bio/SocketConnector Why is

SymetricWebServer not starting in embedded mode

主宰稳场 提交于 2020-06-09 05:33:09
问题 I have a Spring boot maven project with SymetricDS. When I start the application in embedded mode, even if I have a Tomcat with Spring boot, it is looking for Jetty. SymmetricWebServer node = new SymmetricWebServer("server.properties"); <dependency> <groupId>org.jumpmind.symmetric</groupId> <artifactId>symmetric-server</artifactId> <version>3.5.19</version> </dependency> Exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/server/bio/SocketConnector Why is

Symmetric DS and Java

白昼怎懂夜的黑 提交于 2020-01-05 05:19:26
问题 I need to extend Symmetric DS functionality by extending the interfaces it provides. Does anyone has any idea what the development process should be? In the documentation it only explains where to put the JAR file (containing the classes extending the interfaces) and how to add them to spring context but doesnt explain how to develop them. i.e. what libraries are needed to get the interfaces and what process should be followed to develop/test. It seems very cumbersome to each time modify and

SymmetricDS replication DDL statements

懵懂的女人 提交于 2019-12-24 09:48:09
问题 Now I try to replicate DDL statements(like create, alter, drop) between different databases with the help of Symmetric-DS. I've found this page https://www.symmetricds.org/docs/how-to/sync-schema-ddl-changes and found that it could be done it that way: bin/symadmin -e root-000 --node=001 sync-triggers bin/symadmin -e root-000 --node=001 send-schema But, for now I cannot understand that is there possibility to replicate DDL statements automatically? I.e. I create table on one database and it

SymmetricDS: Which approach should I use to synchronize specific tables?

帅比萌擦擦* 提交于 2019-12-13 01:53:25
问题 I'm testing SymmetricDS and I'm having some doubt about which approach I should use to synchronize some specific tables. I have two application, the first is a ERP and the second is a PDV. Some tables can be synchronized to all PDV databases, however, in some tables the row should synchronize to a specific PDV instance: In this diagram, the red rectangles show which table need synchronize, and the green arrow show the column where we can identify which SymmetricDS instance will synchronize.

SymmetricDS Syncing is not syncing perfectly

為{幸葍}努か 提交于 2019-12-12 12:27:20
问题 I have a 3 server running SymmetricDS. Say i have node 1 which is master, node 2.node 3 are child. When some data is being inserted into node 2 it's being synced to node 1 and similarly node 3's data is being syncing with node 1. But node 2 data is not going to node 3. I do not know where to solve this issue. Here is the sample configuration sql -- ========================================= -- channel starts insert into sym_channel (channel_id, processing_order, max_batch_size, enabled,

Create SYM Tables in SymmetricDS Embedded

一世执手 提交于 2019-12-11 00:27:19
问题 I'm trying to embedded Symmetricds 3.7 in a java application which uses H2 database. The application is a client node and uses the class ClientSymmetricEngine from SymmetricDS API. The master node runs standalone symmetricds server and I was able to synchronize the data when I used an already configured databsae from previous tests in the application. When running the application on a new database, it throws this exception: java.lang.IllegalStateException: This node has not been configured

How to use symmetricDS in Embedded mode

大兔子大兔子 提交于 2019-12-08 11:33:42
问题 I have the following use case: A database A (Master) and a database B (slave), located on diferent machines. I want to synchronize the Database A with Database B. I want to create a java application using SymmetricDS embedded. As there is no documentation on how to perform this, i want a sample example or a documentation . Please help me I'm stuck. 回答1: this an example how run the Symmetric engine server in embedded mode , and it works perfectley for me : public class ClientNode { private

SqlPackage not accepting fully qualified name of tables in sync trigger

旧街凉风 提交于 2019-12-04 06:18:19
问题 I am using SymmetricDS version 3.9.15 on Azure SQL for both master and slave databases. I am able to configure the tool correctly to synchronize the databases but while publishing the database project the SqlPackage command gives an error due to the fully qualified name(including catalog name & schema name) of the table and function in the following trigger. USE [STAGING_PROD_Copy] GO /****** Object: Trigger [dbo].[SYM_ON_D_FOR_TRGGRLL_1_PRMRYSTGNG_PRDS] Script Date: 08-11-2018 21:17:09 *****