[MAGNOLIA-2331] WARN: session has been already closed Created: 19/Aug/08 Updated: 23/Jan/13 Resolved: 23/Jan/09 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | workflow |
| Affects Version/s: | 3.6.1 |
| Fix Version/s: | 4.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sameer Charles | Assignee: | Jan Haderka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
I have the following exception and related WARN each time I activate a website node. This happens always: and this randomly: |
| Comments |
| Comment by Jan Haderka [ 19/Aug/08 ] |
|
Please do not report 2 issues in one. As for the first one, message is harmless and it is already fixed - see Any chance you can lookup your Expressions workspace to see if there is any content? |
| Comment by Jan Haderka [ 21/Aug/08 ] |
|
The Workflow/ExpressionStore issue seems like a race condition on startup. AbstractExpressionStore tries to first call loadExpression() method of the JCRExpressionStore and if this call fails with exception it will silently swallow the exception and call storeExpression() method instead. Since each of the methods obtain hierarchy manager it is possible to get session with pending changes in the second call. To get more insight we should wrap content of loadExpression() in the try/catch block and make sure any exceptions are properly reported. |
| Comment by swetha [ 17/Dec/08 ] |
|
I have the exact same issue. WARN info.magnolia.module.workflow.jcr.JCRExpressionStore JCRExpressionStore.j Because of this, activation is NEVER done. Please help in resolving this. |
| Comment by Jan Haderka [ 23/Jan/09 ] |
|
Done as of r21684. |