I've installed JForum as a way of gettng a bit of feedback about my site,
http://wow.gedsguides.com/, not that anyone seems to be bothering.
Anyway, it installed OK but there are a couple of problems.
The first, small problem, is when I restart
Tomcat, if I don't immediately open the home page for the forums (
http://www.gedsguides.com/forums/forums/list.page) then it won't start properly on demand later. I haven't tested how long I have to leave it before this happens, but it's no more than a couple of hours. If I do open a window right away, everything seems to work fine.
Second, more serious thing, is that it's started going wrong now after about 12-24 hours or so, and when I visit the page I get this:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for
servlet jforum threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.NoClassDefFoundError
net.jforum.C3P0PooledConnection.init(C3P0PooledConnection.java:64)
net.jforum.ForumStartup.startDatabase(ForumStartup.java:75)
net.jforum.JForum.init(JForum.java:93)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
My ISP is running Tomcat 5.5.9 on JDK 1.5.0.
Hmm, actually I've just noticed that someone - possibly me
- has set it to restart tomcat automatically every 24 hours, in which case problem #2 is probably the same as problem #1
.
I suppose I could get over this by setting the servlet to be started automatically rather than on-demand, and I will as a last resort, but initially I'd prefer to know what's going wrong.
[originally posted on jforum.net by gedsguides]