I have a request to some application that runs on JBOss that return with error 404. So I'd like to see who throw this error in the server side.
First suspect in the chain of the server side is the Web Container.
So I am looking for the log file that prints the HTTP requests that the server gets in order to figure it does with them.
I found in the following documentation http://docs.jboss.org/jbossas/getting_started/v4/html/tour.html The line:
You will notice that the log directory also contains HTTP request logs which are produced by the web container.
But I still didn't find in Jboss file-system any log file that prints those messages
Which version of JBoss AS do you use? For JBoss 4.2.x edit the server.xml in JBOSS_HOME/server/<servername>/deploy/jbossweb.deployer to uncomment the "Access Log valve":
For AS-5, the server.xml will be in JBOSS_HOME/server/<servername>/deploy/jbossweb.sar