Resolving Oracle Server Issues
When utilizing the DaDesktop (DD) environment, the majority of applications function perfectly within a Fresh Start machine. However, a small number of applications may encounter operational issues due to the cloning process and require additional configuration steps to ensure stability and expected performance.
System Context
-
Oracle Database 19c (Note: other versions may display similar behavior)
- Deployed using the Windows 10 template
Fresh Start Correction Guidelines
-
Please note that this guide offers a general approach to resolving issues with this application in a Fresh Start environment. Specific steps may vary based on your precise configuration setup.
-
Overview - The following corrections are applied within the Fresh Start environment. While the original machine hostname is used initially, it becomes invalid upon cloning to different machines. Consequently, we replace the original hostname with the loopback address 127.0.0.1 (localhost). Furthermore, extra database Listeners that may cause configuration conflicts should be removed, as demonstrated below.
Correction Procedure
1. The image below illustrates a network connection failure when accessing the database via the Oracle SQL Developer application.

2. Initiate the Oracle Net Manager application.
The service details for XE are displayed, including the original host information (in this instance, alexei-uuae.vm).

3. The connection test will fail when entering the userid 'system' and the corresponding password.

4. In Oracle Net Manager, navigate to Listening Locations and then to Listener. You will observe the original hostname 'alexei-uue.vm' in the host details, which requires modification.

5. Verify that no databases are configured for LISTENER1. Inspect any Listeners that lack assigned database services; if found, proceed to delete that Listener.

6. Proceed to delete LISTENER1 and confirm the action. Note that this is an illustrative example based on a specific setup and may not apply universally, but it serves as a clear reference for the process.

7. For the DEFAULT SERVER LISTENER, examine each Listener individually. In this scenario, no listening location is available.

8. Consequently, remove the DEFAULT SERVER LISTENER.

9. With LISTENER being the remaining entry, you will see the existing VM hostname. This value needs to be updated as it will change during the cloning process.

10. Modify the host entry from the displayed value (e.g., 'alexi.uuae.vm') to 127.0.0.1, while keeping the port number unchanged.

Next, configure the existing database.
11. Update the SID to XE and set the Global Database Name to xe.local.

12. Save the Network configuration and close the application.
13. Open a Command prompt to restart the listener service.
Execute 'lsnrctl status', followed by 'lsnrctl stop'.
Then execute 'lsnrctl start'.

Re-launch Oracle Net Manager.
14. Remove 'alexei-vm' from the Service Naming > xe section.
15. Update the host to 127.0.0.1.

16. Save the Network connection.
17. Perform a Connection Test. Click the small button shown in the image below to initiate the test.

18. Update login credentials. Set the username to 'system' and enter the appropriate password.

Save the network connection if necessary.
19. Return to the main Oracle SQL Developer application. Run the Connection Test again.

20. Upon successful connection, navigate to the Connections panel on the left side of the screen. Expand the Oracle Connections node to verify that database tables are displayed as expected.
21. Proceed with the required Fresh Start machine configuration and clone the Fresh Start images to Trainer and Participant machines.
The Oracle Database server should now operate correctly on both Trainer and Participant machines.
Should you continue to experience issues, please reach out to DaDesktop Support via the chat application, and we will be glad to assist you.