Access JMX enabled application running behind an HTTP proxy server

Abhinav Sarkar :

I have a JMX enabled Java application (Java 1.5) sitting behind an HTTP proxy server. So I cannot access it directly through the JConsole.

A solution I imagine would be to have an in-VM JMX client in my application which collects the statistics and the configuration data from the JMX server and posts it to my external server periodically over HTTP through the proxy. My external server replies back with any configuration changes if needed and the in-VM JMX client propagates those changes to the JMX server which applies them to the application.

I'd guess this to be a scenario frequent enough to have solutions already addressing it. Is there any helper framework/library to enable such access over HTTP?

Tomasz Nurkiewicz :

Not sure this is what you need, but there is a very nice JMX to REST bridge called Jolokia out there. If you add it to your application, you will be able to interact with JMX through REST interface that will be accessible via HTTP proxy like any other HTTP traffic. So not only you are tunneling JMX through HTTP, but you are also exposing it in much nicer format (JSON over HTTP).

It has pretty good documentation, also see my showcase.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

SOCKS proxy to SSH server behind HTTP proxy

No access to a rails server running behind a firewall

How to access a http server behind a jumper

Running Go server behind Nginx Reverse Proxy with SSL

Rails application behind proxy, with SSL, renders paths as "http://"

Identity Server Redirect URL for an Application behind reverse proxy

FastCGI or HTTP server for C++ daemon behind nginx proxy

Using Upstream Sources on Azure DevOps Server that's behind a HTTP Proxy

Proxy server at home, for web application access

Running PHP SoapServer behind a proxy

How To Attach Visual Studio Code Debugger to Node.JS Application running on docker machine behind nginx proxy

Running daphne behind nginx reverse proxy with protocol upgrade always routes to http instead of websocket

Http-server to access the application without port

How to use curl/postman to access web page behind Azure AD Application Proxy

How to access already authenticated user from web application behind Google Identity Aware Proxy?

Access tomcat running in docker container by JMX

Kubernetes pods not starting, running behind a proxy

Kubernetes Ingress running behind nginx reverse proxy

Urls of a symfony app running behind a reverse proxy

How to deploy angular 2 application to HTTP server with proxy-config

Can multiple meteor application server instances work behind Hipache reverse proxy?

ASP.NET Core app is behind a ssl proxy server and Reply to URL is http:// not https://

Getting '404' when using phyton's http.server behind the reverse proxy (traefik)

Google.ru detects my location even behind anonymous HTTP proxy server, how?

JMX enabled Java application appears to open a random high order port when JMX client connects

Weblogic console access behind Traefik proxy

How to use OpenVPN behind a HTTP and HTTPS proxy?

Http proxy server tests

Slack desktop client on 16.04 behind proxy server

TOP Ranking

  1. 1

    Failed to listen on localhost:8000 (reason: Cannot assign requested address)

  2. 2

    How to import an asset in swift using Bundle.main.path() in a react-native native module

  3. 3

    Loopback Error: connect ECONNREFUSED 127.0.0.1:3306 (MAMP)

  4. 4

    pump.io port in URL

  5. 5

    Spring Boot JPA PostgreSQL Web App - Internal Authentication Error

  6. 6

    BigQuery - concatenate ignoring NULL

  7. 7

    ngClass error (Can't bind ngClass since it isn't a known property of div) in Angular 11.0.3

  8. 8

    Do Idle Snowflake Connections Use Cloud Services Credits?

  9. 9

    maven-jaxb2-plugin cannot generate classes due to two declarations cause a collision in ObjectFactory class

  10. 10

    Compiler error CS0246 (type or namespace not found) on using Ninject in ASP.NET vNext

  11. 11

    Can't pre-populate phone number and message body in SMS link on iPhones when SMS app is not running in the background

  12. 12

    Generate random UUIDv4 with Elm

  13. 13

    Jquery different data trapped from direct mousedown event and simulation via $(this).trigger('mousedown');

  14. 14

    Is it possible to Redo commits removed by GitHub Desktop's Undo on a Mac?

  15. 15

    flutter: dropdown item programmatically unselect problem

  16. 16

    Change dd-mm-yyyy date format of dataframe date column to yyyy-mm-dd

  17. 17

    EXCEL: Find sum of values in one column with criteria from other column

  18. 18

    Pandas - check if dataframe has negative value in any column

  19. 19

    How to use merge windows unallocated space into Ubuntu using GParted?

  20. 20

    Make a B+ Tree concurrent thread safe

  21. 21

    ggplotly no applicable method for 'plotly_build' applied to an object of class "NULL" if statements

HotTag

Archive