[weld/core] e2425c: Revert "WELD-1802 destroying conversation if an ex...
by GitHub
Branch: refs/heads/master
Home: https://github.com/weld/core
Commit: e2425cb13605d69646cd468fc7962b284e41cf7b
https://github.com/weld/core/commit/e2425cb13605d69646cd468fc7962b284e41cf7b
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2014-12-01 (Mon, 01 Dec 2014)
Changed paths:
M impl/src/main/java/org/jboss/weld/context/AbstractConversationContext.java
M impl/src/main/java/org/jboss/weld/logging/ContextLogger.java
Log Message:
-----------
Revert "WELD-1802 destroying conversation if an exception occurs when attaching bean store"
This reverts commit 311dd7916304b6275a4790bb77b8cccd6694c068.
The destruction of the conversation is not necessary. If an HTTP session times out all the conversations are destroyed automatically (in a seperate thread). Moreover the fix for WELD-1774 prevents from using leaked associated HTTP requests.
Commit: b752cc0fe5959d936b003050a2d4d2e88f272916
https://github.com/weld/core/commit/b752cc0fe5959d936b003050a2d4d2e88f272916
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2014-12-01 (Mon, 01 Dec 2014)
Changed paths:
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/ConversationContextDestroyedOnSessionTimeoutTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/Foo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/SessionListener.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/TestServlet.java
Log Message:
-----------
WELD-1802 Adding test to simulate the leaking scenario
Compare: https://github.com/weld/core/compare/11d91b9b7bf5...b752cc0fe595
10 years
[weld/core] b815ff: Reproducer
by GitHub
Branch: refs/heads/2.2
Home: https://github.com/weld/core
Commit: b815ffef1443c98f359fdb2d539e794a2ee78492
https://github.com/weld/core/commit/b815ffef1443c98f359fdb2d539e794a2ee78492
Author: Jozef Hartinger <jharting(a)redhat.com>
Date: 2014-12-01 (Mon, 01 Dec 2014)
Changed paths:
A environments/servlet/tests/tomcat/src/test/java/org/jboss/weld/environment/servlet/test/context/conversation/leak/ConversationLeakTest.java
A environments/servlet/tests/tomcat/src/test/java/org/jboss/weld/environment/servlet/test/context/conversation/leak/ConversationScopedBean.java
A environments/servlet/tests/tomcat/src/test/java/org/jboss/weld/environment/servlet/test/context/conversation/leak/SimpleServlet.java
Log Message:
-----------
Reproducer
Commit: 59b7f4a817ed66294ef5bc5fef0719370ac8de25
https://github.com/weld/core/commit/59b7f4a817ed66294ef5bc5fef0719370ac8de25
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2014-12-01 (Mon, 01 Dec 2014)
Changed paths:
M impl/src/main/java/org/jboss/weld/context/AbstractConversationContext.java
M impl/src/main/java/org/jboss/weld/logging/ContextLogger.java
Log Message:
-----------
Revert "WELD-1802 destroying conversation if an exception occurs when attaching bean store"
This reverts commit 311dd7916304b6275a4790bb77b8cccd6694c068.
The destruction of the conversation is not necessary. If an HTTP session times out all the conversations are destroyed automatically (in a seperate thread). Moreover the fix for WELD-1774 prevents from using leaked associated HTTP requests.
Commit: afc74bbba1ebe5cc2d09fe696ec7f034a96eb1f2
https://github.com/weld/core/commit/afc74bbba1ebe5cc2d09fe696ec7f034a96eb1f2
Author: Martin Kouba <mkouba(a)redhat.com>
Date: 2014-12-01 (Mon, 01 Dec 2014)
Changed paths:
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/ConversationContextDestroyedOnSessionTimeoutTest.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/Foo.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/SessionListener.java
A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/TestServlet.java
Log Message:
-----------
WELD-1802 Adding test to simulate the leaking scenario
Compare: https://github.com/weld/core/compare/bd3425143f58...afc74bbba1eb
10 years