![]() Operating systems: i5/OS, Linux,Windows |
After WebSphere Portal Express is configured to work with your database, test the database connection to ensure that it operates correctly.
Note: Do not run the test connection in the IBM® WebSphere® Application Server Administrative Console. You can verify the connection from a browser or from a command line.To verify that WebSphere Portal Express is running from a browser, open the portal in a Web browser: http://hostname.yourco.com:port_number/wps/portal, where hostname.yourco.com is the fully qualified host name of the machine where WebSphere Portal Express is running and port_number is the transport port that is created by IBM WebSphere Application Server.
There may be an error if any of the following conditions appear.Verify the connection from a command line by completing the following steps:
where profile_root is the name of your WebSphere Application Server profile, schema_name is the name of your database schema, and password is the database administrator password.
For security reasons, you should not leave passwords in the wkplc_comp.properties file. Edit the file prior to running a configuration task and insert the passwords that are needed for that task. After the task has run, delete all passwords from the file.
Alternatively, you can specify the password on the command line rather than update the wkplc_comp.properties file. For example: ConfigEngine.sh -profileName profile_root -DPortalAdminPwd=password validate-wps-admin-login
When installing WebSphere Portal Express, the passwords in the wkplc_comp.properties file are automatically removed after configuration.
Parent topic: Configure WebSphere Portal to use a remote database