Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've followed the tutorial here:

All my files as configured as it says there but then I try to access http://localhost/jmx-console I get

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /jmx-console.

Reason: DNS lookup failure for: host1

If I call http://localhost/admin/ the browser seems to be loading forever.

Any ideas ?

share|improve this question
I think you're going to need to post some more info before anyone can provide an answer. Try including the relevant information from your apache and modjk configuration files. Can you get to /jmx-console when you access your jboss instance directly (bypassing apache)? – micah Jun 21 '11 at 20:39
Here is my httpd.conf : and httpf.conf : mod-jk : , : and : . With these configured I can acces localhost/myapp-1 and localhost/myapp-2 but not localhost/jmx-console . Thank you. – Sergiu Jun 22 '11 at 7:29
Try commenting out lines 488+ in your httpd.conf. It looks like you may have been trying to use mod_proxy at some point and left that in? Those lines are causing it try to proxy requests for /jmx-console to a server called "host1" which does not seem to exist in your environment. – micah Jun 22 '11 at 13:21
It works now. Stupid me. Thank you micah. – Sergiu Jun 22 '11 at 14:36
up vote 1 down vote accepted

For the sake of recording an answer: Comment out the unused mod_proxy directives in the httpd.conf file.

share|improve this answer
With the same config files, I start a second JBoss instance on another PC, and when I call I get time-outs. The only modification between the two JBoss's is jvmRoute="node2" in server.xml in the second computer. Is that correct ? – Sergiu Jun 23 '11 at 9:39
I've also added in mod-jk.conf Allow from (the IP of my second computer) under the <Location /jkstatus> tag but to no use. – Sergiu Jun 23 '11 at 9:54
Ignore the above post. Firewall issues. – Sergiu Jun 23 '11 at 10:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.