Hi,
i’m new to Vaadin and just started with developing apps with it.
I try to integrate vaadin into a existing application.
We have a filter that checks that all objects stored in HttpSession are Serializable.
In Vaadin 7 beta 11 we get an error that ClassLoader in VaadinService:79 in VaadinSession s not serializable:
We run Tomcat 6 so the ClassLoader is a org.apache.catalina.loader.WebappClassLoader
VaadinService saves VaadinSession(aggr. VaadinServletService which agr. ClassLoader instance)
here:
public VaadinSession findVaadinSession(VaadinRequest request)
throws ServiceException, SessionExpiredException {
VaadinSession vaadinSession = findOrCreateVaadinSession(request);
if (vaadinSession == null) {
return null;
}
VaadinSession.setCurrent(vaadinSession);
request.setAttribute(VaadinSession.class.getName(), [b]
vaadinSession
[/b]);
return vaadinSession;
}
VaadinSession contains a Service that contains ClassLoader which is not transient.
Is it intended or a bug ?
I my opinion there(VaadinService:79 ) is a “transient” missing.