Oracle Server troubleshooting and solutions
The majority of applications function seamlessly when set up on a Fresh Start machine using DaDesktop (DD). However, a few specific applications may encounter issues due to the cloning process, requiring additional steps to ensure they operate as intended.
System Specifications
-
Oracle Database 19c (note that other versions may exhibit similar behavior)
- Deployed using a Windows 10 template
Fresh Start Correction Notes
-
Please note that this serves as a general guide for resolving this application's issues within a Fresh Start environment. Specific steps may vary depending on your precise configuration setup.
-
Overview - The following fixes should be applied to the Fresh Start environment. While the Fresh Start machine uses a specific hostname, this name becomes irrelevant once the machine is cloned to a different host. Therefore, we replace the original hostname with the localhost address 127.0.0.1. Furthermore, any redundant database Listeners that may complicate the configuration should be removed, as demonstrated in the steps below.
Correction Procedure
1. The image below illustrates a database connection failure encountered when using the Oracle SQL Developer application.

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

3. The connection test fails (after entering userid=system and the password).

4. In Oracle Net Manager, under Listening Locations and Listener, you will see host details displaying the original hostname 'alexei-uue.vm'. This value needs to be changed.

5. Observe that no databases are currently configured for LISTENER1. Identify any Listeners that lack configured database services and delete them.

6. Delete LISTENER1 and confirm the action. Note that this specific step reflects our setup example and may not apply to all scenarios, but it is shown here for illustrative purposes.

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

8. Consequently, DELETE the DEFAULT SERVER LISTENER.

9. On the remaining LISTENER entry, you will see the existing VM hostname. This needs to be modified, as it will change during the cloning process.

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

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

12. Save the Network configuration and close the application.
13. Open the Command prompt to restart the listener service.
Execute 'lsnrctl status', then type 'lsnrctl stop'
Finally, type 'lsnrctl start'

Launch Oracle Net Manager once again.
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 the login credentials. Change the username to 'system' and enter the password used.

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

20. Assuming the connection is successful, navigate to the Connections panel on the left, expand Oracle Connections, and verify that the database tables are displayed as expected.
21. Proceed with the Fresh Start machine configuration as needed and clone the Fresh Start machines to the Trainer and Participant machines.
The Oracle Database server should now function correctly on the Trainers' and Participants' machines.
If you continue to experience issues, please reach out to DaDesktop Support via the chat app, and we will be pleased to assist you.