Tuesday, October 4, 2011

OPP process on node 2 is not starting, failing with error "Exception in thread "main" java.lang.NoClassDefFoundError"

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
Problem: OPP process on node 2 is not starting, failing with error "Exception in thread "main" java.lang.NoClassDefFoundError"


Symptoms:
Database : 2 nodes RAC : HP Ux
Application server : 2 node Shared Application tier : Linux

we have configured OPP on both the nodes , on node 1 it is starting properly and on node it is giving below error.

Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/fnd/cp/gsm/GSMSvcComponentContainer
Caused by: java.lang.ClassNotFoundException: oracle.apps.fnd.cp.gsm.GSMSvcComponentContainer
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: oracle.apps.fnd.cp.gsm.GSMSvcComponentContainer. Program will exit.

Attached the log files.

Issue :

OPP on node 2 and workflow agent listener is not starting both are getting above error.

The below are the details of env variables on both nodes.
AF_JRE_TOP =/APPL_TOP/EZWT/apps/tech_st/10.1.3/appsutil/jdk/jre
AFJVAPRG = /APPL_TOP/EZWT/apps/tech_st/10.1.3/appsutil/jdk/jre/java.sh

Log files:



Solution:



AF_CLASSPATH variable needs to be set properly in $APPL_TOP/admin/adovars.env.

The correct value as per Note.332152.1 & Note.260393.1 is:

AF_CLASSPATH=[JDK_TOP]/lib/dt.jar:[JDK_TOP]/lib/tools.jar:[JDK_TOP]/jre/lib/rt.jar:[JDK_TOP]/jre/lib/i18n.jar:
$JAVA_TOP/appsborg2.zip:$ORACLE_HOME/forms60/Java:$JAVA_TOP

Steps to be followed:

Reset the AF_CLASSPATH variable value in $APPL_TOP/admin/adovars.env to include $JAVA_TOP/appsborg2.zip
Source the environment again to point AF_CLASSPATH to the right .zip file
Restart the concurrent managers

References:

Note.332152.1 & Note.260393.1


Get Oracle Certifications for all Exams
Free Online Exams.com

3 comments:

Anonymous said...

generic xanax xanax overdose grams - what pills look like xanax bars

Anonymous said...

generic xanax xanax effects dogs - xanax side effects diarrhea

Anonymous said...

buy tramadol online tramadol hcl vicodin - usual dosage tramadol