About client-server

manual

Database Server

Explains how to run and use the ObjectDB object database Server to manage Java/JPA/JDO databases in client-server mode.... main benefits in running an ObjectDB server and using the client-server mode are: The ability to access and use databases ... on remote machines over the network. Since client-server mode carries the overhead of TCP/IP communication between the ...

 
manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... either a remote connection to a remote database server (in client-server mode) or a local connection to a local database file (in embedded ... is essential to release resources (such as a socket in client-server mode) back to the owning EntityManagerFactory . ...

 
manual

SSL Configuration

Explains how to set Secure Socket Layer (SSL) in the ObjectDB fast Java object database for JPA/JDO.... Sockets Layer (SSL) settings for secure communication in client-server mode, for both the client side and the server side. The ...

 
manual

Server User List

Explains how to define and set users, directories and permissions in the ObjectDB fast Java database server for JPA/JDO. The < users> configuration element lists the users that are allowed to access the ObjectDB Server and specifies their specific settings (username, password, permissions, quota). The default configuration file contains the following &l ...

 
manual

Server Configuration

Explains how to set a JPA/JDO database server using ObjectDB, the fast Java object database for JPA/JDO. The < server> configuration element specifies settings for running an ObjectDB Server . The server is affected also by other elements in the configuration file, particularly the <users> and the <ssl> configurat ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... com.objectdb.o.UserException: Mismatch client-server protocol prefix; nested exception is ... com.objectdb.o.UserException: Mismatch client-server protocol prefix] with root cause com. objectdb . o . ... This exception indicates a client-server communication error. Every client request starts with a prefix ...

 
issue

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.  Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot the entire server on which it's running.  The only recorded symptom is a client-side error (which fortunately gets auto-mailed to me): ... 2.5.2] javax.persistence.PersistenceException Mismatch client-server protocol prefix (error 523) at ... by: com.objectdb.o.UserException: Mismatch client-server protocol prefix at com.objectdb.o.MSG.d(MSG.java:61) ...

 
forum_thread

Convert embedded database to server

Hello, What is the right way to convert an embedded database to a server one ? As a result, will a file "db.odb" exist ?  If no, where will be located db files ? Regards, Xirt   ... No need to convert. Same odb file is used in both client-server and embedded modes. Just copy the odb file to the ... and access the database from your application using a client-server connection url . ObjectDB Support ...

 
manual

Online Backup

Online Backup enables backing up an ObjectDB database while it is in active use by applications. The ability to create a backup while the system is running is essential in applications and services that have to be available 24/7/365.... of the ObjectDB  home directory  (and in client-server mode a subdirectory of the ObjectDB home directory on the server ... as a java.io.File instance and em represents a client-server connection then the backup file will be downloaded to the client ...

 
forum_thread

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web application (to Glassfish). My web application uses a @Singleton @Startup bean to create and persist a test model each run. I keep getting models on top of each other on rerunning my web application. Currently, to avoid multiple models in the database, I have to undeploy from Glassfish, stop the server, delete the database file, re-start the objectdb server, re-run the web app, which is tedious. ... using a web application container and persistence.xml in client-server mode ? --- Webel IT Australia, "The Elements ... support says: 'In client-server mode this configuration should be set on the server side.' ... using a web application container and persistence.xml in client-server mode ? You may add the drop parameter to the url that ...