mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
05.28.2007 11dbb6598b00c6ef4b5e48ae85210ced425826a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License, Version 1.0 only
 * (the "License").  You may not use this file except in compliance
 * with the License.
 *
 * You can obtain a copy of the license at
 * trunk/opends/resource/legal-notices/OpenDS.LICENSE
 * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
 * See the License for the specific language governing permissions
 * and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file at
 * trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
 * add the following below this CDDL HEADER, with the fields enclosed
 * by brackets "[]" replaced with your own identifying information:
 *      Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 *
 *
 *      Portions Copyright 2007 Sun Microsystems, Inc.
 */
package org.opends.server.messages;
 
 
 
import static org.opends.server.messages.MessageHandler.*;
 
 
 
/**
 * This class defines the set of message IDs and default format strings for
 * messages associated with the server-side administration framework.
 * <p>
 * FIXME: At the moment these error messages are just temporary and will be
 * replaced in time with more specific detailed messages.
 */
public final class AdminMessages {
 
  /**
   * The message ID for the message that will be used if a problem occurs while
   * trying to get the base entry for a configuration listener. This takes two
   * arguments: the DN of the base entry, and a string representation of the
   * exception that was caught.
   */
  public static final int MSGID_ADMIN_CANNOT_GET_LISTENER_BASE =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 1;
 
  /**
   * The message ID for the message that will be used if the base entry for a
   * configuration listener does not exist in the server. This takes a single
   * argument, which is the DN of the configuration entry.
   */
  public static final int MSGID_ADMIN_LISTENER_BASE_DOES_NOT_EXIST =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 2;
 
  /**
   * The message ID for the message that will be used if a problem occurs while
   * trying to get the configuration entry associated with a managed object.
   * This takes two arguments: the DN of the configuration entry, and a string
   * representation of the exception that was caught.
   */
  public static final int MSGID_ADMIN_CANNOT_GET_MANAGED_OBJECT =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 3;
 
  /**
   * The message ID for the message that will be used if the configuration entry
   * associated with a managed object does not exist in the server. This takes a
   * single argument, which is the DN of the configuration entry.
   */
  public static final int MSGID_ADMIN_MANAGED_OBJECT_DOES_NOT_EXIST =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 4;
 
  /**
   * The message ID for the message that will be used if a managed cannot be
   * successfully decoded from its associated configuration entry. This takes
   * two arguments: the DN of the configuration entry, and a string
   * representation of the exception that was caught.
   */
  public static final int MSGID_ADMIN_MANAGED_OBJECT_DECODING_PROBLEM =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 5;
 
  /**
   * The message ID for the message that will be used if an error occurs while
   * attempting to load and instantiate a configuration object. This takes three
   * arguments, which are the name of the class, the DN of the configuration
   * entry, and a string representation of the exception that was caught.
   */
  public static final int MSGID_ADMIN_CANNOT_INSTANTIATE_CLASS =
       CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 6;
 
  /**
   * The message ID for the message that will be used if an error occurs while
   * attempting to initialize a configuration object. This takes three
   * arguments, which are the name of the class, the DN of the configuration
   * entry, and a string representation of the exception that was caught.
   */
  public static final int MSGID_ADMIN_CANNOT_INITIALIZE_COMPONENT =
       CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 7;
 
  /**
   * The message ID for the message that will be used if a component
   * has been explicitly disabled.  This takes a single argument,
   * which is the DN of the configuration entry.
   */
  public static final int MSGID_ADMIN_COMPONENT_DISABLED =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_MILD_WARNING | 8;
 
  /**
   * The message ID for the message that will be used if an error
   * occurs while trying to open a file for reading. This takes three
   * arguments, which are the name of the jar file, the path to the
   * jar directory, and a string representation of the exception that
   * was caught.
   */
  public static final int MSGID_ADMIN_CANNOT_OPEN_JAR_FILE =
       CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 9;
 
  /**
   * The message ID for the message that will be used if an error
   * occurs while trying to load a core administration configuration
   * definition class. This takes two arguments, which are the name of
   * the manifest file, and a string representation of the exception
   * that was caught.
   */
  public static final int MSGID_ADMIN_CANNOT_LOAD_CLASS_FROM_CORE_MANIFEST =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 10;
 
  /**
   * The message ID for the message that will be used if an error
   * occurs while trying to load a administration configuration
   * definition class from an extension. This takes three arguments,
   * which are the name of the manifest file, the name of the
   * extension jar file, and a string representation of the exception
   * that was caught.
   */
  public static final int
      MSGID_ADMIN_CANNOT_LOAD_CLASS_FROM_EXTENSION_MANIFEST =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 11;
 
  /**
   * The message ID for the message that will be used if the
   * extensions directory does not exist. This takes a single
   * argument, which is the path to the extensions directory.
   */
  public static final int MSGID_ADMIN_NO_EXTENSIONS_DIR =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_MILD_ERROR | 12;
 
  /**
   * The message ID for the message that will be used if the
   * extensions directory is not a directory. This takes a single
   * argument, which is the path to the extensions directory.
   */
  public static final int MSGID_ADMIN_EXTENSIONS_DIR_NOT_DIRECTORY =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 13;
 
  /**
   * The message ID for the message that will be used if an error
   * occurs while trying to list the files in the extensions
   * directory. This takes two arguments, which are the path to the
   * extensions directory and a string representation of the exception
   * that was caught.
   */
  public static final int MSGID_ADMIN_EXTENSIONS_CANNOT_LIST_FILES =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 14;
 
  /**
   * The message ID for the message that will be used if the core
   * administration configuration definition manifest file cannot be
   * located. This takes a single argument, which is the name of the
   * manifest file.
   */
  public static final int MSGID_ADMIN_CANNOT_FIND_CORE_MANIFEST =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 15;
 
  /**
   * The message ID for the message that will be used if the core
   * administration configuration definition manifest file cannot be
   * read. This takes two arguments, which are the name of the
   * manifest file and a string representation of the exception that
   * was caught.
   */
  public static final int MSGID_ADMIN_CANNOT_READ_CORE_MANIFEST =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 16;
 
  /**
   * The message ID for the message that will be used if the
   * administration configuration definition manifest file contained
   * in a extension cannot be read. This takes three arguments, which
   * are the name of the manifest file, the name of the extension jar
   * file, and a string representation of the exception that was
   * caught.
   */
  public static final int MSGID_ADMIN_CANNOT_READ_EXTENSION_MANIFEST =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 17;
 
  /**
   * The message ID for the message that will be used as the description for the
   * dsservice tool.  This does not take any arguments.
   */
  public static final int MSGID_ADMIN_TOOL_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 18;
 
  /**
   * The message ID for the message that will be used as the description for the
   * create-group subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_CREATE_GROUP_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 19;
 
 
  /**
   * The message ID for the message that will be used as the description of the
   * "description" argument.  This does take one argument.
   */
  public static final int MSGID_ADMIN_ARG_DESCRIPTION_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 20;
 
  /**
   * The message ID for the message that will be used as the description for the
   * modify-group subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_MODIFY_GROUP_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 21;
 
  /**
   * The message ID for the message that will be used as the description of the
   * new "description" argument.  This does not take any arguments.
   */
  public static final int MSGID_ADMIN_ARG_NEW_DESCRIPTION_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 22;
 
 
  /**
   * The message ID for the message that will be used as the description of the
   * new "groupid" argument.  This does not take any arguments.
   */
  public static final int MSGID_ADMIN_ARG_NEW_GROUPID_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 23;
 
  /**
   * The message ID for the message that will be used as the description for the
   * delete-group subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_DELETE_GROUP_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 24;
 
  /**
   * The message ID for the message that will be used as the description for the
   * list-groups subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_LIST_GROUPS_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 25;
 
  /**
   * The message ID for the message that will be used as the description for the
   * add-to-group subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_ADD_TO_GROUP_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 26;
 
  /**
   * The message ID for the message that will be used as the description of the
   * added "member-id" argument.  This does not take any arguments.
   */
  public static final int MSGID_ADMIN_ARG_ADD_MEMBERID_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 27;
 
  /**
   * The message ID for the message that will be used as the description for the
   * remove-from-group subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_REMOVE_FROM_GROUP_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 28;
 
  /**
   * The message ID for the message that will be used as the description of the
   * removed "member-id" argument.  This does not take any arguments.
   */
  public static final int MSGID_ADMIN_ARG_REMOVE_MEMBERID_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 29;
 
  /**
   * The message ID for the message that will be used as the description for the
   * list-members subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_LIST_MEMBERS_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 30;
 
  /**
   * The message ID for the message that will be used as the description for the
   * list-members subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_LIST_MEMBERSHIP_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 31;
 
  /**
   * The message ID for the message that will be used if the
   * client CLI cannot contact the ADS. This does one take argument.
   */
  public static final int MSGID_ADMIN_CANNOT_CONNECT_TO_ADS =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 32;
 
  /**
   * The message ID for the message that will be used as the description for the
   * create-ads subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_CREATE_ADS_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 33;
 
  /**
   * The message ID for the message that will be used as the description for the
   * delete-ads subcommand part of dsservice tool.
   * This does not take any arguments.
   */
  public static final int MSGID_ADMIN_SUBCMD_DELETE_ADS_DESCRIPTION =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 34;
 
  /**
   * The message ID for the message that will be used if the hostname of
   * the ADS is missing.
   */
  public static final int MSGID_ADMIN_MISSING_HOSTNAME=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 35;
 
  /**
   * The message ID for the message that will be used if the hostname of
   * the ADS is not valid.
   */
  public static final int MSGID_ADMIN_NOVALID_HOSTNAME=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 36;
 
  /**
   * The message ID for the message that will be used if the ipath of
   * the ADS is missing.
   */
  public static final int MSGID_ADMIN_MISSING_IPATH=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 37;
 
  /**
   * The message ID for the message that will be used if the ipath of
   * the ADS is not valid.
   */
  public static final int MSGID_ADMIN_NOVALID_IPATH=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 38;
 
  /**
   * The message ID for the message that will be used if we have an
   * access permission error.
   */
  public static final int MSGID_ADMIN_ACCESS_PERMISSION=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 39;
 
  /**
   * The message ID for the message that will be used if the element is
   * already registered in the ADS.
   */
  public static final int MSGID_ADMIN_ALREADY_REGISTERED=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 40;
 
  /**
   * The message ID for the message that will be used if the ADS is
   * bot valid.
   */
  public static final int MSGID_ADMIN_BROKEN_INSTALL=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 41;
 
  /**
   * The message ID for the message that will be used if ADS is not
   * defined in the instance and if we try to perform an admin operation.
   */
  public static final int MSGID_ADMIN_NOT_YET_REGISTERED=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 42;
 
  /**
   * The message ID for the message that will be used if the port of
   * the ADS is missing.
   */
  public static final int MSGID_ADMIN_MISSING_PORT=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 43;
 
  /**
   * The message ID for the message that will be used if the port of
   * the ADS is not valid.
   */
  public static final int MSGID_ADMIN_NOVALID_PORT=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 44;
 
  /**
   * The message ID for the message that will be used if the name of
   * an element is missing.
   */
  public static final int MSGID_ADMIN_MISSING_NAME=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 45;
 
  /**
   * The message ID for the message that will be used if the admin uid name
   * is missing.
   */
  public static final int MSGID_ADMIN_MISSING_ADMIN_UID=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 46;
 
  /**
   * The message ID for the message that will be used if the admin password
   * is missing.
   */
  public static final int MSGID_ADMIN_MISSING_ADMIN_PASSWORD=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 47;
 
  /**
   * The message ID for the message that will be used if an unexpected error
   * occurs.
   */
  public static final int MSGID_ADMIN_ERROR_UNEXPECTED=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 48;
 
  /**
   * The message ID for the message that will be used to indicate that the
   * message is an error message.
   */
  public static final int MSGID_ADMIN_ERROR=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 49;
 
  /**
   * The message ID for the message that will be used to indicate that the
   * operation is successful.
   */
  public static final int MSGID_ADMIN_SUCCESSFUL=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 50;
 
  /**
   * The message ID for the message that will be used to indicate that the
   * operation is successful, but nothing was performed.
   */
  public static final int MSGID_ADMIN_SUCCESSFUL_NOP=
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 51;
 
  /**
   * The message ID which indicate that no message is required.
   */
  public static final int MSGID_ADMIN_NO_MESSAGE =
    CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 52;
 
 
 
  // Prevent instantiation.
  private AdminMessages() {
    // Do nothing.
  }
 
 
 
  /**
   * Associates a set of generic messages with the message IDs defined in this
   * class.
   */
  public static void registerMessages() {
    registerMessage(MSGID_ADMIN_CANNOT_GET_LISTENER_BASE,
        "An error occurred while trying to "
            + "retrieve relation configuration entry %s: %s");
 
    registerMessage(MSGID_ADMIN_LISTENER_BASE_DOES_NOT_EXIST,
        "The relation entry %s does not appear to exist in the "
            + "Directory Server configuration. This is a required entry");
 
    registerMessage(MSGID_ADMIN_CANNOT_GET_MANAGED_OBJECT,
        "An error occurred while trying to "
            + "retrieve the managed object configuration entry %s: %s");
 
    registerMessage(MSGID_ADMIN_MANAGED_OBJECT_DOES_NOT_EXIST,
        "The managed object configuration entry %s does not "
            + "appear to exist in the Directory Server "
            + "configuration. This is a required entry");
 
    registerMessage(MSGID_ADMIN_MANAGED_OBJECT_DECODING_PROBLEM,
        "An error occurred while trying to "
            + "decode the managed object configuration entry %s: %s");
 
    registerMessage(MSGID_ADMIN_CANNOT_INSTANTIATE_CLASS,
        "The Directory Server was unable to load class %s and "
            + "use it to create a component instance as "
            + "defined in configuration entry %s.  The error that "
            + "occurred was:  %s.  This component will be " + "disabled");
 
    registerMessage(MSGID_ADMIN_CANNOT_INITIALIZE_COMPONENT,
        "An error occurred while trying to initialize a " +
        "component instance loaded from class %s with the " +
        "information in configuration entry %s:  %s.  This " +
        "component will be disabled");
 
    registerMessage(MSGID_ADMIN_COMPONENT_DISABLED,
        "The Directory Server component configured in " +
        "entry %s has been disabled");
 
    registerMessage(MSGID_ADMIN_CANNOT_OPEN_JAR_FILE,
        "The Directory Server jar file %s in directory %s cannot be " +
        "loaded because an unexpected error occurred while " +
        "trying to open the file for reading:  %s");
 
    registerMessage(MSGID_ADMIN_NO_EXTENSIONS_DIR,
        "The extensions directory %s does not exist, therefore no " +
        "extensions will be loaded");
 
    registerMessage(MSGID_ADMIN_EXTENSIONS_DIR_NOT_DIRECTORY,
        "Unable to read the Directory Server extensions " +
        "because the extensions directory %s exists but is not a " +
        "directory");
 
    registerMessage(MSGID_ADMIN_EXTENSIONS_CANNOT_LIST_FILES,
        "Unable to read the Directory Server extensions " +
        "from directory %s because an unexpected error occurred " +
        "while trying to list the files in that directory:  %s");
 
    registerMessage(MSGID_ADMIN_CANNOT_LOAD_CLASS_FROM_CORE_MANIFEST,
        "A core configuration definition class could not be loaded " +
        "from the core manifest file %s because an unexpected error " +
        "occurred while trying to initialize it:  %s");
 
    registerMessage(MSGID_ADMIN_CANNOT_LOAD_CLASS_FROM_EXTENSION_MANIFEST,
        "A configuration definition class could not be loaded " +
        "from the extension manifest file %s in extensions %s because an " +
        "unexpected error occurred while trying to initialize it:  %s");
 
    registerMessage(MSGID_ADMIN_CANNOT_FIND_CORE_MANIFEST,
        "The core administration manifest file %s cannot be located");
 
    registerMessage(MSGID_ADMIN_CANNOT_READ_CORE_MANIFEST,
        "The core administration manifest file %s cannot be " +
        "loaded because an unexpected error occurred while " +
        "trying to read it:  %s");
 
    registerMessage(MSGID_ADMIN_CANNOT_READ_EXTENSION_MANIFEST,
        "The administration manifest file %s associated with the " +
        "extension %s cannot be loaded because an unexpected error " +
        "occurred while trying to read it:  %s");
 
    registerMessage(MSGID_ADMIN_TOOL_DESCRIPTION,
        "This utility may be used to perform " +
        "operations in the Directory Server administration framework");
    registerMessage(MSGID_ADMIN_SUBCMD_CREATE_GROUP_DESCRIPTION,
        "Create a new group of servers");
    registerMessage(MSGID_ADMIN_ARG_DESCRIPTION_DESCRIPTION,
        "The group description. If not specified, " +
        "the description will be empty");
    registerMessage(MSGID_ADMIN_SUBCMD_MODIFY_GROUP_DESCRIPTION,
        "Modify a group's properties");
    registerMessage(MSGID_ADMIN_ARG_NEW_DESCRIPTION_DESCRIPTION,
        "If specified, the new description");
    registerMessage(MSGID_ADMIN_ARG_NEW_GROUPID_DESCRIPTION,
        "If specified, the new group's identifier");
    registerMessage(MSGID_ADMIN_SUBCMD_DELETE_GROUP_DESCRIPTION,
        "Delete an existing group of servers" );
    registerMessage(MSGID_ADMIN_SUBCMD_LIST_GROUPS_DESCRIPTION,
        "List groups that have been defined" );
    registerMessage(MSGID_ADMIN_SUBCMD_ADD_TO_GROUP_DESCRIPTION,
        "Add a member to a group" );
    registerMessage(MSGID_ADMIN_ARG_ADD_MEMBERID_DESCRIPTION,
        "The member to add" );
    registerMessage(MSGID_ADMIN_SUBCMD_REMOVE_FROM_GROUP_DESCRIPTION,
        "Remove a member from a group" );
    registerMessage(MSGID_ADMIN_ARG_REMOVE_MEMBERID_DESCRIPTION,
        "The member to remove" );
    registerMessage(MSGID_ADMIN_SUBCMD_LIST_MEMBERS_DESCRIPTION,
        "List members of the specified group" );
    registerMessage(MSGID_ADMIN_SUBCMD_LIST_MEMBERSHIP_DESCRIPTION,
        "List groups in which the specified server is a member" );
    registerMessage(MSGID_ADMIN_CANNOT_CONNECT_TO_ADS,
        "Could not connect to %s. Check that the "+
        "server is running and that the provided credentials are valid");
    registerMessage(MSGID_ADMIN_SUBCMD_CREATE_ADS_DESCRIPTION,
        "Create a new ADS DN");
    registerMessage(MSGID_ADMIN_SUBCMD_DELETE_ADS_DESCRIPTION,
         "Delete an existing ADS DN");
    registerMessage(MSGID_ADMIN_MISSING_HOSTNAME,
        "The host name is missing");
    registerMessage(MSGID_ADMIN_NOVALID_HOSTNAME,
        "The host name is not valid");
    registerMessage(MSGID_ADMIN_MISSING_IPATH,
        "The installation path is missing");
    registerMessage(MSGID_ADMIN_NOVALID_IPATH,
        "The installation path is not valid");
    registerMessage(MSGID_ADMIN_ACCESS_PERMISSION,
        "An access permission error occurs");
    registerMessage(MSGID_ADMIN_ALREADY_REGISTERED,
        "The entity is already registered");
    registerMessage(MSGID_ADMIN_BROKEN_INSTALL,
        "The administrative repository is broken");
    registerMessage(MSGID_ADMIN_NOT_YET_REGISTERED,
        "The entity is not yet registered");
    registerMessage(MSGID_ADMIN_MISSING_PORT,
        "The port is missing");
    registerMessage(MSGID_ADMIN_NOVALID_PORT,
        "The port is not vaklid");
    registerMessage(MSGID_ADMIN_MISSING_NAME,
        "The name is missing");
    registerMessage(MSGID_ADMIN_MISSING_ADMIN_UID,
        "The administration UID is missing");
    registerMessage(MSGID_ADMIN_MISSING_ADMIN_PASSWORD,
        "The administratior password is missing");
    registerMessage(MSGID_ADMIN_ERROR_UNEXPECTED,
        "An unexpected error occurs");
    registerMessage(MSGID_ADMIN_ERROR,
        "[error] ");
    registerMessage(MSGID_ADMIN_SUCCESSFUL,
        "The operation has been successfully completed");
    registerMessage(MSGID_ADMIN_SUCCESSFUL_NOP,
       "The operation has been successfully completed, "+
       "but no action was required");
    registerMessage(MSGID_ADMIN_NO_MESSAGE,"");
  }
}