Steps to enable Trace logging in Ambari server for Oracle Database.
Step1:
1. Download ojdbc6_g.jar from Oracle JDBC driver trace jar and copy to /usr/share/java and make sure to have correct permissions.
Note: take out the actual ojdbc.jar from the location.