Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Thursday, March 19, 2009

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

This error was reported after clone:

JSP Error:


Request URI:/OA_HTML/AppsLocalLogin.jsp

Exception:

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


jserv.log showed these errors:

[19/03/2009 11:29:13:045 EDT] oracle.apps.mwa = $MWA_TOP
Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps.jtf.base.resources.FrameworkException: IAS Cache initialization failed. The
Distributed Caching System failed to initialize on port: 12442. The list of hosts in the distributed caching system is: 11ioltp.justanexample.com . The port 12442 should be free on each host running the JVMs. The default port 12442 can be overridden using -Doracle.apps.jtf.cache.IASCacheProvidercacheProvider.port=<
port number>


Metalink Note 461872.1 describes this problem.  This occurs when your java object cache port can not be contacted.  s_java_object_cache_port is the context file variable which needs to be changed.  If you would like to avoid running autoconfig, you can change the value of this variable jserv.properties and jserv_restrict.properties.  We changed it from 12442 to 12443:

jserv.properties:wrapper.bin.parameters=-Doracle.apps.jtf.cache.IASCacheProvidercacheProvider.port=12443
jserv_restrict.properties:wrapper.bin.parameters=-Doracle.apps.jtf.cache.IASCacheProvidercacheProvider.port=12443

Change the port number.
Bounce Apache
Retry.

It worked for us.

No comments: