Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

Troubleshooting Java Agent on Tomcat server with Felix framework

When configuring an AppDynamics Java Agent on a Tomcat server with Felix framework, some users ran into the following error message: 

 

java.lang.NoClassDefFoundError: com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegatorBoot 
at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) 

 

This error is due to missing the following configurations which apply to the Felix framework.

 

  1. Navigate to the <Tomcat-install-dir>/webapps/ROOT/WEB-INF/etc/config folder.
  2. Edit the file felix-framework.properties
  3. Search for the property org.osgi.framework.bootdelegation" property
  4. Add com.singularity.* to this property.
    • Example:
    • org.osgi.framework.bootdelegation=sun.*,com.sun.*,com.sun.jndi.ldap,com.yourkit.*,__redirected,com.singularity.* 
       

 

Version history
Revision #:
2 of 2
Last update:
‎08-03-2017 12:45 PM
Updated by:
 
Labels (1)
0 Kudos