我正在研究一个JSF项目并且正在开发我在tomcat中本地部署爆炸的战争。 有些日子以来,部署时间比以前长得多(假设2分钟对12分钟)。 我不记得我在应用程序代码中改变了一些东西。
我可以做些什么来确定部署过程中需要花费的时间?
从输出中我看到一些有趣的线:
...
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Jun 17, 2016 1:47:31 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Jun 17, 2016 1:47:31 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Jun 17, 2016 1:47:31 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Jun 17, 2016 1:47:31 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Jun 17, 2016 1:54:55 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) for context '/fwf-web'
Jun 17, 2016 1:55:03 PM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
Jun 17, 2016 1:55:12 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFO: Running on PrimeFaces 5.1
Jun 17, 2016 1:55:12 PM org.primefaces.extensions.application.PostConstructApplicationEventListener processEvent
INFO: Running on PrimeFaces Extensions 3.0.0
[2016-06-17 01:55:36,359] Artifact fwf-web:war exploded: Artifact is deployed successfully
[2016-06-17 01:55:36,360] Artifact fwf-web:war exploded: Deploy took 519.951 milliseconds
1)行Jun 17, 2016 1:54:55 PM com.sun.faces.config.ConfigureListener contextInitialized
似乎需要更长时间(自上次登录以来约7分钟)
但我不知道为什么或如何获得更多信息。
2)我真的不明白... is already defined
以及我能对它采取什么行动(但这些行也存在于问题之前)
3)由于我是Java / tomcat / JSF的新手,我不知道接下来要调查的内容/位置......