Centroid displayed an excellent combination of strategic forethought, leveraging technology and...
Birken Olsen, CEO
The BCE Group

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:

  1. Bring down Apache with adapcctl.sh in $INST_TOP/admin/scripts
  2. [appldemo@demoR12 ~]$ $INST_TOP/admin/scripts/adapcctl.sh stop
  3. Clear the cache directory by renaming it and recreating it.
  4. [appldemo@demoR12 ~]$ mv $COMMON_TOP/_pages $COMMON_TOP/_pages_07DEC09
    [appldemo@demoR12 ~]$ mkdir $COMMON_TOP/_pages
  5. Start ojspCompile with the parameters –flush –compile -p [number of parallel processes]
  6. [appldemo@demoR12 ~]$ $FND_TOP/patch/115/bin/ojspCompile.pl –flush –compile -p 8
  7. Confirm the process completes successfully
  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!
  9. Almost Done! – Just Restart Apache!
  10. [appldemo@demoR12 ~]$ $INST_TOP/admin/scripts/adapcctl.sh start

Leave a Reply

You must be logged in to post a comment.