ojspCompile.pl – a Functional Consultants unlikely friend.
Posted by: Stephen Manning on January 30th, 2010 at 5:16 pm
Often, in Oracle E-Business Suite Release 12 (R12) during an implementation or after patching, the pre-compiled jsp’s need to be recompiled because you aren’t seeing the change you expect. You can selectively recompile jsp’s using this program, but I like to just blow away everything and start fresh. Support documentation states “AD utilities to perform this action, for example after patches are applied which replaced 1 or more JSP pages” but I frequently have to use this tool manually after patching to see the expected results.
This is my go-to first step after patching or configuration changes that aren’t giving me what I expect.
My process is as follows:
- Bring down Apache with adapcctl.sh in $INST_TOP/admin/scripts
- Clear the cache directory by renaming it and recreating it.
- Start ojspCompile with the parameters –flush –compile -p [number of parallel processes]
- Confirm the process completes successfully
- Almost Done! – Just Restart Apache!
| [appldemo@demoR12 ~]$ $INST_TOP/admin/scripts/adapcctl.sh stop |
| [appldemo@demoR12 ~]$ mv $COMMON_TOP/_pages $COMMON_TOP/_pages_07DEC09 [appldemo@demoR12 ~]$ mkdir $COMMON_TOP/_pages |
| [appldemo@demoR12 ~]$ $FND_TOP/patch/115/bin/ojspCompile.pl –flush –compile -p 8 |
| starting…(compiling all) using 10i internal ojsp ver: 10 synchronizing dependency file: loading deplist…7983 enumerating jsps…7983 updating dependency…0 initializing compilation: eliminating children…5894 (-2089) translating and compiling: translating jsps…5894/5894 in 10m29s compiling jsps…5894/5894 in 44m27s Finished! |
| [appldemo@demoR12 ~]$ $INST_TOP/admin/scripts/adapcctl.sh start |
Leave a Reply
You must be logged in to post a comment.











