About restart

manual

Database Server

Explains how to run and use the ObjectDB object database Server to manage Java/JPA/JDO databases in client-server mode.... [ options ] start | stop | restart options include: -conf <path> : specify a ... the server and then immediately start it again, use the restart command: > java com.objectdb.Server restart While an ObjectDB Server is running in the foreground the ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... to slave... and so on by manual. It worked fine. But if I restart slave server: com.objectdb.o.UserException: Failed to synchronize ... to this topic, if I enable "recording" on slave and then restart, I will get: java.lang.NullPointerException at ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes. Modifications to entity classes that do not change their persistent field definitions (their schema) are transparent to ObjectDB. This includes adding, removing and modifying constructors, methods and non persistent fields. However, additions, deleti ...

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... [ options ] start | stop | restart options include: -conf <path> : specify a ... and then immediately start it again, you can use the restart command: > java com.objectdb.Server restart While a server is running in the foreground the command window ...

 
forum_thread

ODB should auto-restart if it detects it's necessary

Hi! I find very tricky the need to restart ObjectDB server after schema modifications in a distributed environment. Moreover, not doing it does sometimes trigger ugly errors, which mean application downtime. It might be very useful to have an additional feature (that could be enabled/disabled in objectdb.config) that each time ObjectDB detects a schema change that requires restart, it should automatically restart itself. This way we save a lot of headaches from our dev. ops. Currently we have to manually do: ... Hi! I find very tricky the need to restart ObjectDB server after schema modifications in a distributed ... each time ObjectDB detects a schema change that requires restart, it should automatically restart itself. This way we save a lot of ...

 
issue

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2 java.lang.ArrayIndexOutOfBoundsException: 2 at com.objectdb.o.UTY.aG(UTY.java:1275) at com.objectdb.o.ENH.b(ENH.java:102) at com.objectdb.o.LDR.J(LDR.java:796) at com.objectdb.o.LDR.UW(LDR.java:1023) at com.objectdb.o.CST.ab(CST.java:478) at com.objectdb.o.CST.U4(CST.java:414) at com.objectdb.o.LDR.F(LDR.java:559) at com.objectdb.o.LDR.E(LDR.java:466) at com.objectdb.o.OBC.UJ(OBC.java:1073) Bug Version: 2.5.3 Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
forum_thread

schema update procedure

Is there a specific procedure that we should follow when making schema updates? ... succeed but eventually internal exceptions are thrown. I restart the server and everything is fine until the next set of changes are ... The requirement to restart the server after schema change is known and documented . The ...

 
issue

Internal Exception and Index Problems

Dear Support Team, we have an urgent issue in a productive database. The objectdb doctor finds no error but one string field of one database item is not editable (even not using the objectdb explorer). The corrupt entry is in entity "UserModelData" with id="7d29d5eb-69a6-4d46-9bf1-802cbb6e439b". Try to change the userName attribute of this entry then the following error occurs: ... messages in these cases. Currently the direction is to restart the server after schema changes. ObjectDB ... But in our case a server restart doesn't help. The only way I figured out to migrate the old ...

 
forum_thread

Recommendation - concurrent access multiple class v

Hi! I've just started to architect a new system, stateless JSON API, which is expected to have very high load and to require more servers for parallel deployments (same app across multiple servers). I am considering using ObjectDB, because of its advantages and easy usage, but I'm afraid that it might get corrupted because the manual says that we must not access ObjectDB with different versions of a class. Let's take the following scenario: ... Currently schema changes require server restart, as well as restarting the application with the new schema. ... server for a short time when there is a low load, you can restart that application server, and then add the other application ...

 
forum_thread

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Hi! Scenario: Copy attached DB into localhost ObjectDB server (I'm running 2.5.1_03). Open attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities are found with field type GOOD. There are 2 ways generate the bug: ... happen anymore. I fixed that one with a server(ODB) restart. This doesn't help too much, because deploying in container seems ... you follow case 1/3 (I tested 1 and 3 with this fix)), restart the server through the "restart" feature of the small toolbar icon. ...