Sunday, November 20, 2011

Oracle apps R12 - Compiling JSP with custom classpath

We all know that to compile JSP manually on the Oracle Application R12 instance, we need to run the file $FND_TOP/patch/115/bin/ojspCompile.pl.

Its help is as follows:

syntax: ./ojspCompile.pl COMMAND {ARGS}
COMMAND --compile               update dependency, compile delta
        --create                rebuild entire dependency file
        -delta.out       update dependency, list delta to file
        -dep.out      update dependency, output heirarchy to file

ARGS    -s      matching condition for JSPs filenames
        -p      number of parallel compilations
        -log     to override logfile from ojspCompile.conf
You are
recommended to set the log file location
 outside of any network file system shared (NFS) area/drive.
        -conf    to override ojspCompile.conf
        --retry         retry previously failed compilation attempts
        --flush         forces recompilation of all parent JSPs
        --quiet         do not provide an actively running progress meter
        --fast          instantly fail jsps that are *possibly* invalid

example1: ojspCompile.pl --compile -s 'jtf%' -p 20 --retry
example2: ojspCompile.pl --compile -s 'jtflogin.jsp,jtfavald.jsp' --flush
example3: ojspCompile.pl --compile --fast --quiet

If your JSP uses custom classes, then compiling jsp manually can fail if proper classpath is not set. Yes, even though if you have setup the classpath correctly in orion-application.xml, it will fail because this jsp compile utility does not read orion-application.xml classpath.

So, the problem is to identify where to set the classpath so that above utility can pick it up. After several search and looking into code, I found following:

By default, the jsp compiler script uses following configuration file
$INST_TOP/appl/admin/ojspCompile.conf
This conf file has a classpath field in it which is usually pointed to file
$INST_TOP/appl/admin/ojspCompile.properties
This property file lists the classpath used for JSP compilation.

So if your classes are not listed in this file, your jsps will not compile by ojspCompile.

Ofcourse, you can always set the "main_mode" to "recompile" in orion-web.xml, but that for production you do not want to change it and compile the JSP on file deployment.

References:

  1. 458338.1  How to Enable Automatic Compilation of JSP pages in R12 Environment
  2. 433386.1  JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
  3. 783094.1  Compile jsp files at Application R12 at Windows

59 comments:

  1. Well thanks for such a fantastic updates, keep it up.

    ReplyDelete
    Replies
    1. A IEEE project is an interrelated arrangement of exercises, having a positive beginning and end point and bringing about an interesting result in Engineering Colleges for a particular asset assignment working under a triple limitation - time, cost and execution. Final Year Project Domains for CSE In Engineering Colleges, final year IEEE Project Management requires the utilization of abilities and information to arrange, plan, plan, direct, control, screen, and assess a final year project for cse. The utilization of Project Management to accomplish authoritative objectives has expanded quickly and many engineering colleges have reacted with final year IEEE projects Project Centers in Chennai for CSE to help students in learning these remarkable abilities.



      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
      Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

      Delete
  2. Thanks for sharing this informative article to our vision.
    Regards.
    Oracle Apps Training in Chennai

    ReplyDelete
  3. I am highly thankful for this post. I’ve been looking everywhere for this! Thank kindness I found it on bloging effort. You’ve made my day! Thank you again!
    sap isu billing&invoice online training
    sap isu fica online training
    sap grc online training

    ReplyDelete
  4. If your JSP uses custom classes, then compiling jsp manually can fail if proper class path is not set. Yes, even though if you have setup the class path correctly in orion-application.xml, it will fail because this jsp compile utility does not read orion-application.xml class path.If anyone interested to take Oracle Apps Functional Training in Bangalore, please reach us KBS Training located at Bangalore. Rated as best training institute in Bangalore.

    ReplyDelete
  5. Amazing records, i and allow me to assist you to apprehend, your internet website online gives the top notch and the maximum interesting data. that is virtually the form of records that i have been seeking out, i am already your reader now and i'd regularly be careful with the ultra-current posts, all over again hats off to you! thanks a ton once more, regards, oracle fusion procurement on line schooling some of the oracle fusion procurement in Hyderabad. test room education in Hyderabad India
    thank regards
    oracle fusion procurement online training
    oracle fusion procurement training

    ReplyDelete
  6. Oracle fusion Financials Training from CALFRE.COM gives you the best results to learn your dream course and maintains
    sufficient knowledge on oracle. It provides training by self-paced videos which are very helpful for the users to watch at any time according to their schedule. It is globally accepted and having many users undergoing
    training every day.



    Oracle fusion Financials Training in hyderabad

    Oracle Fusion Financials online Training in hyderabad

    ReplyDelete
  7. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.

    Oracle Fusion Financials Online Training

    ReplyDelete
  8. thank you for sharing nice information really very nice ..i am intrested for more info
    sap mm training




    ReplyDelete
  9. You've concluded that you needed to spruce up your site to make it somewhat more expert. Model car decals

    ReplyDelete
  10. An overwhelming web journal I visit this blog, it's unfathomably amazing. Unusually, in this present blog's substance made inspiration driving truth and reasonable. The substance of data is enlightening
    Oracle Fusion Financials Online Training
    Oracle Fusion HCM Online Training
    Oracle Fusion SCM Online Training

    ReplyDelete
  11. In the event that the current proprietor can't give you a conceivable clarification, that can be a sign that he might attempt to go off a lemon. Pre-Owned

    ReplyDelete
  12. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. ball cap manufacturers

    ReplyDelete
  13. If you do not have the serial key and if none of the IDM serial keys 2019 mentioned above you can try downloading IDM cracked version from a website........ idm crack

    ReplyDelete
  14. For the individuals who possess more seasoned cars, routine support is essential in maintaining a strategic distance from major car repairs. Oil Change Shops Nearby

    ReplyDelete
  15. Another of the more commonly used mens fashion accessories are sunglasses. There's a pair of glasses out there for every man. They come in so many different shades, shapes and styles these days it can be hard to choose though. click site

    ReplyDelete
  16. Most substances your jewellery is likely to come into contact with will be around 7 on Mohs scale so any gemstone with a hardness higher than 7 is unlikely to scratch. Crockery, Perfumes, Jewellery, Mobile Accessories

    ReplyDelete
  17. Mmm.. estimable to be here in your report or notify, whatever, I repute I should moreover process strong for my have website want I play some salubrious further updated busy in your location. bridal collection

    ReplyDelete
  18. We do custom patches, embroidered patches, printed patches, custom Velcro patches, clothing labels, PVC patches, custom leather patches, custom keychains, and other promotional products. Following is an overview of our products. Custom Iron On Patches

    ReplyDelete
  19. Before you settle on the vehicle model, you ought to choose whether you will follow through on the cost of the vehicle in real money or you will fund on the vehicle and pay regularly scheduled installments.GEBRAUCHTWAGEN ANKAUF DARMSTADT

    ReplyDelete
  20. Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle PPM Cloud . Actually I was looking for the same information on internet for Oracle Project Portfolio Management (PPM) Cloud Tutorial and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more aboutOracle PPM Cloud . By attending Oracle PPM Cloud Training .

    ReplyDelete
  21. The site is affectionately adjusted and spared as much as date. So it ought to be, a debt of gratitude is in order for offering this to us. website

    ReplyDelete
  22. Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. custom made iron on patches

    ReplyDelete
  23. Its going to save you a lot of time to look for cars and it will ensure that your desired car is there waiting for you. You can visit several websites for booking a car. Luxury Car Rental Miami

    ReplyDelete
  24. I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates. custom basketballs

    ReplyDelete
  25. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. Canada Visa from France

    ReplyDelete
  26. Great things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks canada visum

    ReplyDelete
  27. Incredible articles and awesome design. Your blog entry merits the greater part of the positive input it"s been getting. wholesale clothing

    ReplyDelete
  28. Advantage enterprisingly prime quality things - you can see the worth in them all inside: https://vograce.com

    ReplyDelete
  29. The great fee does now no longer constantly translate to the most inexpensive fee. If the deliver is properly managed, the control will are looking for the best first-class goods, offerings, and hard work on the very great worldwide fee. If the proprietors are disenchanted with both technical or shore control, they update them.Shipping from china

    ReplyDelete
  30. If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content. visit here

    ReplyDelete
  31. On my website you'll see similar texts, write what you think. visit this page

    ReplyDelete
  32. I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing. visit

    ReplyDelete
  33. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. click here

    ReplyDelete
  34. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. אשרת קנדה

    ReplyDelete
  35. Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. ינדיאַ וויזע אָנליין

    ReplyDelete
  36. Succeed! It could be one of the most useful blogs we have ever come across on the subject. Excellent info! I’m also an expert in this topic so I can understand your effort very well. Thanks for the huge help. Visto Indiano applicazione

    ReplyDelete
  37. It is rare to discover a professional in whom you might have some trust. In the world in the present day, nobody truly cares about showing others the answer in this matter. How blessed I am to have found a really wonderful web site as this. It really is people like you that make a genuine difference nowadays through the strategies they reveal.
    visa de negocios de canadá

    ReplyDelete
  38. thanks for this usefull article, waiting for this article like this again. custom patches online

    ReplyDelete
  39. I will really appreciate the writer's choice for choosing this excellent article appropriate to my matter.Here is deep description about the article matter which helped me more. this website

    ReplyDelete
  40. I really impressed after read this because of some quality work and informative thoughts . I just wanna say thanks for the writer and wish you all the best for coming!. visit this site

    ReplyDelete
  41. Such sites are important because they provide a large dose of useful information ... this website

    ReplyDelete
  42. On this subject internet page, you'll see my best information, be sure to look over this level of detail. read here

    ReplyDelete
  43. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. buy custom car decal

    ReplyDelete
  44. Superior post keeps up with this exceptional work✅. It's nice to know that this topic is being also covered on this web site so cheers for taking the time to discuss this! Thanks again and again!
    Construction and Development

    ReplyDelete
  45. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. excellentcustomclothing

    ReplyDelete
  46. hi was just seeing if you minded a comment. i like your website and the thme you picked is super. I will be back. read here

    ReplyDelete
  47. I am interested in such topics so I will address page where it is cool described. check this link

    ReplyDelete
  48. It is perfect time to make some plans for the future and it is time to be happy. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it! custom embroidered keychains

    ReplyDelete
  49. Acknowledges for penmanship such a worthy column, I stumbled beside your blog besides predict a handful advise. I want your tone of manuscript... custom embroidered keychains

    ReplyDelete
  50. Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’r wait to read more posts. custom hook and loop patches

    ReplyDelete
  51. Very interesting information, worth recommending. However, I recommend this: visit here

    ReplyDelete
  52. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. mc patch makers

    ReplyDelete
  53. attractive, notice. I simply stumbled upon your blog and wanted to proclaim that i've appreciated browsing your weblog posts. After every one in all proportion of share of, i can really subscribe to your feed, and that i goal you may write once more quickly! website

    ReplyDelete
  54. I personally use them exclusively high-quality elements : you will notice these folks during: visit this site

    ReplyDelete
  55. Hello, this weekend is going well for me because I can spend it at home reading this extremely helpful article.
    https://www.anthonymullan.com/

    ReplyDelete