Confluence start up stuck without any error
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
Confluence isn't starting up and there's no error in the logs.
The following appears in the atlassian-confluence.log
. (The logs still appending INFO or WARNING. No error is showing in the logs and it seems like Confluence is still starting up, but that's no the case)
2000-01-01 13:59:24,393 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.9.9 [build 6217 based on commit hash 82a642d727bee456b0a91262638763d5620b1a86]
2000-01-01 13:59:26,578 INFO [localhost-startStop-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
2000-01-01 13:59:30,301 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
2000-01-01 13:59:32,324 WARN [localhost-startStop-1] [org.springframework.beans.TypeConverterDelegate] findDefaultEditor PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2000-01-01 13:59:39,774 WARN [localhost-startStop-1] [org.springframework.beans.TypeConverterDelegate] findDefaultEditor PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2000-01-01 13:59:39,782 WARN [localhost-startStop-1] [org.springframework.beans.TypeConverterDelegate] findDefaultEditor PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2000-01-01 13:59:41,772 INFO [localhost-startStop-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization completed in 15194 ms
診断
環境
- Confluence is connected to PostgreSQL database with pgpool cluster management tools. Note : This only happens if you're using pgpool prior to version 3.5.2.
Diagnostic Steps
- Connections between Confluence and Database is fine. (Network Level)
- Clearing Confluence plugins cache doesn't work.
- Connect Confluence to a new schema within the same database doesn't work.
Do note that Confluence doesn't support pgpool as a clustered database management tools. See Confluence supported platform.
原因
There was a bug in pgpool prior to version 3.5.2 whereby pgpool hangs connections to the database.
ソリューション
- Upgrade pgpool to version 3.5.4 that contain the fix. View the changelog here.