Due to firewall issues, I need to hide hyperic behind an Apache server.
The problem is hyperic is mapped to the ROOT context ("/") in the jboss server.
But the apache server I want to put in front of it, already is serving other applications, and as such I cant proxy the root ("/").
So the solution is to put hyperic at some other context say /hyperic/
but for this to work, the hyperic web application also need to be deployed at /hyperic/ location.
For this I have changed the following stuff
hq.ear/META-INF/application.xml :- Changed context-root for hq.ear from "/" to "/hyperic"
hq.ear/hq.war/WEB-INF/jboss-web.xml :- Changed context-root from "/" to "/hyperic"
And mapped /hyperic URL in apache mod_proxy_ajp to ajp://localhost:9009/hyperic
This works apart from some exceptions.
The availability icon images, point to /images/... instead of /hyperic/images/...
I suspect this is due to some Resourse Filters in hq.war's web.xml.
Any ideas on how to fix this ?
The problem is hyperic is mapped to the ROOT context ("/") in the jboss server.
But the apache server I want to put in front of it, already is serving other applications, and as such I cant proxy the root ("/").
So the solution is to put hyperic at some other context say /hyperic/
but for this to work, the hyperic web application also need to be deployed at /hyperic/ location.
For this I have changed the following stuff
hq.ear/META-INF/application.xml :- Changed context-root for hq.ear from "/" to "/hyperic"
hq.ear/hq.war/WEB-INF/jboss-web.xml :- Changed context-root from "/" to "/hyperic"
And mapped /hyperic URL in apache mod_proxy_ajp to ajp://localhost:9009/hyperic
This works apart from some exceptions.
The availability icon images, point to /images/... instead of /hyperic/images/...
I suspect this is due to some Resourse Filters in hq.war's web.xml.
Any ideas on how to fix this ?