About files

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: #1 2011-09-13 13:40 Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml fil ...

 
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:~$   Bug Version: 2.4.0 Priority: Normal Status: Fixed Replies: 4 Type:  Bug ...

 
forum_thread

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  ... my application is working. The Size of both DB files is exactly the same, so I have no idea what the difference is or ... it in the Explorer. > The Size of both DB files is exactly the same There is a default initial database size so ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... I found the following stack trace in my log files; it's cropped up a number of times: [2013-08-23 14:05:23 #187 ...

 
release

2.6.2

... Fixed some bugs in converting old ObjectDB 1.x database files to ObjectDB 2.x. Fixed a bug in comparing String based ... in client-server mode. Fixed enhancing class files that use INVOKE DYNAMIC. Fixed an error message in ...

 
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 ... you can redeploy you application without deleting database files. edit ... the size of war file, and will destroy the DB under db-files with tomcat undepoly tool. I think it is best to put the jar file into ...

 
manual

[ODB1] Chapter 2 - A Quick Tour

Demonstrates basic database programming using ObjectDB. ... (name of the class). More details about metadata files, including their location and naming rules, are provided in chapter 4 ... Program Source Code In addition to the two files from the previous section ( Person.java and package.jdo ), the ...

 
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: ... I checked, and both client and server objectdb.conf files are in use. I am using the same objectdb.conf on client as one on ... > I checked, and both client and server objectdb.conf files are in use. Maybe you should try to insert an XML ...

 
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: ... because it was easier to enhance the class files.       ...

 
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> ... to connect to the remote db, it should have create the db files on db server.  So what am I missing here? ... already. Isn't that objectdb should create the db files on the root folder of server? I do not see any files in the db folder or ...