Working fine and then java.lang.NoClassDefFoundError out of nowhere?

Running Java 1.4.2 and Tomcat 5.0.25, both due to shared platform limitations...

I'm new to Java but managed write the JSP's I needed and they have been working beautifully. Then today, out of nowhere, I get the following in the log:

2007-02-06 22:00:20 StandardContext[/servlets-examples]SessionListener: contextDestroyed()

2007-02-06 22:00:20 StandardContext[/servlets-examples]ContextListener: contextDestroyed()

2007-02-06 22:00:22 StandardContext[/jsp-examples]SessionListener: contextDestroyed()

2007-02-06 22:00:22 StandardContext[/jsp-examples]ContextListener: contextDestroyed()

2007-02-06 22:00:35 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]

2007-02-06 22:00:35 StandardContext[/jsp-examples]ContextListener: contextInitialized()

2007-02-06 22:00:35 StandardContext[/jsp-examples]SessionListener: contextInitialized()

2007-02-06 22:00:35 StandardContext[/servlets-examples]ContextListener: contextInitialized()

2007-02-06 22:00:35 StandardContext[/servlets-examples]SessionListener: contextInitialized()

2007-02-06 22:00:37 StandardWrapperValve[jsp]: Servlet.service()for servlet jsp threw exception

java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpClient

at org.apache.jsp.host.get_jsp._jspService(get_jsp.java:96)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)

at java.lang.Thread.run(Thread.java:534)

when I found the server, it seemed to be unresponsive to any http request I sent it. After a restart, all was functioning again just like before. The jar for org/apache/commons/httpclient/HttpClient is in my web_inf/lib dir as it always has been. It wouldn't have worked on restart if it wasn't.

So, the question is... is there some bug in the Tomcat and Java combination I've got that caused this? If not, then what happened? Should I up the logging level to warnings? Should I move the jars I'm using into the tomcat lib dir? Any help would be appreciated by this early java learner.

Thanks,

Mac

[5098 byte] By [NinerMaca] at [2007-11-26 17:34:33]
# 1
Could this be a situation where load played a factor? Just another thought I had...
NinerMaca at 2007-7-9 0:02:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...