https://issues.apache.org/bugzilla/show_bug.cgi?id=55357
maxime.fala...@gmail.com changed:
What|Removed |Added
OS||All
--- Comment #1 from maxime.fala...@gmail.com ---
My workaround to make it working is to add
Thread.currentThread().setContextClassLoader(classLoader) in the JDBCStore
(between line 644 and 645 in method load(String):Session) :
if (classLoader != null)
Thread.currentThread().setContextClassLoader(classLoader);
ois = new CustomObjectInputStream(bis, classLoader);
} else {
ois = new ObjectInputStream(bis);
}
Maybe add a try catch to catch the SecurityException thrown by the
setContextClassLoader method.
--
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org