Troubleshooting: Database connectivity
You can encounter database connectivity issues when you are creating instances, applying maintenance, or running many WebSphere Commerce utilities. You can use the database connection validation utility to determine whether any configured database parameters that are required to establish a database connection are invalid.
The database connection validation utility logs and validates the system and database connections for a utility and includes the information within the log files for the utility. The validation utility completes the connection validation before the utility that is being run completes the actual database operations, such as data load operations or schema changes. If the validation utility encounters problems during a database process, the utility provides information to help you troubleshoot the problem, such as identifying whether a parameter or connection is invalid. If you encounter errors while you are creating instances, applying fix packs, enabling features, or running WebSphere Commerce utilities, review the validation results within the log file for the utility or process to identify any incorrect database parameters. If you encounter any incorrect parameters, edit the configuration files for the utility or process to specify the correct parameter.
- In a command-line utility, go to the following directory:
- WC_installdir/bin
- WC_installdir\bin
- WCDE_installdir\bin
- Run the wcsDbValidation command:
- wcsDbValidation.sh -instanceName instance_name
- wcsDbValidation.bat -instanceName instance_name
- wcsDbValidation.bat
- WC_installdir/instances/instance_name/logs
- WC_installdir\instances\instance_name\logs
- WCDE_installdir\logs