Configuring JBoss Fuse Field Pack, you get next error in logs java.lang.NoClassDefFoundError: com/wily/introscope/agent/trace/IMethodTracer

Document ID : KB000009154
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

After configuring the JBoss Fuse field pack, the Jboss Fuse logs show next error message, and Fabric Containers are not starting up.

Bundle org.apache.cxf.cxf-rt-transports-http [96] Error starting mvn:org.apache.cxf/cxf-rt-transports-http/3.0.4.redhat-621084 (org.osgi.framework.BundleException: Activator start error in bundle org.apache.cxf.cxf-rt-transports-http [96].) 

java.lang.NoClassDefFoundError: com/wily/introscope/agent/trace/IMethodTracer 

Environment:
Linux RedHatJBoss Fuse
Cause:

This error message is mentioned in community threads, and it occurs if OSGI felix configurations are used.

If this is the case, it is required to specify a comma-delimited list of packages that should be made implicitly available to all bundles from the parent class loader. 

The configuration property that needs to be updated is org.osgi.framework.bootdelegation, and the value that needs to be added is com.wily,com.wily.*

 

 

Resolution:

To resolve this issue, the steps are as follow:

1. Edit the <JBOSS_FUSE_ROOT_DIRECTORY>/config.properties

2. Look for org.osgi.framework.bootdelegation property

4. Add ,com.wily,com.wily.* at the end of the property, and save the file.

5. Configure the monitoring, and start JBoss Fuse. The issue should now be corrected. The error message should not occur, and the fabric containers should start up ok.

Additional Information: