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
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
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: