I have deployed forum application of Linux and windows environment. It works fine on Windows environment.
For Linux, Forum page is not shown, appears blank, if I delete cookies, then it works but when I opens a new browser window, forum page is not accessed again.
Tomcat version used: 5.5.17.
It throws the follwing exception when blank page appears
org.xml.sax.SAXParseException: Premature end of file.
Continuing ...
java.util.NoSuchElementException
at java.util.Vector.lastElement(Vector.java:461)
at com.sun.beans.ObjectHandler.lastExp(ObjectHandler.java:132)
at com.sun.beans.ObjectHandler.dequeueResult(ObjectHandler.java:136)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:218)
at net.jforum.JForum.checkCookies(JForum.java:360)
at net.jforum.JForum.service(JForum.java:453)
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.core.StandardHostValve.invoke(StandardHostValve.java:126)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
java.util.NoSuchElementException
at java.util.Vector.lastElement(Vector.java:461)
at com.sun.beans.ObjectHandler.lastExp(ObjectHandler.java:132)
at com.sun.beans.ObjectHandler.dequeueResult(ObjectHandler.java:136)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:218)
at net.jforum.JForum.checkCookies(JForum.java:360)
at net.jforum.JForum.service(JForum.java:453)
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.core.StandardHostValve.invoke(StandardHostValve.java:126)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595) [originally posted on jforum.net by shahbaz]