myfaces slow startup on GAE
hi guys i am running myfaces 2.1.6 on appengine 1.6.4. the start up time is too long. according to my log 13 seconds of wall time. this 13 sec is killing my GAE startup time as it has a hardlimit. Q1. why is myfaces taking 12 seconds to load? Q2. how can i reduce the myfaces load time? the log snippet is below. the start of the log is once spring initiation is complete. INFO: Root WebApplicationContext: initialization completed in 9598 ms 22/05/2012 1::57:04 AM org.apache.myfaces.webapp.Jsp20FacesInitializer initContainerIntegration INFO: This application isn't running in a JSP 2.1 container. 22/05/2012 1:57:04 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getStandardFacesConfig INFO: Reading standard config META-INF/standard-faces-config.xml 22/05/2012 1:57:05 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getWebAppFacesConfig INFO: Reading config /WEB-INF/faces-config.xml 22/05/2012 1:57:08 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig INFO: Reading config : jar:file:/C:/src/miiingle/venueportal/trunk/target/venueportal-1.0-SNAPSHOT/WEB-INF/lib/gmaps4jsf-core-1.1.4.jar!/META-INF/faces-config.xml 22/05/2012 1:57:09 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig INFO: Reading config : jar:file:/C:/src/miiingle/venueportal/trunk/target/venueportal-1.0-SNAPSHOT/WEB-INF/lib/richfaces-components-ui-4.2.1.Final.jar!/META-INF/faces-config.xml 22/05/2012 1:57:12 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig INFO: Reading config : jar:file:/C:/src/miiingle/venueportal/trunk/target/venueportal-1.0-SNAPSHOT/WEB-INF/lib/richfaces-core-impl-4.2.1.Final.jar!/META-INF/faces-config.xml 22/05/2012 1:57:12 AM org.apache.myfaces.config.DefaultFacesConfigurationProvider getClassloaderFacesConfig INFO: Reading config : jar:file:/C:/src/miiingle/venueportal/trunk/target/venueportal-1.0-SNAPSHOT/WEB-INF/lib/tomahawk20-1.1.11.jar!/META-INF/faces-config.xml 22/05/2012 1:57:12 AM org.apache.myfaces.config.LogMetaInfUtils logArtifact INFO: Artifact 'myfaces-api' was found in version '2.1.6' from path 'file:/C:/src/miiingle/venueportal/trunk/target/venueportal-1.0-SNAPSHOT/WEB-INF/lib/myfaces-api-2.1.6.jar' 22/05/2012 1:57:12 AM org.apache.myfaces.config.LogMetaInfUtils logArtifact INFO: Artifact 'myfaces-impl' was found in version '2.1.6' from path 'file:/C:/src/miiingle/venueportal/trunk/target/venueportal-1.0-SNAPSHOT/WEB-INF/lib/myfaces-impl-2.1.6.jar' 22/05/2012 1:57:12 AM org.apache.myfaces.config.LogMetaInfUtils logArtifact INFO: Artifact 'tomahawk20' was found in version '1.1.11' from path 'file:/C:/src/miiingle/venueportal/trunk/target/venueportal-1.0-SNAPSHOT/WEB-INF/lib/tomahawk20-1.1.11.jar' 22/05/2012 1:57:13 AM org.richfaces.resource.ResourceHandlerImpl FINE: Instance of org.richfaces.resource.ResourceHandlerImpl resource handler created 22/05/2012 1:57:13 AM org.apache.myfaces.util.ExternalSpecifications isBeanValidationAvailable INFO: MyFaces Bean Validation support disabled 22/05/2012 1:57:15 AM net.sf.jsfcomp.onload.OnLoadPhaseListener INFO: OnLoadPhaseListener created 22/05/2012 1:57:15 AM org.apache.myfaces.application.ApplicationImpl getProjectStage INFO: Couldn't discover the current project stage, using Production 22/05/2012 1:57:15 AM org.apache.myfaces.config.FacesConfigurator handleSerialFactory INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory 22/05/2012 1:57:15 AM org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider INFO: Using LifecycleProvider org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider -- regards -Lucio Piccoli Director -- www.asteriski.com
Re: [Tobago] Is migration to Tobago 1.5.* recommended?
Hi Dom, sorry for the late response. Generally I encourage you to migrate to 1.5.x. I think you should update JSF to 1.2 and Tobago to 1.5.x at the same time. That might be less effort for programming and testing. In special, it depends a little from you application, because we need some API changes using the tc:tree. These changes we make in version 1.6.x. If you are using the tree minor or not, you can migrate to 1.5.x and later to 1.6.x with low effort. If you are using the tree intensively, you may wait until 1.6.x will be release. Both versions will contain bugfixes and important features for a while. Regards, Udo Am 12.04.12 13:13, schrieb d.o@gmx.net: > Dear all, > > I will repeat my question: Would you recommend migrating from Tobago 1.0.* to > Tobago 1.5.* at this time (1.5.4)? > > Furthermore, how would you suggest to proceed: First migrate to JSF 1.2, then > to Tobago 1.5 (if that is possible), or migrate both at the same time? > > Thanks for your help, > Dom > > > Original-Nachricht >> Datum: Thu, 26 Jan 2012 05:40:07 +0100 >> Von: d.o@gmx.net >> An: users@myfaces.apache.org >> Betreff: [Tobago] Is migration to Tobago 1.5.* recommended? > >> Dear developers, dear all, >> >> It is good to see that Tobago 1.5 has "lost" its beta status. Thanks for >> all the work and time you put into the development. >> >> The question is, do you recommend migrating from Tobago 1.0.* to 1.5.* at >> this stage? The migration guide >> (http://myfaces.apache.org/tobago/migration-1.5.html) still says "work in >> progress". So is there still information >> missing in the guide, or is version 1.5.* not yet stable enough? Could you >> please clarify? >> >> Another suggestion: In the migration guide, you could list a few >> advantages (and disadvantages) to motivate migration. >> >> Thanks a lot. >> Best, >> Dom >> -- >> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir >> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de >
[MyFaces Core] Understanding JSF 2 and Wicket: Performance Comparison
Hi In the last year there was a lot of improvements done inside Apache MyFaces JSF Implementation (aka MyFaces Core), thanks to the suggestions provided by the community. To show how good was the improvements done, an in-deep comparison was done between JSF 2 and Wicket. The code, detailed documentation, experimental data and all related information is available here: http://lu4242.blogspot.com/2012/05/understandingjsf-2-and-wicket.html Source code, experimental data and other goodies: https://github.com/lu4242/performance-comparison-java-web-frameworks Detailed document: http://www.scribd.com/doc/94007042/Performance-Comparison-Leonardo-Uribe-FINAL-Detailed This results were part of the CONFESS 2012, celebrated some weeks ago. http://www.con-fess.com In the session called "MyFaces -50% RAM". Let us know what do you think about it. I hope you like it. best regards, Leonardo Uribe http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces