]
Marek Novotny commented on JBSEAM-4573:
---------------------------------------
The original cause is:
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.hibernate.search.util.LoggerFactory.make(LoggerFactory.java:31)
Full stack trace hidden in log:
2010-09-02 14:04:47,964 DEBUG [org.jboss.seam.exception.DebugPageHandler] redirecting to
debug page
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2275)
at org.jboss.seam.Component.unwrap(Component.java:2301)
at org.jboss.seam.Component.getInstance(Component.java:2044)
at org.jboss.seam.Component.getInstance(Component.java:1986)
at org.jboss.seam.Component.getInstance(Component.java:1980)
at org.jboss.seam.Component.getInstance(Component.java:1975)
at
org.jboss.seam.ioc.spring.SeamManagedEntityManagerFactory.createEntityManager(SeamManagedEntityManagerFactory.java:59)
at
org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:392)
at
org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:320)
at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
at org.jboss.seam.ioc.spring.SpringTransaction.begin(SpringTransaction.java:67)
at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:593)
at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:583)
at
org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:327)
at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:144)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:118)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.hibernate.search.util.LoggerFactory.make(LoggerFactory.java:31)
at org.hibernate.search.Version.<clinit>(Version.java:14)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
org.jboss.seam.persistence.HibernatePersistenceProvider.<clinit>(HibernatePersistenceProvider.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jboss.seam.Component.instantiateJavaBean(Component.java:1441)
at org.jboss.seam.Component.instantiate(Component.java:1362)
at org.jboss.seam.Component.newInstance(Component.java:2148)
at org.jboss.seam.Component.getInstance(Component.java:2024)
at org.jboss.seam.Component.getInstance(Component.java:2003)
at org.jboss.seam.Component.getInstance(Component.java:1997)
at org.jboss.seam.Component.getInstance(Component.java:1970)
at org.jboss.seam.Component.getInstance(Component.java:1965)
at org.jboss.seam.persistence.PersistenceProvider.instance(PersistenceProvider.java:204)
at
org.jboss.seam.persistence.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:80)
at
org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:108)
... 66 more
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
... 88 more
Infinite loop in Spring example on JBoss AS 4.2.3
-------------------------------------------------
Key: JBSEAM-4573
URL:
https://jira.jboss.org/browse/JBSEAM-4573
Project: Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.2.1.CR2
Environment: JBoss AS 4.2.3
java version "1.6.0_14"
Reporter: Jozef Hartinger
Assignee: Marek Novotny
Fix For: 2.2.1.CR3
Loading a home page of Spring example deployed on JBoss AS 4.2.3 results in an infinite
loop. No exception is thrown in the log, however taglibs are being loaded in a circle:
10:42:28,383 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
10:42:28,420 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
10:42:28,430 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
10:42:28,459 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
10:42:28,486 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
10:42:28,496 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
10:42:28,551 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
10:42:28,682 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
10:42:28,700 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
10:42:28,710 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
10:42:28,717 ERROR [STDERR] Mar 2, 2010 10:42:28 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
10:42:30,104 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
10:42:30,127 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
10:42:30,150 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
10:42:30,171 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
10:42:30,176 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
10:42:30,180 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
10:42:30,185 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
10:42:30,195 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
10:42:30,199 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
10:42:30,208 ERROR [STDERR] Mar 2, 2010 10:42:30 AM
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/home/jharting/jboss/jboss-4.2.3.GA-jdk6/server/default/tmp/deploy/tmp6625122807404491793jboss-seam-spring-exp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: