About Application Server

forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, ... for the database. You see I'm trying to create a 'server' and be able to have the datasource ... one with the creadentials. If i recall correctly the application should be able to pick them up if you give the place holder. I know I have tried this in the application.xml  and I dont see why it wont work for the persitance   ...

 
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 ... if you archive java classes to .aar file and deploy on application server (Tomcat) - you become this error. With logging I know, that ...

 
forum_thread

Improvement in replication

Hi, I was thinking about some improvement in replication mechanism. Our application do only few writes (mostly reads), but those writes are important for us - objects rating, profile modifications. So in current implementation when master node dies, there is only a chance to read data from slave and all writes fails. ... about some improvement in replication mechanism. Our application do only few writes (mostly reads), but those writes are important ... dies, so the user knows that transaction failed. On slave server (and only on them) there can be some kind of timeout for replicated ...

 
forum_thread

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with DB explorer results in the following exception: ... by Java HotSpot ( TM ) 64 - Bit Server VM 1.7.0_80 ( on Linux 2.6.32 - 279.9.1. el6 . x86_64 ... extremely rare) that the specific activity in your application is not supported well by ObjectDB and some hidden unknown bug may ...

 
forum_thread

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web technologies: HTML, CSS, JS, JQuery. # Moving to Java Technologies:  Core Java, Servlet, Managed Beans, JSF, JSP, EJB, JMS, JPA, JDBC,Security, Ajax using Primefaces. # Backend technologies: MYSQL, SQLite, JavaDB, BIRT/ Jasper reporting. Tools: Eclipse, Netbeanse, SVN, Git repositories, SQLyog, Glassfish. ------------- ... Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered ... Pay as You Go (PAYG) . - Which IDE and Application Server do you prefer to go with  for me as a beginner? * Note: ...

 
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

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

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