This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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?


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem JRE up to 6u18 on Java Web Start