Wednesday, January 4, 2012

Failed to invoke class "JRF Startup Class" in SOA Suite 11g

Problem:

When starting up SOA Suite 11g (i.e., starting up the soa_server1 managed server), you may get the following error in the $MW_HOME/user_projects/domains/soa_domain/servers/soa_server1/logs/soa_server1.out log file:
<Dec 28, 2011 9:41:24 PM EST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JRF Startup Class", java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        Truncated. see log file for complete stacktrace
Solution:

Best way to troubleshoot this is to start up the soa_server1 manually as follows:
oracle@soahost1:/u01/app/oracle/Middleware/user_projects/domains/soa_domain/bin> ./startManagedWebLogic.sh soa_server1
When starting up the managed server manually, we were thrown an error that was not shown in the log.

In our case, there was a typo in the PORT_MEM_ARGS environment variable in setSOADomain.sh. Upon fixing this, the managed server started up just fine.


Applicable Versions:
  • Oracle SOA Suite 11g (11.1.1.4+)


Ahmed Aboulnaga

No comments: