Hi All I Configure my Jboss4.0.4 with apache2.2 for windows with the link http://www.jboss.org/community/docs/DOC-12525;jsessionid=1569CBFB7C3096C59C977CD3F7159A32 every thing is fine. But problem is that when I try to send the custom response (reponse.setStatus(like 804) ,if any exception in my code) ,but it send its own response ,but its work fine when merely access the jboss(without Apache). for example in my jsp what I do is........ List list=(List)request.getAttribute("a"); if(list==null){ response.setStatus(212); list=new ArrayList(); }else{ .... ........ ........ } } %> in my code I get response in .js file using Ajax if (req.readyState == 4) { if (req.status == 212) { ....... ....... do some thing } } but it send 500 when using apache jboss both and send 212 when merely access the jboss. I also tried to configure it by mod_proxy but same problem ,Is there any port bind by firewall or any other configuration required or any thing else ? Any suggestion would be very helpful for me.