Incremental build is incomplete
After an incremental build and deploy of WebLab, I get the following error:
description The server encountered an internal error () that prevented it from fulfilling this request.exception
javax.servlet.ServletException: Servlet.init() for servlet mainservlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:680)root cause
java.lang.NoClassDefFoundError: Could not initialize class utils.HibernateUtilConfigured
utils.DispatchServlet.tryLoadGlobalsAndPerformInit(DispatchServlet.java:19)
utils.DispatchServlet.init(DispatchServlet.java:39)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:680)note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
Submitted by Eelco Visser on 2 July 2012 at 13:09
Issue Log
is there a more specific error in catalina.out logfile?
No
Here’s a longer stacktrace from the browser; log has nothing.
type Exception reportmessage
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet mainservlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:680)root cause
java.lang.ExceptionInInitializerError
utils.HibernateUtilConfigured.(HibernateUtilConfigured.java:74)
utils.DispatchServlet.tryLoadGlobalsAndPerformInit(DispatchServlet.java:19)
utils.DispatchServlet.init(DispatchServlet.java:39)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:680)root cause
org.hibernate.HibernateException: could not init listeners
org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:205)
org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:2010)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872)
utils.HibernateUtilConfigured.(HibernateUtilConfigured.java:70)
utils.DispatchServlet.tryLoadGlobalsAndPerformInit(DispatchServlet.java:19)
utils.DispatchServlet.init(DispatchServlet.java:39)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:680)root cause
org.hibernate.search.SearchException: Analyzer found with an unknown definition: default
org.hibernate.search.impl.ConfigContext.initLazyAnalyzers(ConfigContext.java:257)
org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:402)
org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:262)
org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:144)
org.hibernate.search.event.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:151)
org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198)
org.hibernate.event.EventListeners.processListeners(EventListeners.java:181)
org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194)
org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:2010)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872)
utils.HibernateUtilConfigured.(HibernateUtilConfigured.java:70)
utils.DispatchServlet.tryLoadGlobalsAndPerformInit(DispatchServlet.java:19)
utils.DispatchServlet.init(DispatchServlet.java:39)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:680)note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
was probably database configuration issue
Log in to post comments