We investigated the application code and Ibatis sources.
1. All the application classes (Beans, Actionforms, Decorators) are
serializable. (This takes care of all the objects in chain)
2. We suspected that Ibatis could be problem area and made all the classes
serializable (For sanity sake)
Well, I think this has got to do with the way Ibatis is implemented. Here's an
example.
private List runQueryForList(SqlStatement localSql, Connection conn, Object
parameterObject, int skipResults, int maxResults, RowHandler rowHandler)
throws SQLException
{
List list;
1. Based on some further research, I did not find any java.lang.Object
declaration in the (Beans/VO, Action forms, Decorators) of the application
classes.
2. The Mappings are clean and theres no DB - field mapping of type Object.
3. Although, In com.ibatis.db.sqlmap.cache.memory package,
Hello,
We are using JbossCache in a clustered environment. (JBoss, Ibatis, Oracle). We
are unable to figure out the reason for an exception when the JBossCacheService
tries to do replication on the other node.
[java.io.NotSerializableException: java.lang.Object]
We have ensured that all the