Mantis - Resin
Viewing Issue Advanced Details
2055 major have not tried 10-10-07 11:23 10-24-07 15:52
westrupp  
ferg  
high  
closed 3.1.2  
fixed  
none    
none 3.1.3  
0002055: ArrayStoreException after Server restart
(rep by Alonzo Jackson)

Resin version: resin-pro-3.1.2

Two servers (Primary and Secondary) running on two different boxes. Primary handles the UI which connect to services on Secondary. It seems that restarting the server on Secondary and not restarting the server on Primary causes the exception below(or see attached). The exception occurs regardless of whether or not there are code changes. When the exception below was thrown, an attempt was made to a web service method that returns an array of ComplianceResult objects. The ComplianceResult object is the top of a complex object tree that contains objects and various collections (Lists & Maps) of Serializable objects. I would appreciate any information on why this is happening and how to prevent it.

java.lang.ArrayStoreException: rubbernetwork.compliance.core.results.ComplianceResult

            at com.caucho.hessian.io.ArrayDeserializer.readList(ArrayDeserializer.java:101)

            at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:1047)

            at com.caucho.hessian.io.HessianInput.readReply(HessianInput.java:306)

            at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:195)

            at $Proxy20.getResults(Unknown Source)

            at rubbernetwork.compliance.bean.ComplianceBean.retrieve(ComplianceBean.java:354)

            at _jsp._jsp._compliance._compliance__jsp._jspService(_compliance__jsp.java:795)

            at com.caucho.jsp.JavaPage.service(JavaPage.java:61)

            at com.caucho.jsp.Page.pageservice(Page.java:578)

            at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:192)

            at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)

            at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)

            at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:491)

            at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:355)

            at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:997)

            at _jsp._jsp._misc._template__jsp._jspService(_template__jsp.java:192)

            at com.caucho.jsp.JavaPage.service(JavaPage.java:61)

            at com.caucho.jsp.Page.pageservice(Page.java:578)

            at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:192)

            at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)

            at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)

            at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:280)

            at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)

            at SiteControl.processRequest(SiteControl.java:226)

            at SiteControl.doPost(SiteControl.java:258)

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

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

            at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)

            at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)

            at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)

            at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)

            at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)

            at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)

            at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)

Notes
(0002390)
ferg   
10-24-07 15:52   
Same as 0002026