struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rauf Khan" <mkr...@gmail.com>
Subject Connection pool problem
Date Tue, 01 Aug 2006 12:19:25 GMT
Hi,

  Iam trying to connect to oracle database through struts database
connection pool, also i have placed commons-dbcp.1.2.1.jar in web-inf/lib
folder.

  It is throwing the following error:

java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
	java.lang.Class.getDeclaredConstructors0(Native Method)
	java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	java.lang.Class.getConstructor0(Unknown Source)
	java.lang.Class.newInstance0(Unknown Source)
	java.lang.Class.newInstance(Unknown Source)
	org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:145)
	org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:775)
	org.apache.struts.action.ActionServlet.init(ActionServlet.java:331)
	javax.servlet.GenericServlet.init(GenericServlet.java:211)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	java.lang.Thread.run(Unknown Source)



 Please help me out in connecting to the database with the proper jar file.

 Thanks in advance.

Regards

Rauf Khan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message