Confluence Seems to Hang on Startup with SQL Server
症状
When starting Confluence, there seems to be no activity after a period of time. Looking at thread dumps, you might notice there are threads waiting on the database.
診断
SQL Server is the database, and ?requireSSL=true is set in the connection string configured in confluence.cfg.xml
原因
Confluence does not trust the SSL certificate presented by SQL Server. This would normally throw a PKIX Certificate error, but it does not seem to in this situation.
ソリューション
- Add the SSL certificate to the JAVA trust store (usually located at <java-home>/jre/lib/security/cacerts)
最終更新日: 2016 年 2 月 26 日
Powered by Confluence and Scroll Viewport.