#1 perf4cdi profiling breaks SessionScoped beans

open
nobody
None
5
2010-09-27
2010-09-27
Josh Hill
No

If you add @Perf4jProfiled to a SessionScoped bean you will get a deployment time error stating the bean is not passivation capable.

According to the spec in order for a bean to be passivation capable all interceptors must also be serializable.

The following fixed the issue for me locally.

public class Perf4jProfiledInterceptor implements Serializable {

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks