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

93 comments:

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

    ReplyDelete
  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. 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
  7. thank you for sharing nice information really very nice ..i am intrested for more info
    sap mm training




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

    ReplyDelete
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. Incredible articles and awesome design. Your blog entry merits the greater part of the positive input it"s been getting. wholesale clothing

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

    ReplyDelete
  25. 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
  26. 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
  27. On my website you'll see similar texts, write what you think. visit this page

    ReplyDelete
  28. 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
  29. 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
  30. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. אשרת קנדה

    ReplyDelete
  31. 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
  32. 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
  33. 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
  34. 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
  35. Such sites are important because they provide a large dose of useful information ... this website

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

    ReplyDelete
  37. 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
  38. 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
  39. 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
  40. 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
  41. I am interested in such topics so I will address page where it is cool described. check this link

    ReplyDelete
  42. 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
  43. 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
  44. 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
  45. Very interesting information, worth recommending. However, I recommend this: visit here

    ReplyDelete
  46. 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
  47. 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
  48. I personally use them exclusively high-quality elements : you will notice these folks during: visit this site

    ReplyDelete
  49. 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
  50. BD7DA01B90ParisCEA2D9601EOctober 16, 2024 at 3:01 PM

    4DA3C176BE
    fuar standı

    ReplyDelete