Skip to content

Commit 146260c

Browse files
committed
Fix Java 2 Security issue: Remove listener app from SessionCachePrefixTest
The session.cache.web.listener1 app was causing SRVE8059E NPE failures under Java 2 Security when the server stopped. The listener app couldn't properly access the session context during shutdown, causing: - NullPointerException in session context - Zombie server processes between test repeats - Cascade failures in subsequent tests Fix: Remove the listener app parameter from SessionCacheApp initialization. The main session.cache.web app is sufficient for testing the cacheNamePrefix feature. Fixes: RTC 310836 Related: PR #35183 (revert), PR #34655 (original)
1 parent f4bf46e commit 146260c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev/com.ibm.ws.session.cache_fat/fat/src/com/ibm/ws/session/cache/fat/SessionCachePrefixTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class SessionCachePrefixTest extends FATServletClient {
5656

5757
@BeforeClass
5858
public static void setUp() throws Exception {
59-
app = new SessionCacheApp(server, true, "session.cache.web", "session.cache.web.listener1");
59+
app = new SessionCacheApp(server, true, "session.cache.web");
6060

6161
String hazelcastConfigFile = "hazelcast-localhost-only-multicastDisabled.xml";
6262
String configLocation = new File(server.getUserDir() + "/shared/resources/hazelcast/" + hazelcastConfigFile).getAbsolutePath();

0 commit comments

Comments
 (0)