2010-09-29 70 views
3

我在我的jboss控制台中看到了这些信息,当我的页面无法正确呈现时。有谁知道这意味着什么?Facelet被修改了消息

14:22:46,403 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,404 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,405 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,406 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,406 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,407 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,408 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,409 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,411 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,412 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,413 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 
:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,414 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,415 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,417 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,425 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,426 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,428 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,429 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,430 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,431 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,432 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,432 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,433 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,434 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,434 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,435 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,436 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,437 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,438 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,438 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,439 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,440 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,441 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,442 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 
14:22:46,443 INFO [facelet] Facelet[/layout/content.xhtml] was modified @ 
1:54:54 PM, flushing component applied @ 2:22:43 PM 

回答

3

这是Facelets的一个错误,在新版本中修复。你使用的是哪个版本的facelets?

Here's some info

Facelet Bugtracker

+0

我使用facelets版本1.1.15.B1与Seam 2.2一起。不知道使用Seam 2.2的兼容较新版本的facelets是什么。 – Joe 2010-09-29 09:45:05

+0

只需在facelets jar – 2010-09-29 10:02:37

16

当部署一个新的EAR或从一台机器从何处部署应用程序,刷新JSF部件可能发生的服务器的不同时间设置创建war

日志将显示以下错误。

原因是,当有新的请求发生时,服务器会将页面修改为未来的时间戳,并开始再次编译。这将导致组件树再次被创建,从而导致组件被存储的所有状态丢失。

要解决此添加facelets.REFRESH_PERIODweb.xml

REFRESH_PERIOD表明,当请求一个页面,什么间隔秒应该编译器检查更改。如果您不希望编译器在编译页面后检查更改,请使用值-1。设置低刷新周期有助于在开发过程中编辑正在运行的应用程序中的页面。

web.xml,应该是这样的,

<context-param> 
<param-name>facelets.REFRESH_PERIOD</param-name> 
<param-value>-1</param-value> 
</context-param> 

-1表示不检查更改,因为生产服务器是安全的设置这个值。

+0

的MANIFEST文件中检查它,非常感谢您谢谢! – MAbraham1 2014-09-05 05:04:27