code: private static void setupLibertyServer() throws Exception {
          /*
           * Add LDAP variables to bootstrap properties file
           */
          LDAPUtils.addLDAPVariables(libertyServer);
          Log.info(c, "setUp", "Starting the server... (will wait for userRegistry servlet to start)");
          libertyServer.copyFileToLibertyInstallRoot("lib/features", "internalfeatures/securitylibertyinternals-1.0.mf");
          libertyServer.addInstalledAppForValidation("userRegistry");
          libertyServer.startServer(c.getName() + ".log");
  
          /*
           * Make sure the application has come up before proceeding
           */
          assertNotNull("Application userRegistry does not appear to have started.",
                        libertyServer.waitForStringInLog("CWWKZ0001I:.*userRegistry"));
          assertNotNull("Security service did not report it was ready",
                        libertyServer.waitForStringInLog("CWWKS0008I"));
          assertNotNull("Server did not came up",
                        libertyServer.waitForStringInLog("CWWKF0011I"));
  
          Log.info(c, "setUp", "Creating servlet connection the server");
          servlet = new UserRegistryServletConnection(libertyServer.getHostname(), libertyServer.getHttpDefaultPort());
  
          if (servlet.getRealm() == null) {
              Thread.sleep(5000);
              servlet.getRealm();
          }
  
          /*
           * The original server configuration has no registry or Federated Repository configuration.
           */
          emptyConfiguration = libertyServer.getServerConfiguration();
      }
docs: Setup the Liberty server. This server will start with very basic configuration. The tests
  will configure the server dynamically.
  
  @throws Exception If there was an issue setting up the Liberty server.