About file

issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... 14:05:23 #188 *] transaction Id = 506009, new file size = 297009152, dirty pages = 1, update list s = 2, dirty page map = 1, ... prefix failure, and some other problems (see attached log file). Last week I had inadvertently left the database running with ...

 
forum_thread

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml file for example: ... project, the id's use sequences declared in an orm.xml file for example: < entity class = "com.x.y.z.model.Unit" ... </ provider > < mapping - file >/ META - INF / orm . xml </ mapping - file > ...

 
issue

javax.jdo.JDONullIdentityException: The identity must not be null.

When stopping my JEE 6 Web Profile application in Glassfish 3.1.1, I sometimes get this exception, yielding in not merging athene.odb and athene.odb$. A bug in objectdb?    bjjl@ps2:~$ ls -l /var/db/athene/ total 122080 -rw-r--r-- 1 bjjl webservd   2621440 2012-05-24 16:40 athene.odb -rw-r--r-- 1 bjjl webservd 122265952 2012-05-24 16:40 athene.odb$ bjjl@ps2:~$   ... Failed to open file '/var/db/athene/athene.odb' So this is a critical issue ... Caused by: com.objectdb.o.UserException: Failed to open file '/var/db/athene/athene.odb' ... The exception in #2 reflects a locked database file (due to a failure during close) and not a corrupted database. Anyway, ...

 
release

2.6.2

... Added an option to disable temporary file deletion . Added support of using entity classes with ... #237 ). Fixed porting to Java 8 of database file with unexpected HashMap.Entry as a listed type. ...

 
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

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

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

 
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

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