Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Slow load time

Odd, it may not be this lines causing the hang though, it could be anything
the occurs in between.  Try using a Java profiler such as JProfiler to
determine where the bottleneck is.



khaskett wrote:
> 
> When I start up the server for the first time the load time is very quick. 
> But then any subsequent restarts the start time degrades quickly.
> It seems to hang for several minutes on these two lines -
> 
> [4/15/09 15:23:04:921 CDT] 00000019 SystemOut     O [EL Finer]: 2009-04-15
> 15:23:04.89--ServerSession(549331134)--Thread(Thread[server.startup :
> 2,5,main])--Searching for default mapping file in
> file:/C:/Projects/Grinnell/Source/Head/CpsJPA/bin/
> [4/15/09 15:25:00:437 CDT] 00000019 SystemOut     O [EL Finer]: 2009-04-15
> 15:25:00.437--ServerSession(549331134)--Thread(Thread[server.startup :
> 2,5,main])--Searching for default mapping file in
> file:/C:/Projects/Grinnell/Source/Head/CpsJPA/bin/
> 
> In my application I have two seperate JPA utility projects one for DB2 and
> the other for SQL Server. The each have their own Mapping file listed in
> the persistence.xml
> <mapping-file>META-INF/cps-orm.xml</mapping-file>
> and
> <mapping-file>META-INF/sql-orm.xml</mapping-file>
> 
> Running on Websphere 6.1.0.23 with EJB3 Feature Pack installed.
> 
> Anything I can do to fix this?
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/Slow-load-time-tp23066607p23077718.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top