| | |
| | | |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.ErrorLogPublisher; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.forgerock.opendj.ldap.DecodeException; |
| | | |
| | | import static org.opends.server.tools.ToolConstants.*; |
| | |
| | | */ |
| | | public class ManageTasks extends ConsoleApplication { |
| | | |
| | | private static ErrorLogPublisher errorLogPublisher = null; |
| | | |
| | | // This CLI is always using the administration connector with SSL |
| | | private static final boolean alwaysSSL = true; |
| | | |
| | |
| | | public static void main(String[] args) { |
| | | int retCode = mainTaskInfo(args, System.in, System.out, System.err); |
| | | |
| | | if (errorLogPublisher != null) { |
| | | ErrorLogger.getInstance().removeLogPublisher(errorLogPublisher); |
| | | } |
| | | |
| | | if (retCode != 0) { |
| | | System.exit(filterExitCode(retCode)); |
| | | } |