Resolving Oracle Server Issues

When utilizing DaDesktop (DD) on a Fresh Start machine, the majority of applications operate without interruption. However, certain applications may experience compatibility issues due to the cloning process, requiring additional configuration steps to ensure optimal performance.

System Specifications

  • Oracle Database 19c (note that similar issues may arise with other versions)

  • Deployed via a Windows 10 template

 

Fresh Start Remediation Notes

  1. This guide provides a general framework for troubleshooting this application within the Fresh Start environment. Keep in mind that specific steps may vary based on your particular configuration.

  2. Overview - The following procedure addresses common Fresh Start issues. Since the hostname of the Fresh Start machine is no longer relevant after cloning (as the new machine will have a different name), we replace the original hostname with 127.0.0.1 (localhost). Additionally, redundant database Listeners can cause configuration conflicts; therefore, they should be removed as demonstrated below.

     

Remediation Procedure

1. The image below illustrates a network connection failure when attempting to connect via the Oracle SQL Developer application.

Failure Test

2. Open the Oracle Net Manager application.

The xe service details are visible, displaying the original host information (in this instance, alexei-uuae.vm).

Oracle Net Manager

3. The connection test fails when entering the userid as 'system' and the corresponding password.

Connection test fails

4. In Oracle Net Manager, navigate to Listening Locations and select the Listener. The host details display the original hostname 'alexei-uue.vm', which requires modification.

Incorrect host details

5. Observe that no databases are configured for LISTENER1. Check for any Listeners that lack associated database services; if found, remove those Listeners.

Listeners

6. Proceed to delete LISTENER1 and confirm the action. Note: This is an example based on our specific setup and may not apply in all cases, but it serves as a useful reference.

Delete Listener

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

Default Listener

8. Consequently, delete the DEFAULT SERVER LISTENER.

Delete Listener

9. With only LISTENER remaining, observe the existing VM hostname, which must be changed to accommodate the cloning process.

Fix Network

10. Update the host from 'alexi.uuae.vm' (as shown in our case) to 127.0.0.1, keeping the port unchanged.

Chnage Network

Next, configure the existing database 

11. Set the SID to XE and the Global Database Name to xe.local 

Change details of SID and global db name

12. Save the network configuration and close the application.

13. Open a Command Prompt to restart the listener service.

Enter ‘lsnrctl status’, followed by 'lsnrctl stop'

Then enter 'lsnrctl start'

Cmd prompt

Reopen Oracle Net Manager.

14. Remove alexei-vm from the Service-naming -> xe section.

15. Change the host to 127.0.0.1 

change host to 127.0.0.1

16. Save the network connection.

17. Perform a Connection Test. Click the small button indicated in the image below to initiate the test.

Click to test

18. Update the login credentials. Change the username to ‘system’ and enter the password.

Connection test succesful

Save the network connection if necessary.

19. Return to the main Oracle SQL Developer application and run the Connection Test again.

Oracle app

20. Assuming a successful connection, navigate to the Connections panel on the left, expand Oracle Connections, and verify that the database tables are displayed as expected.

21. Proceed with configuring the FreshStart machine as needed, then clone it to the Trainer and Participant machines.

The Oracle Database server should now function correctly on both Trainer and Participant machines.

If issues persist, please reach out to DaDesktop Support via the chat application, and we will be glad to assist you.