Seam会产生无限循环吗?

时间:2011-02-14 12:48:58

标签: java jboss seam eclipselink

我跟着this tutorial配置了一个应用程序(由seam-gen生成)来使用eclipselink而不是hibernate。

之后,在发出浏览器的第一个请求后,以下消息将出现在无限循环中。 什么可能导致这种行为?

我无法找到包含字符串“Added Library from”的源文件来检查调试器的问题,任何指针都表示赞赏。

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

1 个答案:

答案 0 :(得分:2)

您是否更改了xml文件作为更改的一部分? Eclipse将已更改配置文件的备份存储为* .jsfdia文件或类似文件。这些文件可以使应用程序无法部署和重新部署。如果存在这些文件,请从已部署的应用程序文件夹中删除它们,问题就会消失。