2011-02-14 66 views
1

我跟着this tutorial配置一個應用程序(由seam-gen生成)使用eclipselink而不是休眠。Seam會產生一個無限循環嗎?

之後,在瀏覽器發出第一個請求後,以下消息出現在無限循環中。 什麼可能導致此行爲?

我無法找到包含字符串「添加庫」的源文件,用調試器來檢查問題,任何指針都會被讚賞。

INFO [Server] JBoss (MX MicroKernel) [4.3.0.GA_CP06 (build: SVNTag=JBPAPP_4_3_0_GA_CP06 date=200907141446)] Started in 26s:623ms 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml 
INFO [compiler] Added Library from: jar:file:/C:/dev/jboss-4.3.0.GA/server/default/deploy/app.ear/app.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml 

回答

2

您是否將xml文件更改爲您的更改的一部分? Eclipse將已更改配置文件的備份存儲爲* .jsfdia文件或類似內容。這些文件可能會導致應用程序無情地部署&重新部署。如果這些文件存在,請將它們從已部署的應用程序文件夾中刪除,問題將消失。

+0

感謝您的回覆,它發生在運行時,這不是連續部署的問題。 – stacker 2011-02-14 15:26:02