How to generate the XML Debug Logs (Output Post Processor) for 'Payment Register'.
1. Create the temp directory in $XDO_TOP
On the applications tier move to $XDO_TOP
- create a temp directory - mkdir temp
- set the permissions - chmod 777 temp
- Use pwd and copy this directory location - it will be used in step 2
[applmgr@hostname ~]$ cd $XDO_TOP
[applmgr@hostname 12.0.0]$ mkdir temp
2. Create the Debug Config file
On the Applications Tier - change to $OA_JRE_TOP/bin - cd $OA_JRE_TOP/bin
- Execute this command - ./java -verbose | grep jre | grep 'java.lang.Runtime '
-In the results - the complete path is present showing where the rt.jar resides
- change to this directory - this is where the xdedebug.cfg should be created
- Use vi to create a new file called xdodebug.cfg
Enter these two lines:
LogLevel=STATEMENT
LogDir=complete_path_to_$XDO_TOP/temp directory you created
[applmgr@hostname 12.0.0]$ cd $OA_JRE_TOP/bin
[applmgr@hostname bin]$ ./java -verbose | grep jre | grep 'java.lang.Runtime '
[Loaded java.lang.Runtime from /app/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar]
[applmgr@hostname bin]$ cd /app/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/
[applmgr@hostname lib]$ vi xdodebug.cfg
[applmgr@hostname lib]$ vi xdodebug.cfg
[applmgr@hostname lib]$ cat xdodebug.cfg
LogLevel=STATEMENT
LogDir=/app/apps/apps_st/appl/xdo/12.0.0/temp
[applmgr@hostname lib]$
3. Restart the Middle tier
cd $INST_TOP/admin/scripts
./adstopall.sh apps/apps
./adstrtall.sh apps/apps
4. Engage PO Output for Communication - using standard style sheet
Purchasing - Reports/Run
- Pass in the parameters to print the purchase order
- Leave the Debug parameter as the default
- Submit the request
5. Retrieve the logs
Move to $XDO_TOP/temp
- Here there are files crearted, please collect these and put into a zip file.
1. Create the temp directory in $XDO_TOP
On the applications tier move to $XDO_TOP
- create a temp directory - mkdir temp
- set the permissions - chmod 777 temp
- Use pwd and copy this directory location - it will be used in step 2
[applmgr@hostname ~]$ cd $XDO_TOP
[applmgr@hostname 12.0.0]$ mkdir temp
2. Create the Debug Config file
On the Applications Tier - change to $OA_JRE_TOP/bin - cd $OA_JRE_TOP/bin
- Execute this command - ./java -verbose | grep jre | grep 'java.lang.Runtime '
-In the results - the complete path is present showing where the rt.jar resides
- change to this directory - this is where the xdedebug.cfg should be created
- Use vi to create a new file called xdodebug.cfg
Enter these two lines:
LogLevel=STATEMENT
LogDir=complete_path_to_$XDO_TOP/temp directory you created
[applmgr@hostname 12.0.0]$ cd $OA_JRE_TOP/bin
[applmgr@hostname bin]$ ./java -verbose | grep jre | grep 'java.lang.Runtime '
[Loaded java.lang.Runtime from /app/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar]
[applmgr@hostname bin]$ cd /app/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/
[applmgr@hostname lib]$ vi xdodebug.cfg
[applmgr@hostname lib]$ vi xdodebug.cfg
[applmgr@hostname lib]$ cat xdodebug.cfg
LogLevel=STATEMENT
LogDir=/app/apps/apps_st/appl/xdo/12.0.0/temp
[applmgr@hostname lib]$
3. Restart the Middle tier
cd $INST_TOP/admin/scripts
./adstopall.sh apps/apps
./adstrtall.sh apps/apps
4. Engage PO Output for Communication - using standard style sheet
Purchasing - Reports/Run
- Pass in the parameters to print the purchase order
- Leave the Debug parameter as the default
- Submit the request
5. Retrieve the logs
Move to $XDO_TOP/temp
- Here there are files crearted, please collect these and put into a zip file.
No comments:
Post a Comment