Hi,
Building the latest platform web and adding some of the plugins like
scheduler, watchlist, lucene, applicationmanager and spacemanager on top it,
I see lot of stack traces on my console. They pertain to either class not
found or file not found exceptions. It looks like some of the references in
pom have to be updated to get the latest jars.
I am pasting these below, please have a look and let me know if I need to
add some extra settings.
Where can I add log4j.properties and any sample log4j.properties available?
Next for quartz scheduler do I need any quartz.properties ?
Thanks
Sachin
============================================================================
INFO: Reloading this Context has started
2008-03-21 00:56:47,890 [] [http-9080-Processor25] ERROR
[localhost].[/xwiki] - Exception sending context destroyed event
to listener instance of class
org.xwiki.plexus.XWikiPlexusServletContextListener
java.lang.NoClassDefFoundError:
org/codehaus/plexus/personality/plexus/lifecycle/phase/Disposable
at
org.codehaus.plexus.personality.plexus.lifecycle.phase.DisposePhase.execute(DisposePhase.java:28)
at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.end(AbstractLifecycleHandler.java:190)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.endComponentLifecycle(AbstractComponentManager.java:187)
at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.dispose(ClassicSingletonComponentManager.java:76)
at
org.codehaus.plexus.DefaultPlexusContainer.disposeAllComponents(DefaultPlexusContainer.java:988)
at
org.codehaus.plexus.DefaultPlexusContainer.dispose(DefaultPlexusContainer.java:949)
at
org.codehaus.plexus.servlet.ServletContextUtils.stop(ServletContextUtils.java:141)
at
org.codehaus.plexus.servlet.PlexusServletContextListener.contextDestroyed(PlexusServletContextListener.java:64)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3804)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4352)
at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3018)
at
org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:906)
at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:353)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:346)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
log4j:ERROR Could not read configuration file from URL
[jar:file:/C:/apache-tomcat-5.5.20/webapps/xwiki/WEB-INF/lib/xwiki-core-1.4-SNAPSHOT.jar!/log4j.properties].
java.io.FileNotFoundException: JAR entry log4j.properties not found in
C:\apache-tomcat-5.5.20\webapps\xwiki\WEB-INF\lib\xwiki-core-1.4-SNAPSHOT.jar
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:433)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3024)
at
org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:906)
at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:353)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:346)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
log4j:ERROR Ignoring configuration file
[jar:file:/C:/apache-tomcat-5.5.20/webapps/xwiki/WEB-INF/lib/xwiki-core-1.4-SNAPSHOT.jar!/log4j.properties].
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "OSCacheService Cache Monitor"
java.lang.NullPointerException
at org.apache.log4j.LogManager.getLogger(LogManager.java:188)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
at
org.apache.commons.logging.impl.Log4JLogger.isInfoEnabled(Log4JLogger.java:323)
at com.xpn.xwiki.cache.impl.OSCacheService.run(OSCacheService.java:205)
at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-44" java.lang.NoClassDefFoundError:
org/apache/lucene/search/Weight
at com.xpn.xwiki.plugin.lucene.IndexData.buildQuery(IndexData.java:161)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.getOldIndexDocIds(IndexUpdater.java:288)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:118)
at java.lang.Thread.run(Unknown Source)
java.lang.NoClassDefFoundError:
org/apache/commons/collections/buffer/BoundedFifoBuffer$1
at
org.apache.commons.collections.buffer.BoundedFifoBuffer.iterator(BoundedFifoBuffer.java:326)
at java.util.AbstractCollection.remove(Unknown Source)
at
com.xpn.xwiki.monitor.api.MonitorPlugin.addToTimerDataList(MonitorPlugin.java:137)
at
com.xpn.xwiki.monitor.api.MonitorPlugin.endRequest(MonitorPlugin.java:120)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:320)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:346)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context:
http://www.nabble.com/Noticed-several-stack-traces-on-tomcat-console-tp1619…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.