Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We want to configure our jboss server behind a firewall. We want to allow access only to our web application.

Is there any way to configure separate port for jboss admin-console, jmx-console?

share|improve this question

Yes, if you use mod_jk_ajp to map to a Jboss slave, then you can use the JKUnmount directive to unmount the jboss applications that you dont want served.

So, the rough idea is:

JKMount  /myapp   mainworker
JKUnmount /admin-console
JKUnmount /jmx-console

Mod_jk, if configured that way, in theory, won't forward requests to JBoss for those unmounted applications. I haven't tried this though.

This is similar to what some people do with mod_rewrite:

# dont proxy files (or app) located at/in: /images /stylesheets /javascripts
RewriteRule "^/(images|stylesheets|javascripts)/?(.*)" "$0" [L]
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.