How to serialize org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject this class , as iam getting NotSerializableException with this class. Please help.(Wildfly 8.2.1)