About url

forum_thread

Is persistence version 2.1 supported?

Using the current version of persistence.xml leads to an error: ... <property name="javax.persistence.jdbc.url" value="$objectdb/db/vsp.odb"/> <property ...  was added in build 2.5.7_05. The url to java.sun.com doesn't exist, so the correct header is: ...

 
forum_thread

Compare old and new schema

Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep track of the changes. Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format" the entity classes have in the old database file and compare that with the new classes definitions?   Thanks, farid ... with. To do so, I create a new URLClassLoader with a URL pointing to the folder containing my Class hierarchy like so:  ...

 
forum_thread

Embedded Database Replication

As we all know, embedded databases out perform server databases on every occasion. The problem with embedded databases is that theyre difficult to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded objectdb I would run into problems trying to cluster the data. Is there a way to cluster embedded objectdb? Perhaps some kind of external replicator application that can be used by server administrators to ensure replication is optimal and healthy?... in embedded-server mode, you may be able to use the server url for replication as with an ordinary server. ...

 
forum_thread

Open several objectdb databases the same time

We tried to open objectdb databases from application and got following error: ... enabled = "true" /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
issue

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ... "/opt/tomcat7/xxx" /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
forum_thread

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: ... = "0" /> <url-history size = "50" user = "true" password = "true" ... /> <replication url = "objectdb://12.345.678.910:6001/KAKI.odb;user=admin;password=admin" ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Spring MVC web application project.... <property name = "javax.persistence.jdbc.url" value = "$objectdb/db/guests.odb" /> <property ... be used as a JPA provider with the specified database url. The next step is adding a Spring DAO Component class that will ...

 
forum_thread

Using explorer with a live embedded db

I want to use ObjectDB explorer with a running embedded db. This issue:  http://www.objectdb.com/database/forum/617   shows a way to do it. I followed the instructions, but still received an error when trying to connect: "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. ... the problem is elsewhere. Do you specify port 10306 in the url of the embedded database? Can you try using an ordinary disk rather than a ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... <network inactivity-timeout="0" />   <url-history size="50" user="true" password="true" />   <log ... />   <!--   <replication url="objectdb://localhost/test.odb;user=admin;password=admin" />   ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Java EE 6 web application.... <property name = "javax.persistence.jdbc.url" value = "$objectdb/db/guests.odb" /> <property ... be used as a JPA provider with the specified database url. The next step is adding an EJB Session Bean that will manage ...