wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Problem JRE up to 6u18 on Java Web Start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Problem JRE up to 6u18 on Java Web Start " Watch "Problem JRE up to 6u18 on Java Web Start " New topic
Author

Problem JRE up to 6u18 on Java Web Start

pdv mipv
Greenhorn

Joined: Oct 26, 2010
Posts: 1
I have a problem of startup with eclipselink when i start my program with JRE up to 6u18 in an application Java Web Start.

With JWS with the JRE even the version 6u17 the istruction

Persistence.createEntityManagerFactory("TEST")
use about 1 second, with JRE 6u21 use 1 minute and 13 second

The istruction
em = emf.createEntityManager();
use about 2 second with JRE even 6u17, and use 1 minute and 9 second with JRE 6u21

This happen only at first use of this istruction.

What's the problem?

I post also the image of the profiler

Profiler jre 6u21:
http://img146.imageshack.us/i/profilerjre6u21.png

jre 6u17:
http://img689.imageshack.us/i/profilerjre6u17.png

I saw that the proble was in the class loader, have you any suggestion?


 
GeeCON Prague 2014
 
subject: Problem JRE up to 6u18 on Java Web Start