Steps to reproduce
- Bring up Crowd using HSQLDB 2.3.0 (this may be reproducible with Postgres 8.4, to be confirmed).
- Set up Crowd to use an Embedded database.
- Continue through the setup process.
Expected result
Crowd setup process completes and user is presented with a login screen.
Observed result
Crowd hangs after the last screen of the setup process, and never presents the login screen. Crowd becomes unresponsive.
Workaround 1
At this point the workaround is to switch the session storage to in-memory from database storage:
Session Configuration
The in-memory storage is explained in more detail on the page linked above.
If you cannot keep crowd up long enough to access the Administration console, or crowd will simply not finish starting up, follow these steps to modify the value directly in the database:
- Shutdown crowd - ensure the pid is stopped
- Perform a database backup
- Connect to the database
- Execute this sql:
update cwd_property set property_value='false' where property_name='database.token.storage.enabled';
- Restart Crowd
- Validate the session storage is now in-memory by Navigating to Administration > Session Config
Workaround 2
If workaround 1 does not help, you may try this. However, please note that performing this workaround will force users to login again.
- Shutdown crowd - ensure the pid is stopped
- Perform a database backup
- Connect to the database
- Execute this sql:
delete from cwd_token;
- Restart Crowd
- Validate the session storage is now in-memory by Navigating to Administration > Session Config
- causes
-
CWD-3768 A failure in a single DB connection causes deadlock in Crowd
-
- Closed
-
- relates to
-
CWD-3482 Upgrade to H2 for evaluation and tests
- Closed
- was split from
-
CWD-3692 Crowd freezes under heavy load
-
- Closed
-
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- requirement of
-
ADM-50903 Loading...
Form Name |
---|
[CWD-3769] Adding a token to database causes transaction to lock indefinitely
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 75820 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 - restricted [ 1510865 ] | New: JAC Bug Workflow v3 [ 3365943 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1391957 ] | New: Simplified Crowd Development Workflow v2 - restricted [ 1510865 ] |
Workflow | Original: Crowd Development Workflow v2 [ 619703 ] | New: Simplified Crowd Development Workflow v2 [ 1391957 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 139228 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 112785 ] | New: This issue links to "Page (Extranet)" [ 112785 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 112785 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 63060 ] | New: This issue links to "Page (Extranet)" [ 63060 ] |
rgundersen those logs should not be anything to worry about; the error should be from an inner transaction failing, and Crowd should recover and continue to use the outer transaction. Unfortunately, we don't have an easy way of silencing those scary messages without also silencing other, possibly meaningful, errors.
If you have a problem with Crowd being unstable, please raise a ticket with support, as we still believe this issue is resolved.