fix database connection for comment servlet