patch from Christian to allow use from JCA connector