Thursday 23 May 2013

java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.profiles.Profiles+in oracle application 11i

Users are reported that when they logged in to oracle application we are getting below error.

Error found in the front end .

Request URI:/OA_HTML/AppsLocalLogin.jsp

Exception:
java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.profiles.Profiles

Solution:
we can resolve this issue in two ways.
1)bouncing the database 100% will work.
2)By doing below steps.

i)Take the backup of Jserv.properties file.
ii)change the value of the DLONG parameter from "true" to "false" in Jserv.properties file.


grep -i wrapper.bin.parameters=-DLONG_RUNNING_JVM Jserv.properties 
wrapper.bin.parameters=-DLONG_RUNNING_JVM=false

iii)Stop adapactl.sh stop
 clear cache.  cd $COMMON_TO
mv _pages _pages_23may2013
mkdir _pages
cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME
adapactl.sh start.

Performing the above steps will fix the issue in Oracle application 11i.

Happy Learning !!!






3 comments:

  1. I thinks its not bouncing the database it is bouncing the apache

    ReplyDelete
  2. i mention clearly you can resolve this issue in two ways.
    1)Bouncing the database
    2)By doing below steps.
    i)Take the backup of Jserv.properties file.
    ii)change the value of the DLONG parameter from "true" to "false" in Jserv.properties file.


    grep -i wrapper.bin.parameters=-DLONG_RUNNING_JVM Jserv.properties
    wrapper.bin.parameters=-DLONG_RUNNING_JVM=false

    iii)Stop adapactl.sh stop
    clear cache. cd $COMMON_TO
    mv _pages _pages_23may2013
    mkdir _pages
    cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME
    adapactl.sh start.


    But you will not get succeed all the time by bouncing the apache.

    ReplyDelete
  3. Nice effort, very informative, this will help me to complete my task. Thanks for sharing it. Have a look at the process blogs to see more.
    Oracle Fusion HCM Technical Online Training

    ReplyDelete