Also, what to you mean by "behave as a normal web server"?
The documentation about JbossWeb talks about configuring a stand alone JbossWeb server. But now since JbossWeb is integrated into Jboss5 its not possible to find out where all the configration files are.
I figure that JbossWeb is located at <Jboss_install_dir>\jboss-5.0.0.GA\server\default\deploy\jbossweb.sar. However in here there are only to xml files. Server.xml and context.xml. Even with these I don't know what has to be configured in order for JbossWeb to work.
As for stand alone JbossWeb what is available for download is the an installation that will give you a native implementation of Jboss Web. So for exmple when you install on windows you get a bunch of .exes that you can use to start JbossWeb. Here also you don't get any configuration file that is described in the docs.
What i mean by a "normal web server" is a web server that serves static contents, has a doc root, that can forward requests to servlet engine etc.
JbossWeb is located at <Jboss_install_dir>\jboss-5.0.0.GA\server\default\deploy\jbossweb.sar.
Changes to server.xml behave as one would expect, given the Tomcat 6.0 documentation. I haven't found any need to edit context.xml. Also look at server/xxx/deployers/jbossweb.deploy - the global web.xml is located there.
what has to be configured in order for JBossWeb to work.
Nothing - it works out of the box. (Do you have a particular capability in mind which you are not mentioning...)
serves static contents, has a doc root
JBoss Web has that, even when embedded in JBoss AS.
can forward requests to servlet engine
You need Apache HTTP Server for that. Remember, JBoss Web == Tomcat.
Thanks a lot! Will have a look and come back with more questions :)