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: An exception occurred processing JSP page /include/layout/productpricedetail.inc at line 475

472: 				sameWeight2 = new String[numbLineMatrix];
473: 				sameMap = new String[numbLineMatrix];
474: 				for ( int i=0; i < product.getMatrixSize(); i++ ) {
475: 					Product matrixproduct4 = Product.getInstance(product.getMatrixItemNumber(i));
476: 					String productweight4 = matrixproduct4.getAttribute("weight","N").getValue();
477: 					String productMap = matrixproduct4.getAttribute("mapPrice","N").getValue();
478: 					sameWeight2[i] = productweight4;


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

root cause

javax.servlet.ServletException: synaro.webstore.PersistentException: SelectProductByNumber command failedConnection refused (Connection refused)
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
	org.apache.jsp.product_jsp._jspService(product_jsp.java:7526)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

root cause

synaro.webstore.PersistentException: SelectProductByNumber command failedConnection refused (Connection refused)
	synaro.webstore.Product.getIdFromProductNumber(Product.java:384)
	synaro.webstore.Product.getInstance(Product.java:223)
	org.apache.jsp.product_jsp._jspService(product_jsp.java:3342)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.


Apache Tomcat/6.0.24