When doing local development I have just been using the built in Hsql database with Liferay 6.0.6 CE. Here are some steps that I take:
1. Working in eclipse testing changes in Liferay 6.0.6 CE
2. Shutdown the Liferay server
3. It is totally stopped (otherwise SQuirreL cant open the files)
4. Launch SQuirreL, can view the database fine
5. Shutdown, and close SQuirreL
6. Start up Liferay, get errors, Liferay doesn't start.
7. Erase Hsql database and start over, sad day.
Any tips on how to get SQuirreL to not break my database?
14:54:22,596 WARN [ThreadPoolAsynchronousRunner:608] com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@dc91e2 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
14:54:22,603 WARN [ThreadPoolAsynchronousRunner:624] com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@dc91e2 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1acf5f7 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@4845a2 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@d39f3c (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@17b51e8
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13e6577
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1776d65
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1af1934
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@9fe45c
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@14966cc
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1fc1b56
Pool thread stack traces:
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Please sign in to flag this as inappropriate.