It is possible that a client proxy class is shared accross multiple container instances. To avoid serialization problems the ClientProxyFactory.addSerializationSupport() method should not have the contextId hardcoded. Instead, we should use a field to store the contextId, similarly as we do for the bean identifier. |