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
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:
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: