Fórum

Database connection problem

Inderjeet Narang, modificado 11 Anos atrás.

Database connection problem

New Member Postagens: 2 Data de Entrada: 18/10/11 Postagens Recentes
I have setup liferay portlet in eclipse ID, everything is working fine i m able to create portlet and can see there on localhost but when i m putting portal-ext.properties file in /webapps/ROOT/WEB-INF/classes for mysql database connection i m getting below mentioned error on starting tomcat server inside from eclipse. Please suggest me the workaround for this..

INFO: Deploying configuration descriptor ROOT.xml
Loading jar:file:/D:/Liferay/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/D:/Liferay/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/D:/Liferay/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/portal-ext.properties
Loading file:/D:/Liferay/liferay-portal-6.0.6/portal-ide.properties
Loading file:/D:/Liferay/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/portal-developer.properties
16:39:37,213 WARN [ThreadPoolAsynchronousRunner:608] com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@38fb59 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
16:39:37,223 WARN [ThreadPoolAsynchronousRunner:624] com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@38fb59 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1438dbe (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@ece36 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@46136 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@18a2977
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1a8739b
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@3dd246
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b7f2d0
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@a64a92
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@169da74
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@84f665
Pool thread stack traces:
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Database connection problem

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Try rebooting your pc. Check if you don't have any other instance of liferay using the same database. Also, please post your database configuration the next time too.
Inderjeet Narang, modificado 11 Anos atrás.

RE: Database connection problem

New Member Postagens: 2 Data de Entrada: 18/10/11 Postagens Recentes
Problem solved.
Go to mysql>bin and then right click on mysqld and run it and then restart the server it works fine.