[JBIDE-16381] corrected non initialized serverType when creating adapter