I've juste tryed with seam 2.1.1-GA, now I have:
and sometimes instead this I have the same for java.lang.reflect.Method:
I have the same problem. I use jboss 4.2.2.
Any idea what we can do?
10:42:41,882 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: ao3FW50hV-enSLiz0YRAiQ**.node1 lastAccessedTime: 1236249761866 version: 67 lastOutdated: 0] java.io.NotSerializableException: java.lang.reflect.Method
I am also getting this when trying to run clustered applications. I have seen similar posts elsewhere, but no one has a 'helpful' answer other than saying that something is trying to be serialized that isn't serializable!
I have made EVERYTHING in my project serializable even the stuff I don't think needs to be, but still this exception appears every page request. I'm using Seam 2.1.1.GA and JBoss 4.2.3 under jdk 1.5.0_16 with APR native connector.
Interestingly I got a different variant of this exception using Seam 2.1.0.SP1 which was
complaining that 'mockHttpSession' was not serializable, and I upgraded to fix this issue as well as a few other things.
Does anyone know how to resolve this? Surely people are running clustered configurations successfully somewhere?
If you're using Seam 2.1.1, POJO based and framework classes, e.g. EntityHome, EntityQuery, check out the issue here: http://www.seamframework.org/Community/DiagnosingSessionSerializationSeam211GA. If it works for you, please post back so the JIRA will get faster attention.