Monday, April 16, 2018

AIA 12c : Deployment Fails NoClassDefFoundError: Oracle/fabric/management/deployedcomposites/mbean/Status

When deploying AIA PIPs, if we encounter the error

"NoClassDefFoundError: Oracle/fabric/management/deployedcomposites/mbean/Status"

The reason is that the  fabric-runtime.jar is missing from the classpath.

Edit the aiaenv.sh and ensure that ${SOA_HOME}/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar is in the classpath

To fix this

  • Open the file ${AIA_INSTANCE}/bin/aiaenv.sh

  • Check if the CLASSPATH has this included or not
${SOA_HOME}/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar

If this is missing, backup and add that .jar to the CLASSPATH in that file and source the new aiaenv.sh
OR Exit out of aiaenv.sh file, Include/ADD that in CLASSPATH by using the export command
  ${SOA_HOME}/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime.jar

Oracle SOA 12c: How To Create READ-ONLY Access To The JMS Messages For Monitor User

Create a user who only can view the JMS Messages and can not create,  delete,  move or import JMS Messages, and can not monitor other resour...