Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.