Problem connecting to the database
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   daniel_ong
Posted On:   Thursday, August 4, 2005 02:13 AM

i having these error when i try to save a record to the databases exception org.apache.jasper.JasperException: org.apache.commons.pool.impl.GenericObjectPool: method ()V not found at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source) at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source) at org.apache.jasper.servlet.JspServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.apache.cat   More>>

i having these error when i try to save a record to the databases



exception


org.apache.jasper.JasperException:
org.apache.commons.pool.impl.GenericObjectPool: method ()V not found

at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)

at org.apache.jasper.servlet.JspServlet.service(Unknown Source)

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

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)

at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.catalina.core.StandardContext.invoke(Unknown Source)

at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(Unknown Source)

at org.apache.coyote.http11.Http11Processor.process(Unknown Source)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Unknown Source)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)

at java.lang.Thread.run(Thread.java:536)



root cause


javax.servlet.ServletException: org.apache.commons.pool.impl.GenericObjectPool: method ()V not found

at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown Source)

at org.apache.jsp.store_jsp._jspService(store_jsp.java:185)

at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)

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

at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)

at org.apache.jasper.servlet.JspServlet.service(Unknown Source)

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

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)

at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.catalina.core.StandardContext.invoke(Unknown Source)

at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(Unknown Source)

at org.apache.coyote.http11.Http11Processor.process(Unknown Source)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Unknown Source)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)

at java.lang.Thread.run(Thread.java:536)





What is the meaning of "Method ()V not found"?? What is the problem causing this problem??    <<Less

Re: Problem connecting to the database

Posted By:   Anonymous  
Posted On:   Saturday, August 20, 2005 09:56 AM

well,even I too encounterd the same problem initialy.You copy the latest release of commons-pool.jar into the webappsyourdirectirylib.And restart tomcat that will work.
About | Sitemap | Contact