Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Problem JRE up to 6u18 on Java Web Start(Slow startup with JRE up to 6u18)
Problem JRE up to 6u18 on Java Web Start [message #630837] Tue, 05 October 2010 08:52 Go to next message
pdvmipv Mising name is currently offline pdvmipv Mising name
Messages: 12
Registered: October 2010
Junior Member
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?

[Updated on: Tue, 05 October 2010 08:54]

Report message to a moderator

Re: Problem JRE up to 6u18 on Java Web Start [message #632404 is a reply to message #630837] Tue, 12 October 2010 19:22 Go to previous messageGo to next message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Sounds like a JRE and Java WebStart issue, you could try asking for help in another forum.

Can you profile the application as see where to time is being spent?


James : Wiki : Book : Blog : Twitter
Re: Problem JRE up to 6u18 on Java Web Start [message #632553 is a reply to message #632404] Wed, 13 October 2010 12:15 Go to previous messageGo to next message
pdvmipv Mising name is currently offline pdvmipv Mising name
Messages: 12
Registered: October 2010
Junior Member
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?

Thanks

[Updated on: Wed, 13 October 2010 12:15]

Report message to a moderator

Re: Problem JRE up to 6u18 on Java Web Start [message #730836 is a reply to message #632553] Thu, 29 September 2011 10:28 Go to previous message
pdvmipv Mising name is currently offline pdvmipv Mising name
Messages: 12
Registered: October 2010
Junior Member
I solved my problem deleting the file METEA-INF/INDEX.LIST from my jar file created by NetBeans IDE 6.9 and later

Thanks
Previous Topic:Why does @OrderBy add UPPER() to the ORDER BY clause?
Next Topic:eclipselink generates table on the wrong schema
Goto Forum:
  


Current Time: Sun Sep 21 22:28:54 GMT 2014

Powered by FUDForum. Page generated in 0.01815 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software