AppD Archive

Tomcat error logs show "cached - no such method"

CommunityUser
Splunk Employee
Splunk Employee

I notice that I have this error repeated about 5 times in a row,  sporadically throughout the day. What may be causing this?

Running AppServerAgent-3.7.12

RedHat Linux 2.6.32-358.18.1.el6.x86_64

INFO   | jvm 1    | 2014/02/10 10:29:06 | com.singularity.ee.agent.util.i: cached - no such method
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at com.singularity.ee.agent.util.yf.<clinit>(yf.java:74)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at com.singularity.ee.agent.appagent.kernel.c.e(c.java:281)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at com.singularity.ee.agent.appagent.kernel.c.start(c.java:97)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:235)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/02/10 10:29:06 |     at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:173)

0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you please send the zipped version of <agent_dir>/logs directory to assist you better.

We see such errors when either there is no enough permissions for agent install directory or when there is any custom configuration earlier ,let us know if this is the case?

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Arun,

The permissions are all open on that directory (chmod -R 777).

<?xml version="1.0" encoding="UTF-8"?>
<controller-info>
    <controller-host>*********</controller-host>
    <controller-port>443</controller-port>
    <controller-ssl-enabled>true</controller-ssl-enabled>
    <application-name>Oak</application-name>
    <tier-name>Prod</tier-name>
    <node-name>Node1</node-name>
    <agent-runtime-dir></agent-runtime-dir>
    <enable-orchestration>false</enable-orchestration>
    <account-name>university</account-name>
    <account-access-key>**********</account-access-key>
    <force-agent-registration>false</force-agent-registration>
    <agent-install>shared</agent-install>
</controller-info>

I have not set any other custom configurations.

Thanks,
Craig

0 Karma

Arun_Dasetty
Super Champion

Hi Craig,

Can you change the node name from "Node1" to some different name say: "testNode1" as "Node1" is reserver for controller internal agent, please change the node name in controller-info.xml of agent directory and restart the server after saving changes and if you still see the error please send the zipped version <agent_install_dir>/logs directory to assist you better?

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Arun,

Node1 is not the name I use, that is my obfuscated name.

What are you looking for in the logs specifically, or which log?

Thanks,
Craig

0 Karma

Arun_Dasetty
Super Champion
We are looking for agent.log to see complete error stacktace and bct.log

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
There is no stack trace other than the error I submitted. That is the problem. If there was a stack trace I would have submitted it.
What has caused this error in the past?

Thanks!

Craig

0 Karma

Arun_Dasetty
Super Champion

Hi Craig,

We see similar error stacktraces earlier for the following cases:

- when user added some custom correlation config and the rule is not correct in <agent_dir>/conf/app-agent-config.xml

-  When there is a BT that wraps a service that tries to send request to other service though some ws or rmi calls and agent invokes with that but failed to get information of where the calls are getting resolved when call the underlying server api to get such info

- When user have not provide enough executable permissions to agent install dir

Can you please add the node level property on one of the node having this issue and let us know how it goes with new load:
Property = enable-interceptors-for-security
Description = Node property to enable security interceptors
Type = Boolean
Value = true

- refer doc for steps to modify node property:

http://docs.appdynamics.com/display/PRO13S/App+Agent+Node+Properties#AppAgentNodeProperties-Toregist...

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

There is no error stack in the agent log. This error in my application TOMCAT log, and is caused by the JavaAgent. Since the agent startup is linked to the application, the error is in the application log, not the agent log.

Have you ever seen this error before?

Thanks,
Craig

0 Karma

Arun_Dasetty
Super Champion

Hi Craig,

Yes, we see similar error "cached - no such method" earlier but we would like to see the root error as part of complete stack trace and provided us complete application logs and also zipped verison of <agent_dir>/logs will help us to assist you better?

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...