Java Monitoring
How to download the Java agent ZIP file when you don't have access to the Site24x7 client?
Linux Go to your desired location and execute the following command from the terminal: wget https://staticdownloads.site24x7.com/apminsight/agents/apminsight-javaagent.zip Windows Execute the following command (replacing your desired path) from ...
Prerequisites for Java agent installation
For a smooth Java agent installation, ensure that you've fulfilled the following prerequisites. The environment should have Java version 8 or above installed. The application user should have full permissions over the agent directory. The server ...
Adding APM Insight Java agent in Kubernetes via InitContainers
Step 1: Create a secret for the Site24x7 license key in your application namespace. You can obtain the license key from your site24x7 account by navigating to Admin > Developer > Device Key. Example: kubectl create secret generic app-secret ...
Site24x7 APM Insight Java agent setup in K8s via Persistent Volumes
This document explains how to setup the APM Insight Java agent for applications running in Kubernetes via persistent volumes. Prerequisites A persistent volume (with a capacity of 100mb). The persistent volume mounted on all deployment pods (via ...
DC migration steps for APM Insight Java agent
Obtain the new device key. Update the license.key value in the apminsight.conf file located at <apminsight-javaagent.zip Extracted Directory>/. Log in to the server and delete the existing instance information file apminsight.info located at ...
How to upgrade the APM Insight Java agent to the latest version that supports Java 6 and 7?
Java agent version 5.7.0 and above deprecates support for Java applications running on Java 6 and 7. Please see this community post for more details. If you don't want to upgrade to Java 8, you can stick with Java 6 or 7. Since Java agent version ...
Can apminsight.conf properties be added as the JVM's application properties?
Yes, all of the configurations in the apminsight.conf file can be added as system properties of the JVM. These configurations are applicable only to the APM Insight Java agent. Please find the names and examples of the properties below. ...
How to enable or disable thread profiling in the Java agent?
The APM Insight Java agent v5.6 is designed to enable thread profiling by default and runs every eight hours (since JVM start) for five minutes to identify and instrument the slow methods in your application. You can also disable thread profiling by ...
How to rename an APM Insight application?
Site24x7 APM Insight doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the apminsight.conf file and the agent associated with that instance will ...
How to add APM Insight Java agent without application restart?
In general, after installing the APM Insight Java agent, you have to restart your application for the agent to capture monitoring data. But in case of critical issues in the app, like sudden application slowness, where you haven't installed APM ...
How to redirect agent logs to STDOUT or console
By default, agent logs are written to a log file in the specified or default directory of APM Insight Java agent. To redirect the agent logs to STDOUT or console, add "apminsight.console.logger=true" in apminsight.conf file and restart your ...
Steps to troubleshoot when you get NO DATA message for Java applications.
After adding APM Insight Java agent, if you get NO DATA message, it could be because of probable reasons like network issues or zero traffic in your application. Kindly read through the below given instructions to troubleshoot. Reason Cause Solution ...
How to exclude HTTP errors from monitoring
Common HTTP errors can be ignored from being tracked to reduce the noise in your monitoring environment. To ignore such HTTP errors, please follow the instructions given below. Log into your Site24x7 account>APM Insight Your application> Edit agent ...
Can I disable instrumentation of third party packages?
Yes, you can exclude specific classes, methods or application packages from being instrumented by the Java agent. To exclude packages from being instrumented, implement the following steps: Add exclude.packages in apminsight.conf file Provide the ...
What does Java agent troubleshooting operation do and what are the additional arguments that can be given?
Troubleshooting operation will perform the below mentioned checks: Checks whether agent directory has read/write operations Checks whether apminsight.conf has license key mentioned Checks whether agent state, unmanaged, deleted or managed Checks ...
Using SSLv3 protocol to communicate with Site24x7 servers
Secure Socket Layer version 3 (SSLv3) is a security protocol that is used to secure application protocols such as HTTP, FTP, SIP, SMTP, NNTP, and XMPP. SSLv3 has "Poodle" vulnerability which makes it susceptible to security threats such as man in the ...
Methods to upgrade Java agent
Java agent can be upgraded in 2 ways: Auto Upgrade Manual Upgrade Auto Upgrade: This feature is available only from version 1.9 When this feature is enabled, the latest version of the agent is automatically downloaded and deployed whenever it is made ...
Is APM Java agent available for Apache HTTP server?
No, our APM Java agent is not supported on an Apache server running on Windows or Linux host.
Installation steps for APM Insight Java agent in AWS Beanstalk
Please check out this link to understand how to install APM Insight Java agent in AWS Beanstalk.
After adding Javaagent in JBoss, server does not start. It throws JBoss logger exception. How do I resolve it?
Some versions of JBoss servers (both AS & EAP) throws JBoss logger exception such as the one shown below: Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: JBAS011592: The logging subsystem requires the log manager ...
Adding Java agent to Spring Boot application
Refer here to install Java agent to Spring Boot application
Adding an APM instance that has been deleted earlier
APM Insight agent state is maintained in 'apminsight.info' file (located in the directory where agent jar resides). Please delete this file and restart the server, this will add the APM instance successfully.
Resolve the error message "Metric dispatch failed. Exception: weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection is observed in agent logs"
This exception occurs specifically in weblogic servers, as it uses its own HTTP handler. To resolve this kindly add the parameter -DUseSunHttpHandler=true to the JVM arguments and restart the weblogic server instances. Example: ...
Basic troubleshooting tips for APM Insight Java agent
Even after the agent parameters are in place, if the APM Insight instance is not shown in the Site24x7 console, please check for the following conditions: Check whether the correct license key is provided in apminsight.conf file Check whether the ...
How to resolve the "Error opening ZIP file or JAR manifest missing" issue?
1. Kindly check whether the agent JAR is available in the specified path. 2. Make sure the agent directory has read/write permissions. If the above steps don't work, kindly contact support@site24x7.com with server logs/errors.
Mention APM Insight application name as a JVM argument
To mention APM Insight application name in JVM parameters, kindly add the following line to the arguments -Dapminsight.application.name=your_app_name This will override the value specified in apminsight.conf file. Example: In Windows, set ...
List of frameworks supported by APM Insight Java Agent
Click here to know the supported frameworks of APM Insight Java agent
Application servers supported by APM Insight Java agent
APM Insight Java agent supports application servers running with Java 1.5 version or above. The complete list of supported application servers can be found here.
Can the same agent jar location be used for monitoring multiple servers
Yes, the same agent jar can be used for monitoring multiple servers. But it is suggested to have different agent jars and corresponding configuration files for different server instances. If it is kept in the same jar location, data from all the ...
Add APM Insight Java agent in Weblogic 11g server
Refer here to add APM Insight Java agent in Weblogic 11g server
Configure APM Insight Java agent in JBoss EAP 6.2.0 GA server
Refer here to add Java agent in JBoss EAP 6.2.0 GA server
Configure APM Insight Javaagent in JBoss EAP 6.1.0 GA Server
There is a bug in JBoss EAP 6.1.0 which acts as a hindrance to deploy the APM Insight Java agent in the server. The bug report can be found here : https://bugzilla.redhat.com/show_bug.cgi?id=969530 We suggest you to upgrade your JBoss EAP server to ...
Add APM Insight Java agent in GlassFish cluster setup
Refer here to know how to add a APM Insight Java agent in GlassFish cluster setup
Add APM Insight Java agent in Tomcat server
Refer here to add APM insight Java agent in Tomcat server