About run

issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: ... So i insert and delete a lot of data. I also tried to run your DB Doctor. It doesn't help. Please contact me if you need ... If you open the attached db with the explorer and run the query below it will crash with the exception in crash.txt. ...

 
forum_thread

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook\nbproject\build-impl.xml:1050: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 2 minutes 13 seconds)   ... Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL ...

 
forum_thread

Project runs in Eclipse but not when exported to runnable jar

I have a simple project that performs some stability calculations and displays a scale drawing of a model glider. I decided to use objectdb as a way to persist the values for later retrieval. The project works perfectly well when run from eclipse but nothing opens when I export to a runnable jar and execute that. No windows open, there are no eror dialogs etc. Commenting out all the code related to object db resolves the issue and the project runs, so I'm fairly sure it is something I've done relating to objectdb. ... for later retrieval. The project works perfectly well when run from eclipse but nothing opens when I export to a runnable jar and execute ... This is the command prompt error when I run it from there: java -jar GliderCalcs6.jar Exception in thread ...

 
forum_thread

How to run JPA query on Terminal instead of explorer.jar??

Is it possible to explore database on Linux terminal??  ... Because I am planning to run linux VM on Google compute Engine, I don't know whether is able to run Explorer.jar or not, if not able to run. What are the alternative way to ...

 
forum_thread

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

ObjectDB support wrote elsewhere: ... you do not need the Enhancer agent, since you use build time emhancement, but GlassFish invokes it automatically. Currently there is no setting in ObjectDB to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info and warn level).     ... to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded ...

 
forum_thread

Failed to read DB file while online backup is running

Hi, it happened already few times (seemingly randomly), that some db operation (read and also write) failed with an exception during an online backup of the same DB file was running and was close to finish its task. The version of ObjectDB I am running is 2.6.1.b02 Any idea what is causing this and how to avoid it ?   Stacktrace 1: #1 2015-06-10 12:48 Hi, it happened already few times (seemingly randomly), that some db operation (read and also write) fail ...

 
forum_thread

Running doctor.jar with entity classes in classhpath

Hi, I am wondering how to populate new entity classes to database file, so that I could add new instances of these entities to database through explorer. I tried to run com.objectdb.Doctor with model.jar (my entity classes in it) in classpath but it doesn't work (new entities still dont show up in explorer). Could it be possible to add that kind of feature in next relase ?   I run doctor by executing cmd like : java -cp bin\objectdb.jar;_my_model_.jar com.objectdb.Doctor old_db.db new_db.db ... of these entities to database through explorer. I tried to run com.objectdb.Doctor with model.jar (my entity classes in it) in classpath ... kind of feature in next relase ?   I run doctor by executing cmd like : java -cp ... a workaround, you can follow these 2 steps: Run the Explorer with the new class in the classpath: java ...

 
forum_thread

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue (I checked there is no leak in java - I cleared the entity manager every 10 new entity). 1/ I use the default objectDb.conf (i mean i dont use any - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed that there is one thread (ODB FileWriter) running for each open DB. ... - I cleared the entity manager every 10 new entity) - I run it on a VPS with about 4GB of RAM. 1/ I use the default ...

 
issue

ODB Doctor Stops Progressing (runs forever)

Hi, ... drive where the new database is being placed.  When I run the DB Doctor without a destination file (just to check the database) it ...

 
forum_thread

Exception on creation when running multithreaded

Hi, I'm trying to test the creation of an object from my datamodel(Organisation) and the creation process includes the creation of an acl for the newly created organisation all in the same transaction. The process is as followed: 1. The organisation gets created 2. The acl is being searched to check if it already exists 3. if it exists it will be updated, otherwise it will be created   ... by: ... a count query and it returns 800 as expected, then I run the following query "select $1 from CDI $1" and I get back 803 objects ...