-
1. Re: seam in tomcat 6 cluster: seam managed entityManager cannot be replicated..
sducas.sducas1.gmail.com Feb 20, 2009 3:56 PM (in response to sducas.sducas1.gmail.com)I've juste tryed with seam 2.1.1-GA, now I have:
java.io.NotSerializableException: org.jboss.seam.transaction.TransactionInterceptor$TransactionMetadata
and sometimes instead this I have the same for java.lang.reflect.Method:
java.io.NotSerializableException: java.lang.reflect.Method
-
2. Re: seam in tomcat 6 cluster: seam managed entityManager cannot be replicated..
marius.oancea Feb 27, 2009 2:19 PM (in response to sducas.sducas1.gmail.com)I have the same problem. I use jboss 4.2.2.
Any idea what we can do?
-
3. Re: seam in tomcat 6 cluster: seam managed entityManager cannot be replicated..
darpholgshon Mar 5, 2009 12:07 PM (in response to sducas.sducas1.gmail.com)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?
-
4. Re: seam in tomcat 6 cluster: seam managed entityManager cannot be replicated..
sbasinge Mar 7, 2009 6:44 PM (in response to sducas.sducas1.gmail.com)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.