• About

Luke's Tech Show

~ Knowledge is useless when not shared with others.

Luke's Tech Show

Category Archives: JBoss

JMX-Console in JBoss Application Server

05 Sunday May 2013

Posted by Luke Tong in JBoss

≈ 1 Comment

Tags

Apache HTTP Server, Application server, JBoss

As you may have known through jmx-console of JBoss, you can do a bunch of configurations.

This post is NOT supposed to tell you which kind of configuration you can set in the console. Here I just want to answer one question, what is the jmx-console.

Suppose we have an application deployed in JBoss called MyApp, suppose the url of our application server is http://app.mycompany.com

So after installing JBoss successfully, you can access the jmx-console through

http://app.mycompany.com:8080 and access MyApp through

http://app.mycompany.com:8080/MyApp.

OK. But if you expose the above URL to your customer,I do not think he/she will accept it. I have browsed hundreds of web sites but I seldom found a web page with a port number!

How to resolve this? Based on my experience, we can set up a web server. Apache httpd server is a good candidate (http://bit.ly/YwBZmw gives you an idea about how to make the Apache httpd server as a proxy between your request and the application server. ). Now we can access MyApp through(suppose our web server is located in http://www.mycompany.com)

http://www.mycompany.com/MyApp

Normally in this way we hide the application server from the visitors.

A request will be routed to the application server by the httpd server.

OK. Everything looks fine. Wait…. What if I want to access the jmx-console?

Can I still use http://app.mycompany.com:8080? The answer is NO. This URL should have already be hidden.

Then how to do it?

Let me ask you a question, what is jmx-console? It is nothing but a web application!

We can access MyApp through

http://www.mycompany.com/MyApp

Why I can not access the jmx-console application in this way?

http://www.mycompany.com/jmx-console

====

Summary

In this post we answered the question what is jmx-console. The answer is it is an application. So we can access it just like a web application. You may think this post is really simple. But I hope it could be helpful for some JBoss newbies.

Advertisements
Advertisements

Subscribe

  • Entries (RSS)
  • Comments (RSS)

Archives

  • October 2018
  • September 2018
  • February 2018
  • January 2018
  • October 2017
  • July 2017
  • June 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • December 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013

Categories

  • Agile
  • Algorithm
  • Cloud
  • IT Misc
  • Java
    • Web Service
      • RESTful
  • Java8
  • JavaScript
    • jQuery
  • JBoss
  • JPA
  • Linux
  • MQ
  • Spring CORE
  • Spring MVC
  • TDD
  • Uncategorized

Meta

  • Register
  • Log in

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy