I just run into the same problem when running my test-cases.
For my test-cases, I configured the BasicDataSource from apache.
Everything freezes, when I run MassIndexer.startAndWait().
The problem vanishes, when I set BasicDataSource.maxActive to a bigger value.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
This bug seems to be still open in 4.1.1.Final.
I just run into the same problem when running my test-cases.
For my test-cases, I configured the BasicDataSource from apache.
Everything freezes, when I run MassIndexer.startAndWait().
The problem vanishes, when I set BasicDataSource.maxActive to a bigger value.