Tag: trace

  • How to Debug OAF page Errors (or) How to generate logs for tracing OAF page Errors

    Steps to Debug OAF page Errors (or) How to generate logs for tracing OAF page Errors. Step:1 You can see the log by using the below code in the Controller Syntax: pageContext.writeDiagnostics(Object,String,int); Example: pageContext.writeDiagnostics(this,”Enter into CO:=”+assnum,OAFwkConstants.STATEMENT); For bc4j objects(AM, View Object Impl ,Entity Object Impl) use the below code as Syntax: getOADBTransaction().writeDiagnostics(Object,String,int); Example: getOADBTransaction().writeDiagnostics(this,”customerid in…

  • Enable Trace for a concurrent program

    The main use of enabling trace for a concurrent program comes during performance tuning. By examining a trace file, we come to know which query/queries is/are taking the longest time to execute, there by letting us to concentrate on tuning them in order to improve the overall performance of the program. The following is an…