详细介绍:TEL:13303329700 0312-5885767 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
org.plugbase.xaction.util.ActionUtil.executeAction(ActionUtil.java:116)
org.plugbase.xengine.http.ServletEngine.execute(ServletEngine.java:70)
org.plugbase.xengine.http.Filter.doFilter(Filter.java:51)
root cause java.lang.reflect.InvocationTargetException
sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.plugbase.xaction.util.ActionUtil.executeAction(ActionUtil.java:114)
org.plugbase.xengine.http.ServletEngine.execute(ServletEngine.java:70)
org.plugbase.xengine.http.Filter.doFilter(Filter.java:51)
root cause com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in xsql/Product.xml.
--- The error occurred while executing query.
--- Check the select * from products where productid=? .
--- Check the SQL Statement (preparation failed).
--- Cause: java.lang.RuntimeException: Error accessing SimplePooledConnection. Connection is invalid.
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:214)
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForObject(MappedStatement.java:130)
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:615)
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:590)
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:108)
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:84)
ebiz.sql.product.ProductSQLMapper.selectProductById(ProductSQLMapper.java:15)
ebiz.web.packages.ListPackage.viewProduct(ListPackage.java:425)
sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.plugbase.xaction.util.ActionUtil.executeAction(ActionUtil.java:114)
org.plugbase.xengine.http.ServletEngine.execute(ServletEngine.java:70)
org.plugbase.xengine.http.Filter.doFilter(Filter.java:51)
root cause java.lang.RuntimeException: Error accessing SimplePooledConnection. Connection is invalid.
com.ibatis.common.jdbc.SimpleDataSource$SimplePooledConnection.getValidConnection(SimpleDataSource.java:913)
com.ibatis.common.jdbc.SimpleDataSource$SimplePooledConnection.invoke(SimpleDataSource.java:958)
$Proxy0.prepareStatement(Unknown Source)
com.ibatis.sqlmap.engine.execution.SqlExecutor.prepareStatement(SqlExecutor.java:504)
com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:178)
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:231)
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:199)
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForObject(MappedStatement.java:130)
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:615)
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:590)
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:108)
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:84)
ebiz.sql.product.ProductSQLMapper.selectProductById(ProductSQLMapper.java:15)
ebiz.web.packages.ListPackage.viewProduct(ListPackage.java:425)
sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.plugbase.xaction.util.ActionUtil.executeAction(ActionUtil.java:114)
org.plugbase.xengine.http.ServletEngine.execute(ServletEngine.java:70)
org.plugbase.xengine.http.Filter.doFilter(Filter.java:51)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
|