Wednesday, 19 April 2017

How To Compile JSP Manually in R12


Hi Friends,

We almost time face an issue such as EBS R12 Login Page showing a blank page. This case we face almost after cloning or refresh. As we open the URL of the R12, its loading for a while and goes to a blank page, after few continuous attempts, it may show the login page or it may not also.

Just, some days ago one of our friend asked me about JPS compile details in R12. He was not clear about compiling JSP pages as how to do and when to do but hope these points may clear here. This is also a type of clearing cache in application EBS R12.

Actually this issue is caused by either missing or corrupted class files under EBS Cache $COMMON_TOP/_pages.

We can check this error on the oacore application.log file
javax.servlet.ServletException: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: _AppsLocalLogin
Dependent class: oracle.jsp.runtimev2.JspPageInfo
Loader: oc4j:10.1.3
Code-Source: /ORA-DATA/apps/tech_st/10.1.3/j2ee/home/lib/ojsp.jar
Configuration: in META-INF/boot.xml in /ORA-DATA/apps/tech_st/10.1.3/j2ee/home/oc4j.jar

It was initiated at oacore.web.html.jspxxxxx:0.0.0 using the loadClass() method.
And the missing class is not available from any code-source or loader in the system.
html: Error initializing servlet java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.profiles.Profiles

For this above issue or problem, we can try this below work-around which has worked in real time.

Please follow the below action plan steps:

1. We need to login to apps server and su to apps user (applmgr).

2. Then we need to Shutdown the application services.

3. Now, compile the jsp's manually by using the command as shown below:

$perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile --flush -p 2

4. Then check whether all the jsp's are getting compiled successfully.

5. Restart the application services.

6. Open IE or your web browser and clear the browser cache.

7. Then again retest the issue.

Some more useful links:


R12.2 Concepts and Architecture

Jobs Tips

Real Time Experiences

I was busy a lots today but I promised for today to post, So I am doing this night time.
Hope above points may helpful and useful. For any kind information or suggestions, Please write to either in comment box or contact us @https://ora-data.blogspot.in/


Thanks,

1 comment:

  1. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Oracle DBA TECHNOLOGY, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor-led training on TECHNOLOGY. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ pieces of training in India, USA, UK, Australia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us.
    Pratik Shekhar
    MaxMunus
    E-mail: pratik@maxmunus.com
    Ph:(0) +91 9066268701
    http://www.maxmunus.com/

    ReplyDelete

Thank you for your comments and suggestions. It's good to talk you.