[server][SessionManager] Build the stub files successfully.