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

Client server mode no longer works after JRE install

Hi I had client server mode working with no problems with my application. Then suddenly I was getting the following error "Error: missing 'server' at 'C:\Program Files\Java\jre7\bin\server\jvm.dll' on a client machine. It worked in embedded mode but not client server mode. ... Hi I had client server mode working with no problems with my application. Then suddenly ... Files\Java\jre7\bin\server\jvm.dll' on a client machine. It worked in embedded mode but not client server mode. ...

 
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. ...

 
forum_thread

Changing from client server to embedded mode

Hi, I have created a java web application and used ObjectDB in client Server mmode. It worked as per my expection. In Client server mode I used Persistence.createEntityManagerFactory("objectdb://localhost/myDB.odb;user=admin;password=admin"); Now to switch to embedded mode, I have tried following things ... I have created a java web application and used ObjectDB in client Server mmode. It worked as per my expection. In Client server mode I used Persistence . ... // Connect but not fetches the object stored in Client Server mode. kindly provide information how to switch from ...

 
forum_thread

Many clients access same database

Hi, I have a program to manage clients of my tennis club. But we have several different computer programs open that access the database. How can I implement this topology so that there is one Persistence context for all the client programs on the different computers. For example: When I change the name of a client on 1 computer, that change has to be discovered by the other client programs as well. How is this possible? ... so that there is one Persistence context for all the client programs on the different computers. For example: When I change the name of a client on 1 computer, that change has to be discovered by the other client ...

 
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

client server set up and load

Hello All, Can objectdb handle client - server connections from over 200 users? Can it be efficiently used in client-server mode? Code examples where possible will be appreciated. Thank you. Regards ... Hello All, Can objectdb handle client - server connections from over 200 users? Can it be efficiently used in client-server mode? Code examples where possible will be appreciated. ...