AEM Forms installation stuck at data source configuration after remote session interruption

This article explains how to resolve an issue where the AEM Forms installation process becomes stuck at the application server data source configuration step following a remote session or network interruption.

Description description

Environment

  • Adobe Experience Manager (AEM) Forms JEE
  • JBoss EAP application server
  • External database

Symptoms

  • Installation process is interrupted due to network or remote session failure.
  • When resuming or rerunning the installation using Configuration Manager, the process becomes stuck at the Application Server Configuration step, specifically during data source configuration.
  • Errors related to the Elytron credential store or missing uninstaller files appear.
  • Manual attempts to stop and restart services or rerun the Configuration Manager don’t resolve the issue.
  • Logs show the process stuck at Configuring Datasource and errors related to credential store or database connectivity.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Stop all related services: Ensure that both the AEM Forms Configuration Manager and the JBoss application server are stopped.

  2. Preserve the current state: Back up the installation directory and logs. Create a backup or snapshot of the system, if possible.

  3. Verify environment details: Confirm the versions of AEM Forms, JBoss EAP, and your external database. Ensure the correct JDBC driver for your database is present.

  4. Reconfigure the Elytron credential store:

    • Use the credential store password set during the initial installation. This password is required to access and update the credential store.

    • Run the Elytron credential store configuration script provided with AEM Forms to add the external database credentials. When prompted, enter the name of the configuration XML file used by JBoss (found in the JBoss configuration directory).

    • Ensure the external database is created and accessible from the AEM Forms server and that the JDBC driver is correctly installed.

  5. Restart and retry installation: Start the JBoss application server, then rerun the Configuration Manager. Monitor progress at the data source configuration step.

  6. If the issue persists: Collect the JBoss server.log and Configuration Manager progress log, confirm your AEM Forms and JBoss EAP versions, and verify database connectivity. Provide these details to Adobe Support for further assistance.

To verify resolution, confirm that the Configuration Manager completes the data source configuration step and proceeds to the next stages of installation without errors.

recommendation-more-help
experience-cloud-kcs-help-kbarticles