Hi Markus,
Actually, the problem is fixed differently in Remoting 2.2. See JBREM-1127 "ClassCastExceptions arising from Unmarsharller/Classloader caching in MicroRemoteClientInvoker". You need to set the "useCurrentThreadClassLoader" parameter to true.
-Ron