Thank you very much Shawn, Juha and Sudsy. I think I have
misunderstood some of the architectural traits of an Apache-Tomcat-JK
system. The reason I use port 8090 was to verify that the tomcat
installation is ok, as proposed in the installation manual at
http://www.johnturner.com/howto/rh72-howto.html. And indeed, the
verification is successful. The described verification process
proposes to call the server on this port, so I invoked
http://www.myserver.com:9080/examples, which is working. However,
invoking
http://www.myserver.com/examples doesn't. I understand now,
that the port 9080 (or the standard port) is just necessary to invoke
tomcat directly, but not for the mod_jk to work.
Finally Shawn, the aim is to have a Apache with a tomcat module
(mod_jk) and without port 8080/9080, as Juha points out.
What I did so far:
1. I installed the three binary packages as mentioned in my first
posting.
2. I tested the installation. Apache works fine on its own, as does
tomcat on port 9080.
3. I configured server.xml as described in "Final Server
Configuration" of the RedHat Howto at the link given above.
4. I adapted the modJk attributes to the Listener tags to my server
configuration.
5. I changed the name attribute of the Host tag.
6. I made sure the server name of in httpd.conf matches
www.myserver.com
7. I added an "Include ..." line to httpd.conf after the LoadModule
block, but not at the very end (think this doesn't matter).
8. I created a workers.properties file in the conf/jk directory of
tomcat, copy past of the instructions of the howto.
9. I double checked that the mod_jk.conf file does get created upon
startup of tomcat in the conf/auto directory tomcat -> seems ok, as it
contains all sort of virtual hosts and directory directives which seem
to make sense.
10. I looked into the mod_jk.log file in the logs directory of tomcat:
0kb -> no error messages.
11. When I open apache's log/error_log then I see a line
"Apache/2.0.44 (Unix) DAV/2 PHP/4.3.1 mod_jk/1.2.2 configured --
resuming normal operations" upon startup -> the module has been
attached.
12. I restarted Apache and Tomcat several times, starting first
Tomcat, then Apache.
As it did not work, I supposed there may be something wrong with my
manipulatin at the direct-access port of Tomcat. However, I understood
in the meantime, that the mistake(s) must be somewhere else. Any hint,
test idea, debug tipp would be highly appreciated.
At the very end, I would like to attach a jboss module to Apache as
well
Thanks in advance
Daniel Frey