2010-09-29 68 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