AppD Archive

Error when attempting to start Analytics agent

CommunityUser
Splunk Employee
Splunk Employee

Has anyone gotten this error when attempting to start the Analytics agent and did you find the resolution?

Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V

0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

The reason for this error was the exisitence of jar files from earlier releases of the machine agent in the /lib directory. Besides unzipping the new machine agent you should also remove the previous jar files or just start with an empty directory. When redeployed in a new directory, the error stopped occurring and the Analytics agent started successfully.

View solution in original post

CommunityUser
Splunk Employee
Splunk Employee

The reason for this error was the exisitence of jar files from earlier releases of the machine agent in the /lib directory. Besides unzipping the new machine agent you should also remove the previous jar files or just start with an empty directory. When redeployed in a new directory, the error stopped occurring and the Analytics agent started successfully.

Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...