About path

release

2.0.3

... mode. Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code ...

 
forum_thread

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time weaving. (To get Jrebel working properly) So i added  ... ?> <Context antiJARLocking = "true" path = "/WaggonTrackerWebinterface" > <Loader ...

 
forum_thread

Multi-tenant setup

Hi, does anybody have experience with multi tenant setup of objectDB. For example using multiple schema or multiple database. How to handle connections between app (Jboss Wildfly) and pass query request to appropriate database, how to dynamically add new database or schema. There are lot of discussions on how to do it with hibernate Thanks     ... very easy when accessing databases directly (by database path). It is more tricky when using ObjectDB within an application server as ...

 
forum_thread

Database connection url

I'd like to run a database called db1.odb on port 6136, and simultaneously open it in the explorer. I left the conf file set as: <server> <connection port="6136" max="100" /> <data path="$objectdb/db-files" /> </server> However, I'm not sure about the connection url for the code, and for the explorer. I tried this: Transactor.emf = Persistence.createEntityManagerFactory ("$objectdb/db1.odb");... = "6136" max = "100" /> <data path = "$objectdb/db-files" /> </server > ...

 
forum_thread

Unable to persist TreeMap

import java.util.SortedMap; import java.util.TreeMap; import javax.persistence.Entity; //---------------- @Entity class Person { public SortedMap<String, String> memberships = new TreeMap<String, String>(); } //Person   ... Maybe you have an existing database in that path, which contains a Person#1 instance with an empty map? ...

 
tutorial

Step 1: Create a Web Project

Explains how to create an Eclipse Dynamic Web Project with ObjectDB/JPA support.... button . Follow the instructions and specify the path to Tomcat 6 (which has to be downloaded separately) . Click the ...

 
forum_thread

How to install ObjectDB on my Amazon EC2?

Hi I just created an Amazon EC2 account and I want to build project based on Java/JPA and OpenDB. I searched the web but didn't find any proper tutorials. I appreciate if you help me with a guide. Thanks.  ... doing this, make sure you have Java installed and in class path on that machine (Amazon VPS). For more info about "nohup", "sh" ...

 
issue

Resource leaking via a rogue Shutdown Hook

A shutdown hook is registered upon ObjectDB initialisation. The hook is loaded from the web application's class loader. When the application is stopped (not the server, just the application) the hook is not cleared. This leads to web-application class-loader leak, that results in huge resource loss, and eventually in an OOME. Offending class: com.objectdb.o.MSF$1 (anonymous subclass of java.lang.Thread) Name of the Thread/Hook: ODB-FileCloser Thread is registered from the com.objectdb.o.MSF static initialiser (<clinit>). ... The thing to look for is the fact, that the only path to a garbage collection root after stopping is via the hook. ...

 
forum_thread

embed the .odb file in tomcat webapp container

hi all new at objectdb, just wondering if i put the odb file inside tomcat webapp, how do i change the "$objectdb/db/fm.odb"? thanks ... See this page for details about the ObjectDB home path ( $objectdb ). ObjectDB Support ObjectDB - ...

 
forum_thread

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the url fails the ping test.  I get (Failed to connect to server localhost:6136) The following is my setup: Dev Versions:     MyEclipse Enterprise Workbench - 12.0.0.me201311281640         -Eclipse platform - 4.3.1.v20130911 ... max = "100" /> <data path = "D:\***\***\data\dev2\" /> </server > ...