Wildfly 8.2 eclipselink slowness
vaughnmb Apr 7, 2015 10:51 AMWhen I run my application with EclipseLink as the JPA provider it starts very slows the first time someone runs the application. As you can see there is a six second "delay" in the application. (Bolded and red underlined). However, when I allow Wildfly fly to use the default Hibernate provider, there is no six second delay. This consistent across several applications we have deployed on Wildfly. What could be causing this? Below is the server.log file.
07 Apr 2015 09:38:45,908 INFO persistence:47 - EclipseLink, version: Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5
07 Apr 2015 09:38:45,923 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (default task-1) MPP: getConnection(null, WrappedConnectionRequestInfo@12ae42cc[userName=mpp]) [0/32]
07 Apr 2015 09:38:45,970 DEBUG connection:47 - Detected database platform: org.eclipse.persistence.platform.database.PostgreSQLPlatform
07 Apr 2015 09:38:45,970 INFO connection:47 - connecting(DatabaseLogin(
platform=>PostgreSQLPlatform
user name=> ""
connector=>JNDIConnector datasource name=>null
))
07 Apr 2015 09:38:45,970 INFO connection:47 - Connected: jdbc:postgresql://dev.iecokc.com:5432/mpp
User: mpp
Database: PostgreSQL Version: 9.0.4
Driver: PostgreSQL Native Driver Version: PostgreSQL 9.0 JDBC3 (build 801)
07 Apr 2015 09:38:45,970 INFO connection:47 - connecting(DatabaseLogin(
platform=>PostgreSQLPlatform
user name=> ""
connector=>JNDIConnector datasource name=>null
))
07 Apr 2015 09:38:45,970 INFO connection:47 - Connected: jdbc:postgresql://dev.iecokc.com:5432/mpp
User: mpp
Database: PostgreSQL Version: 9.0.4
Driver: PostgreSQL Native Driver Version: PostgreSQL 9.0 JDBC3 (build 801)
07 Apr 2015 09:38:46,001 INFO connection:47 - vfs:/D:/wildfly-8.2.0.Final/bin/content/StationReportMaintenance-1.1.ear/StationReportMaintenance-1.1.jar/_MPP login successful
07 Apr 2015 09:38:52,150 DEBUG [org.jboss.as.jpa] (default task-1) default task-1:transaction scoped EntityManager [StationReportMaintenance-1.1.ear/StationReportMaintenance-1.1.jar#MPP]: created entity manager session TransactionImple < ac, BasicAction: 0:ffff0a0d04e4:61f968b2:5523ebc3:e status: ActionStatus.RUNNING >
07 Apr 2015 09:38:52,228 DEBUG sql:47 - SELECT ID, ACTIVE, name, subassembly_planner_id FROM reports WHERE (ACTIVE = ?) ORDER BY name
bind => [true]