Crowd stops responding to requests on version 2.7.1
Symptoms
Crowd hangs after the last screen of the setup process, and never presents the login screen. Crowd becomes unresponsive.
The following appears in the atlassian-crowd.log
:
2014-03-21 19:02:13,438 localhost-startStop-1 ERROR [hibernate.tool.hbm2ddl.SchemaUpdate] HHH000319: Could not get database metadata
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'testuser'.)
...
Caused by: java.sql.SQLException: Login failed for user 'testuser'.
Cause
There's a bug raised for this issue:
-
CWD-3769Getting issue details...
STATUS
Workaround
Change the token to be stored on memory instead of database:
update cwd_property set property_value='false' where property_name='database.token.storage.enabled';
Restart Crowd.
If the issue persists, delete the content of the cwd_token table. This will logout all users current logged in the Crowd instance.
delete from cwd_token;
- Restart Crowd