About client

manual

Database Server

Explains how to run and use the ObjectDB object database Server to manage Java/JPA/JDO databases in client-server mode.... dedicated process, making these databases accessible to client applications in other processes including ones on other remote ... main benefits in running an ObjectDB server and using the client-server mode are: The ability to access and use databases ...

 
forum_thread

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter> chapters; The Chapter fields are as follows: ... idea is that after I make changes to the Book class on the client side (i.e. by adding or removing new Chapters), merging the Book class ... Session Bean that makes the server code available to the client Remote interface of Book_mgt Stateless session ...

 
forum_thread

Server connection management

The server does not appear to release broken connections. My typical development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the following in the server logs: ... after a period of inactivity. Also, how does the client deal with broken connections or server restarts. Does the client have an internal connection pool that checks the health of a connection ...

 
forum_thread

lockfiles in client/server mode

i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server -cp /usr/local/share/objectdb/objectdb.jar: com.objectdb.Server -conf /etc/objectdb/objectdb.conf start it has naturally created and taken ownership of /tmp/ObjectDB. ... webapp running as the tomcat user. for whatever reason the client is attempting to create lockfiles in /tmp/ObjectDB. my account and the ... lockfiles in both locations. so i still cannot start the client in an unconfigured state that would use /tmp. ...

 
issue

objectdb.home for client/server

Currently, we do need to manually setup the objectdb.home property eventhough we're working on client/server mode. However, without setting this in our client, he complains about the missing objectdb.conf. Why is this required? Can't the server deliver it? Most of the time we do not even know where our object db home is located at as we might have multiple server instances running on multiple machines so all we do really need to supply should be the server connection url and no objectdb.home..   Alex ... the objectdb.home property eventhough we're working on client/server mode. However, without setting this in our client, he complains about the missing objectdb.conf. Why is this required? ...

 
issue

NullPointer running multiple client against server

Hi, I'm running objectdb in server mode, config as it comes out of the box. In this case the database is being used as a queue with multiple seperate processes, each with multiple threads, writing messages. The message is split into a lightweight metadata message to allow fast searching and a more heavy weight data message. The put methods are shown below. The message is made up of an id, insert-time, priority and the payload is a large string. ... new type. It seems as something that may happen in client-server in one of the clients - if the database is new and that client gets to know the types in the schema in some specific order. ...

 
forum_thread

Drop in Client/server mode not working

Hi, can't seem to get drop to work in c/s mode: version: objectdb-2.3.5_04 config: <extensions drop="tmp" /> url: 'objectdb://localhost/testStorage1.tmp;drop;user=admin;password=admin'   suggestions? David   #1 2011-12-29 21:56 Hi, can't seem to get drop to work in c/s mode: version : objectdb-2.3.5_04 config :&nb ...

 
forum_thread

objectdb.conf Information

Hello, Is it possible to get detailed information on objectdb.conf client vs server? We do have an objectdb.conf for our client and one for our server instance. Now there're several questions: - Which config entries are relevant for the client and which one for the server? I.e. what about: <cascade-persist always="true" on-persist="false" on-commit="true" /> we want to activate enhancer agent, guess this is client right? activation-code - guess this is required for server only right? ... it possible to get detailed information on objectdb.conf client vs server? We do have an objectdb.conf for our client and one for our server instance. Now there're several questions: ...

 
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.... from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2 . ... including support for embedded mode. In order to use client server mode, you have to install the odbse.jar file on both the ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... 15:07 Really? My client get no response from that server. Maybe the firewall shunt all ... but when I run the jpab.jar, it turns out use my client's objectdb.conf in jpab. Institute of Computer ...