About Application Server

forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. ...  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception ... } } Please check if your application might create EntityManager instances without closing them. ...

 
issue

Negative snapshot user count

I finally hit an instance of the "Negative snapshot user count" exception 1) ... (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_26 (on Windows 2003 5.2). Please report this error on ... similar timeframe as a result of different actions in the application against the same database. I've attached the full log in case ...

 
release

2.0.3

... Fixed a bug in automatic byte code enhancement in Java EE server. Fixed a bug in multi variable queries. ... with JPA 1 jar in the classpath. Changed server start avoiding new process creation. Added logging for ...

 
forum_thread

JSON serialization and __odbHidden members

Hi.. Building a REST API (Jersey-based one) I noticed that object object I serialize to JSON has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON serialization, but since these fields are not declared in my classes, I have no idea how to tell marshaller to avoid them. ... // ....   @ PUT @ Consumes ( "application/json" ) @ Produces ( "application/json" ... I guess. Must add that I am using the Glassfish server 4. I didn't somehow configure JAX-RS implementation thus using ...

 
forum_thread

Problem using Maven Repository - Enitiy Class will be ignored

I found this suspect if i use the maven to download objectdb. <dependency>             <groupId>com.objectdb</groupId>             <artifactId>objectdb</artifactId>             <version>2.6.2</version> </dependency> I got follow Java Warning that tells me that Entity Class will be ignored. ... JPA and JTA, which will help using ObjectDB in Java EE application servers with no errors or warnings. The Maven examples have ... To use ObjectDB outside a Java EE application server (starting build 2.6.2_02 / 2.6.3), dependency on JPA and JTA should be ...

 
forum_thread

Embedded mode usage question

Hi there ! ... only or not. Is it ok to use object db in an embedded (non server) mode for a web app or web service, accessed by a number of end-users ... ObjectDB in embedded mode to serve a multi threaded web application. This is demonstrated for example on this tutorial . ...

 
forum_thread

using objectdb.jar in writing data to mariadb or mysql db

Hello All, ... All, I am trying to develop an ICT-Issue-Tracking application. The front end is to be java (for desktop version) and python or ... java and reduce the use of regular sql patterns. Can my application use the objectdb.jar to write to mariadb or mysql using native java ... environment is this? Can objectdb handle client - server connections from over 200 users? Can it be efficiently used in ...

 
forum_thread

Problem with distinct select, order by and equivalent alias/attribute path

Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering the results of some projection when the order by expression is different (though logically equivalent) to the projection expression. Here is the example: ... quite uncomfortable to write these queries by hand in our application which makes intensive use of the dsl library generating the ... an EntityManager) and as a run argument for the wildfly server instance. Nothing really worked so far but I'll try it again the ...

 
release

2.0.2

... Fixed a bug in automatic byte code enhancement in Java EE server. Fixed a bug in multi variable queries. ... with JPA 1 jar in the classpath. Changed server start avoiding new process creation. Added logging for ...

 
forum_thread

"No Persistence provider for EntityManager" in OSGI bundle.

Good Day. I seem to have gotten a bit stuck while developing an OSGI bundle with ObjectDB. Essentially it builds an OSGI bundle with an embedded instance of ObjectDB and then tries to deploy the bundle inside an application running an embedded OSGI server (Apache Felix). The STARTING phase seems to fail due to the below error. ... of ObjectDB and then tries to deploy the bundle inside an application running an embedded OSGI server (Apache Felix). The STARTING phase seems to fail due to the below ...