I am not a programmer, but was give a task for deploying a jar CustomErrorReportValve.jar. I deployed it in one environment and it is working fine. There is a problem in deploying it in the other environment. The version of jboss is 5.1
The instruction as give to me is as below.
# How to build this project
1. Edit the build.properties
2. Run ant command to generate jar
# How to use this valve
1. Put the CustomErrorReportValve.jar under $JBOSS_HOME/server/$PROFILE/lib
2. Add `errorReportValveClass` attribute to `Host` element in `$JBOSS_HOME/server/$PROFILE/deploy/jbossweb.sar/server.xml` like:
Not sure how to go about troubleshooting. My setup also has a Apache server which load balances two Jboss instance.The env where the setup is working has a single instance of Jboss having the same Apache load balancing configuration.