ServletRequestCleanService throws RuntimeException
Louis Vetsch <[email protected]> Mon, 17 Apr 2017 09:34:44 -0500
| Newsgroups | gmane.comp.jakarta.jetspeed.user |
|---|---|
| Message-ID | <CAFC3ncZ0SwJXzFAREfdxoeAy3AGYQVtDuJyTLD53-fK_7oT-uA@mail.gmail.com> |
--001a113e795849e711054d5db110 Content-Type: text/plain; charset=UTF-8 Hi, In migrating our Jetspeed-2, 2.2.0 custom portal to 2.3.1, we are noticing a RuntimeException being thrown from org.apache.jetspeed.util.ServletRequestCleanupService. We have a class that runs at portal server startup that processes template pages for our portal application, which calls org.apache.jetspeed.security.JSSubject.doAsPrivileged() to do this processing. There doesn't seem to be any side effects other than the exception in the Jetspeed.log file upon server startup. The call stack of the exception is: ERROR [org.apache.jetspeed.util.ServletRequestCleanupService.addCleanupCallback():63] Registring cleanup callback before ServletRequestCleanupService invoked from filter chain. java.lang.RuntimeException at org.apache.jetspeed.util.ServletRequestCleanupService.addCleanupCallback(ServletRequestCleanupService.java:58) at org.apache.jetspeed.util.ServletRequestThreadLocalCleanupCallback.<init>(ServletRequestThreadLocalCleanupCallback.java:33) at org.apache.jetspeed.security.JSSubject.setSubject(JSSubject.java:50) at org.apache.jetspeed.security.JSSubject.doAsPrivileged(JSSubject.java:185) ... Can we safely ignore this exception or is there something we need to do prior to calling our class during startup? Thanks in advance. --001a113e795849e711054d5db110--