Today I noticed that there is more session on the map than me.
Map<String, Object> sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
Iterator attributeNames = sessionMap.keySet().iterator();
while ( attributeNames.hasNext() ){
System.out.println(attributeNames.next().toString());
}
In my session, two unknown objects were found: com.sun.faces.application.view.activeViewMapsand javax.faces.request.charset. Is it normal to find these objects in a session?
I ask about this because it com.sun.faces.application.view.activeViewMapsgives me serialization errors when rebooting the server. He seems to be trying to serialize almost everything.
Note. I know that I can disable serialization by uncommenting <Manager pathname="" />in the server file context.xml. I just want to know if itβs ok to find com.sun.faces.application.view.activeViewMapsin a session.
source
share