Internal Website Search

1-50 of 73 results

Database Replication and Clustering

ObjectDB supports master-slave replication (cluster). When replication (or clustering) is used ... master-slave replication , the master node manages the main (master) database, which supports Read ... using one or more elements) and also databases that are not part of any cluster. The replicated

Server Configuration

replication of ObjectDB databases in a master-slave cluster. A  element is only required on the slave server to define the replicated slave database. More details on replication are provided on the Database Replication and Clustering page.

Failed to synchronize replicated database

Hello, we are trying to enable replication feature, But when we are trying to startup slave database, we'll get following Exception: com.objectdb.o.UserException: Failed to synchronize replicated ... all files from $ replication directory. Started master Started slave But the exception is still thrown

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled ... slave server: com.objectdb.o.UserException: Failed to synchronize replicated database at com.objectdb ... information about recording mode and replication in order to figure out how can I clean unused recording

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate ... $ sudo java -cp objectdb.jar ... this? bensteele Ben Steele I should add this causes the replicated database to be out of sync

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config:       The 6126 ... \objectdb.conf line 38: cvc-complex-type.4: Attribute 'username' must appear on element ' replication ... ' must appear on element ' replication '. at com.sun.org.apache.xerces.internal.jaxp.validation.Util

Embedded Database Replication

of external replicator application that can be used by server administrators to ensure replication ... , which currently does not enable replication (because the server in this mode does not use ordinary ... and replicate it. support Support How? I may be able to use embedded server and replicate

Improvement in replication

Hi, I was thinking about some improvement in replication mechanism. Our application ... . At least for some applications this is unacceptable. Introducing more sophisticated replication ... about is when transaction is in progress and you replicate every single write operation, right?. I think

WAN replication ? possible?

hello , is it possible to make wan replication on objectdb. I've 2 servers , 1 is on USA other is in Turkey and they both will use objectdb if wan replication support. If yes , how ?     kadirbasol Kadir BASOL You should be able to use replication over the Internet. Follow

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong ... ) com.objectdb.o.UserException: Failed to synchronize replicated database       ... you have to start replication after copying the master database manually to the salve

Replication failed

Dear support members, I am trying to set up a replication url in objectdb.conf ... . The directory '$ replication ' and the files in the directory however are created ... with an up to date copy of the master database in the slave $ replication directory, and provide maximum permissions. support Support

Replicated cluster recovery

If I create a replicated database cluster as per http://www.objectdb.com/java/jpa/tool/ replication what is the behaviour of the master database after a failure? For example, say I have MasterDB ... ) - but they are much slower than a simple master-slave replication . support Support hi Is it means

Replication Error

Hello! I try to get a replication setup working on two test servers. So i copied my test database ... everything is ok. Afterwards i added the replication tag to the configuration of the second server ... .o.UserException: Failed to synchronize replicated database at com.objectdb.o.MSG.d(MSG.java:61

Replication Question

Hello!  I have a few questions! I have followed the instructions on replication and I can see that is helps with: Prompt disaster recovery - because if master goes down I can switch the slave into master, or copy the slave data to another master and resume. But how does it help with: high

Replication not working anymore

Moser We tried using replication with version 2.5.4, but no exception was thrown, so unfortunately

apache shardingsphere for auto sharding and replication possible ?

Hi , i have seen a project apache shardingsphere https://shardingsphere.apache.org/   You can look for detailed. It will be good if you add objectdb support for  Apache ShardingSphere   So we can use auto sharding and auto replication free...   kadirbasol Kadir BASOL

Problem connecting to the replicated server

I've got a master/slave cluster set up with just a master and a slave.  I can connect to the master with a client app no problem.  My slave can connect to the master and replicate no problem.  But when I use a client app to connect to the slave like this: objectdb://slaveserverurl

DB Doctor with Recording enabled and using Database replication

. create a new database file, you will have to start the replication again with a copy of the new (fixed

Vacuum - Reclaiming Unused Space In Odb

window of time to perform these backups.  We've looked into using the replication strategy that ObjectDb enables however since we cannot guarantee data from the master is replicated to the slave ... ;since we cannot guarantee data from the master is replicated to the slave, the slaves cannot be trusted as

Can't open replicated database

has a replicated copy of the other servers database. I try to open the replicated on one database ... having much joy replicating the exact circumstances which cause it. I'll send an update if I can track ... stack trace indicates an attempt to update a type schema in the replicated database, which is read

Failover from Master to Slave

/ replication The disadvantage is that slaves can be used just for reading. zmirc Mircea Chirac Hi Z, Thank you for the response. I did read the article about replication which helps with scaling reads ... am understanding correctly. We could configure ObjectDB with replication , but if the Master database goes

ObjectDB-ObjectDB Replication

ObjectDB Replication will enable managing the same ObjectDB database using multiple ObjectDB nodes or servers. This could be useful for distributed applications (e.g. in cloud computing), for load balancing, for improving durability, for backup, etc. support Support Master-Slave replication

Embedded Database Replication

replicator application was created that could be used by server administrators to ensure replication

Automatic Switch to Replicated Server Limitations

ObjectDB supports master-slave replication , with the ability to switch connections automatically to another server when a server goes down, by specifying a composite url . Currently this feature has the following limitations: The first server in the composite url has to be available

Can not connect to replication node

.Thread.run(Thread.java:832) eko EKO FAJAR Is the new stack trace related to replication ? Please provide

RDBMS-ObjectDB Replication

Replication between ObjectDB and RDBMS will enable managing the same synchronized data in ObjectDB and in an external relational database. This could be useful in systems that must use an RDBMS for other purposes, but need better performance for specific tasks. For systems that already use JPA

High availability and other pratical questions

. You should be able to access embedded ObjectDB from other Tomcat servers (and also replicate that database ... availability with replication feature will be officially released (and documented)?   Thanks ... from users that will try it is required. support Support Can you confirm if replicated embedded

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

.0_05] javax.persistence.PersistenceException Replicated database objectdb://10.9.2.15:10000/test ... : Replicated database objectdb://10.9.2.15:10000/test.odb;user=admin;password=password is unavaliable at com ... .odr slave db directory /data/objectdb-2.5.0_05-2/db/$ replication dir -rw-r--r-- 1 pcrx pcrx 786432

Server connection management

and this is transparent to the application. Replication (introduced in ObjectDB 2.1) enables also specifying replicated servers that can be connected automatically by the client (in read only mode) in case the main

best practice for DB recovery

and have a number of applications connecting to it. I realize that I'm able to stand up read only replications ... replication , and when the master fails, switch your web application to the slave (not by using

unable to update table in slave server database

. As slave database is storing data in replication path ,while we are giving replication url as

locks on pure query activities

SSD could help. Increasing the page cache may help. By running replications of your database on separate disks you may be able to refer read only queries to replicated slaves. support Support

Glassfish 3.1.2.1 and ObjectDB 2.4.3

for persistence-type = replicated in BackingStoreFactoryRegistry SEVERE: Exception while visiting com ... = replicated in BackingStoreFactoryRegistry INFO: Grizzly Framework 1.9.50 started in: 30ms - bound

Intermittent Exception "Attempt to update types in read only mode"

can connect no problems and everything works fine. Replication between the DB's is working fine and I see no errors in the logs. I can replicate this problem everytime and restarting the DB will resolve

Master database switching to read-only mode, possibly caused by slave failure

/objectdb/db/$ replication /contextspace.odb' is closed by 30752@hardhead We did not see anything wrong ... , which certainly rule out some options. The replication is implemented by a simple open socket between

Time Sequence Object Command DB

;Appending has a huge advantage in keeping replicated databases in sync: you need only append new transactions on the end.  We find this very advantageous in collaboration where local replicated databases

Pessimistic Lock Timeouts setting

haven't got an easily distributable test for replication , but It shouldn't take too long to write

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

.EndTransaction(StandAlonePM.java:534) at de.advolux.jpa.network. replicate .ExtReplicationImportHelper.DoZwischenCommit(ExtReplicationImportHelper.java:400) at de.advolux.jpa.network. replicate .ExtReplicationImportHelper.ImportGeänderteObjekte(ExtReplicationImportHelper.java:346) at de.advolux.jpa.network. replicate

Enhanced classes problem

Source) at java.lang.StringBuilder.append(Unknown Source) at eu.ysoft.cache. replicator .ReplicatorImpl.addForReplication(ReplicatorImpl.java:326) at eu.ysoft.cache. replicator .ReplicatorImpl ... .StringBuilder.append(StringBuilder.java:115) 2013/05/23 09:25:26.166 | at eu.ysoft.cache. replicator

ArrayIndexOutOfBoundsException on flush

replication ? Is it the master database or a replicated slave database? Did you move or copy the database file ... but only at the application level at the moment. I will try to put together a test that replicates it but we're not clear what is happening yet 2) No replication is in use - the database in question

cannot delete objects after crash (see issue 2283)

can be restored from recording files. Enabling replication , generating a live backup database ... support an automatic recovery, too ? - is the replication possible using embedded mode ... , too ? Recording enables manual recovery by running the Transaction Replayer . - is the replication possible

InternalException - error reading field from "queue" database

to replicate the problem but I dont know how successful this will be. felixobjectdb Richard Szurgot ... replication ? Maybe this is related to the other reported problem of inability to update the schema in a replicated database? It would be very helpful if you could prepare a test that reproduces

Server out of memory exceptions

its own EntityManager, which may consume a lot of memory. support Support The aim of the test is to replicate ... for the problem rather than a structured replication . As the real problem only presents ... might have actually replicated it now... The attached test (testObjectDbPipe) has 10 threads which write msgs

Exception when the log file is full and no archive is defined

.network.Network.DisconnectFromDatabase(Network.java:246) at de.advolux.jpa.network. replicate .ExtReplicationImportHelper.CloseBase(ExtReplicationImportHelper.java:504) at de.advolux.jpa.network. replicate ... . replicate .ExtReplicationImportHelper.ImportAndWait(ExtReplicationImportHelper.java:120) at de.advolux.reorg

Weird issue with variable naming

hi, We've hit again against troubles with the variable naming when trying to get the query string with CriteriaQuery.toString(). I've tried three hours to replicate it without success, all I can say ... though however as said, cannot replicate it in a demo, however here's my code I was trying to replicate

Eager load Map

ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I could come up with without replicating the whole system. The test creates an object, persists

Blocked by find

for a test which I think replicates the problem. It is a simple persist loop which saves objects ... (see attached thread dump). I'll keep trying to find a test which replicates the problem consistently

NoResultException: No matching results for a unique query

I am very often getting a "com.objectdb.o._NoResultException: No matching results for a unique query" when modifying my already persisted entities within a transaction. I cannot replicate ... perfectly again.. so I really cannot replicate it so appreciate any help!!   Alex quasado Alexander

ObjectDB 2.5.1

switching in master-slave replication . Fixed a bug in applying orphanRemoval=true by default on mapped by

Multiple files support for search and persist

.g. temporary files, recovery file) to other disks. using replication with multiple servers