About file

forum_thread

Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db when I use Undeploy tool. TIA ... the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost ...

 
forum_thread

Unexpected internal exception during set field of an Embeddable to null

Hello, we get an Unexpected internal exception and have no idea what goes wrong. We can reproduce (mostly) the error in a very big use case. In the big use case and we create and persist millions of SignalValueImpl objects (Embeddables). Partly as in the stack trace an Embeddable contain another Embeddable. It seems like that we can't reproduce the problem in smaller use cases with less objects. Stack trace: ... issue. If it doesn't please upload the embedded class file after enhancement for further review. ObjectDB ... week.   I attach the enhanced class file. enhanced SignalValueImpl class file ...

 
forum_thread

Connecting to a remote objectdb server

I am trying to configure my application in a client-server objectdb setup via tcp/ip. So I first made sure that the remote objectdb server is running using telnet from my local.  $ telnet db.mydomain.com 6136 (worked fine, is able to connect...) My db was configured below: <server>   <connection port="6136" max="100" />   <data path="objectdb://db.mydomain.com/db" /> </server> ... 09:52 The database file should be created, unless the ObjectDB Server process has no permission to ... files at that path. Please check also the ObjectDB log file on the server side for errors. ObjectDB Support ...

 
forum_thread

Occasionally slow requests in load testing

We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are quite a few "spikes" in the performance where we are getting a lot of very slow response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack trace examples. ... number 1068 ) indicates massive access to the database file during query processing. Check the active query. Maybe you have to ... requires scanning of the entire database and the database file is large - execution time may also be much longer than 10-15 seconds. ...

 
manual

[ODB1] Chapter 2 - A Quick Tour

Demonstrates basic database programming using ObjectDB. ... Source Code The program consists of a single source file, HelloWorld.java , containing a single class: 1 // A ... instance representing a local database file, hello.odb , is obtained using the Utilities.getPersistenceManager( ... ) static method (lines 12-13). If a database file does not exist in that path, a new database file is created automatically. ...

 
forum_thread

Java 9 support

Hi,  is ObjectDB supporting Java 9 already ? If not when can we expect the support for it ? ... The ObjectDB website upload renamed this file ("for security purposes") It should be named ... "opens com.objectdb.image" was given because a non .class file was detected in that packaged by my tool.  (All .class files are ... Maximum file size: 32 MB 0 ...

 
forum_thread

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.HND.K(HND.java:210) at com.objectdb.o.SHN.K(SHN.java:208) at com.objectdb.o.HND.run(HND.java:132) at java.lang.Thread.run(Thread.java:662) Here is my connection string: ... in the objectdb.conf but maybe this configuration file is not in use. The configuration file has to be located relatively to the path of the objectdb.jar file that ...

 
forum_thread

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web application (to Glassfish). My web application uses a @Singleton @Startup bean to create and persist a test model each run. I keep getting models on top of each other on rerunning my web application. Currently, to avoid multiple models in the database, I have to undeploy from Glassfish, stop the server, delete the database file, re-start the objectdb server, re-run the web app, which is tedious. ... from Glassfish, stop the server, delete the database file, re-start the objectdb server, re-run the web app, which is tedious. ... a system property, persistence.xml property, or config file property I can use to set to force ObjectDB to always delete or empty the ...

 
forum_thread

Which storage fits best to ObjectDB?

Hi, we are just about to put together a new server for our applications using ObjectDB (v 2.6). We have a dilemma about the storage holding the ObjectDB files: if to invest in a mirrored RAID of SSDs which is clearly the ultimate solution but it quite pricey, or to choose a RAID5/6 of 7200 RPM HDDs. ... mean reading/writing of large data fewer times) or the DB file is only a big container in which every DB request is searching for the ... The ObjectDB database file is a container of pages, and only pages that ObjectDB needs are loaded ...

 
forum_thread

WebService : Failed to get reference value of field using enhanced method

Hi, I try to use objectdb from Tomcat Webservice without webservice it's works fine:   error: Failed to commit transaction: Failed to get reference value of field field persistence.PolicyEntity.policyString using enhanced method ... trace including nested exceptions (check the ObjectDB log file). ObjectDB Support ObjectDB - Fast Object ... and webservice: if you archive java classes to .aar file and deploy on application server (Tomcat) - you become this error. ...