I tried setting db.statementpool = false, still no luck..

Exception in full java stack trace is: - 

Caused by: org.xml.sax.SAXException: An error was encountered while
processing the 'aspect.general.PageNotFoundTransformer' Wing based
component: org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool
error Timeout waiting for idle object
        at
org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer.handleException(AbstractDSpaceTransformer.java:109)
        at
org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer.setup(AbstractDSpaceTransformer.java:93)
        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
        at sun.proxy.$Proxy19.setup(Unknown Source)
        at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:356)
        ... 95 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot get a
connection, pool error Timeout waiting for idle object
        at
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)
        at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:588)
        at org.dspace.core.Context.<init>(Context.java:95)
        at
org.dspace.app.xmlui.utils.ContextUtil.obtainContext(ContextUtil.java:72)
        at
org.dspace.app.xmlui.utils.ContextUtil.obtainContext(ContextUtil.java:53)
        at
org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer.setup(AbstractDSpaceTransformer.java:78)
        ... 101 more
Caused by: java.util.NoSuchElementException: Timeout waiting for idle object
        at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:958)
        at
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
        ... 106 more




I tested the db connection too, it was successful though.

Attempting to connect to database:
 - URL: jdbc:postgresql://localhost:5432/dspace
 - Driver: org.postgresql.Driver
 - Username: dspace
 - Password: dspace
 - Schema:

Testing connection...
Connected successfully!



Where am I going wrong?!

Thanks,
Abhishek





--
View this message in context: 
http://dspace.2283337.n4.nabble.com/java-util-NoSuchElementException-Timeout-waiting-for-idle-object-tp4663019p4663072.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to