Hi, Do you get any exceptions in the server console ?
Regards /Nuwan On Fri, Aug 6, 2010 at 12:49 PM, Daniel Callejas Albalate <[email protected]>wrote: > Hi, > > > > I’m having a strange behaviour with a gadget server, after a long period of > inactivity when someone acces to the server get a 500 status error, after > refreshing the web several times the server begins to run normally. The > server is running on Amazon EC2. > > > > Any help? > > > > Thank you! > > > > *HTTP Status 500 - * > ------------------------------ > > *type* Exception report > > *message* > > *description* *The server encountered an internal error () that prevented > it from fulfilling this request.* > > *exception* > > org.apache.jasper.JasperException: Exception in JSP: > /dashboard/index.jsp:394 > > > > 391: > out.print("<td width='250' nowrap='nowrap'>"); > > 392: for (int i > = x; i < 4 * ((x / 4) + 1); i++) { > > 393: if (i > >= gadgetUrls.length) break; > > 394: > String[] nameUrlPair = gadgetUrls[i].split(","); > > 395: %> > > 396: > > 397: <input type="checkbox" > name="checkgroup" > > > > > > Stacktrace: > > > org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117) > > org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:55) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) > > > org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) > > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) > > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > *root cause* > > java.lang.NullPointerException > > org.apache.jsp.dashboard.index_jsp._jspService(index_jsp.java:796) > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117) > > org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:55) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) > > > org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) > > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) > > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > > > > > Att, > Daniel Callejas Albalate > ________________________________________________ > NexTReT - eBusiness Solutions http://www.nextret.net > Passeig Bonanova, 9. 08022 Barcelona > Calle Fortuny, 3 28010 Madrid > Tf. (+34) 932 541 530 Fx. (+34) 934 175 062 > > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Nuwan Bandara WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://www.nuwanbando.com
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
