AppD Archive

NoClassDefFoundError: com.singularity.ee.agent.appagent

CommunityUser
Splunk Employee
Splunk Employee

I have configured AppD 4.2.4.1 with IBM WebSphere 8.0. However when accessing application I am getting below error. Other threads about JBOSS refers to add  below , however I am not sure for IBM WebSphere????

-Djboss.modules.system.pkgs=org.jboss.byteman,com.singularity"

[8/10/16 15:18:46:477 EDT] 00000068 StandardExcep E com.ibm.form.nitro.platform.StandardExceptionMapper toResponse 2e8d4eac-d12d-40f1-9e70-8619c06efa14
com.ibm.form.platform.service.framework.exception.ServicesPlatformException: java.lang.NoClassDefFoundError: com.singularity.ee.agent.appagent.entrypoint.bciengine.HotspotInterceptorDelegatorBoot
at com.ibm.form.platform.service.rest.jaxrs.model.RESTMethod.invoke(RESTMethod.java:366)
at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl._process(RESTApplicationImpl.java:1170)
at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl.restProcess(RESTApplicationImpl.java:388)
at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl.process(RESTApplicationImpl.java:352)
at com.ibm.form.nitro.endpoints.RESTEntryPoint.performView(RESTEntryPoint.java:264)
at com.ibm.form.platform.impl.dispatcher.simple.SimpleDispatcher.performServletWork(SimpleDispatcher.java:396)
at com.ibm.form.platform.impl.front.internal.java.FrameworkJavaAccess.performServletWork(FrameworkJavaAccess.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.form.platform.front.access.servlet.SimplifiedPlatformAccessServlet.service(SimplifiedPlatformAccessServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)
Caused by: java.lang.NoClassDefFoundError: com.singularity.ee.agent.appagent.entrypoint.bciengine.HotspotInterceptorDelegatorBoot
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java)
at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3462)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
at org.codehaus.groovy.ast.builder.AstBuilderTransformation.visit(AstBuilderTransformation.groovy:61)

0 Karma

jefmuller
New Member

Hello,

I have the same issue with a Lifery 7.0 ga3 bundle running tomcat 8.

Using the -D flag on the command line level doesn't work.

In which configuration flle should i specify the package prefix?

Thanks

Regards

Jeff

0 Karma

Luis_Sánchez
Explorer

Hi,

For IBM WebSphere, add the following to server's Generic JVM Arguments:

-Dorg.osgi.framework.bootdelegation=META-INF.services,com.singularity.*,com.ibm.*

If server is secured, you may need additional steps:

1- Edit the file $WAS_HOME/WebSphere/AppServer/profiles/$ProfileName/properties/server.policy (replace $WAS_HOME and $ProfileName accordingly)

2- Add the following in the first lines:

// AppDynamics Agent Files Permissions
grant codeBase "file:$AppDynAgentDir/-" {
permission java.security.AllPermission;
};

Replace $AppDynAgentDir with the path of your agent files.

Regards,

Luis

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks Luis, I done those changes, however it didn't help. same exception.

0 Karma

Luis_Sánchez
Explorer

Hi,

Things you should check & try:

  • Verify you´re using the AppServer for IBM SDK
  • Downgrade your agent. I have my WebSphere(s) on version 4.2.3.1, they work flawlessly without the -Dorg.osgi.framework.delegation setting, just the -javaagent option.

Hope it helps, regards

Luis

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...