Re: [OT] Apache and Tomcat together
14.01.2004 09:55 : Security! Many-to-many configuration! Graham Reeds wrote: Something that has puzzled me for a few weeks now, and that is why use Tomcat and Apache together? Tomcat serves up HTML pages as well JSP so where is the benefit in running both? Even if Apache was faster at serving regular html pages than Tomcat surely the milliseconds gained would be eaten away by the latency of the connection speed? Actually there are cases were it is more secure running only tomcat. By configuring a Realm, you can make the static html-pages served by tomcat be accessed by only users who have logged in through a webapp cofigured to use the same realm. Using apache (httpd) and Tomcat together, through jk2, doesn't enable this, afaik. Also; instead of having three points of failure (httpd, mod_jk2 and tomcat), the tomcat only scheme gives you only one (plus your own apps of course). It also lessens the threshold in getting things running on linux, as I have seen a fair amount of trouble compiling/configuring mod_jk2 on that platform. We switched to using only tomcat. An apache benchmark (using ab.exe) showed only minor differences in access time. I guess Tomcat will use more memory than Apache httpd. Other disadvantages? -- Olve S. Hansen Intermedia (http://www.intermedia.uib.no) Tlf: 55 58 83 96 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
server-status in tomcat
I have searched around for a component similar to the server-status mod in Apache httpd, but cannot find anything similar. Does anyone know if such a component exists? I have just ditched the httpd with forwarding to tomcat via mod_jk2, as we experienced some weird behaviour with apache 2.0.47. In high load situations it took very long time for it to serve static binary files. Tomcat proved much better, but I miss the server-status module. Anyone? Btw, I use the Tomcat integrated in JBoss, but such a component should work on both, right? Thanks. -- Olve S. Hansen Intermedia (http://www.intermedia.uib.no) Tlf: +47 55 58 83 96 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: server-status in tomcat
Olve S. Hansen wrote: I have searched around for a component similar to the server-status mod in Apache httpd, but cannot find anything similar. Does anyone know if such a component exists? I have just ditched the httpd with forwarding to tomcat via mod_jk2, as we experienced some weird behaviour with apache 2.0.47. In high load situations it took very long time for it to serve static binary files. Tomcat proved much better, but I miss the server-status module. 12.01.2004 13:36 : The manager app will give you status info. -Tim I am aware of that. But it doesn't give me the kind of status info as the server-status info given by httpd. http://www.apache.org/server-status This I can get a quick view of the server load, as well as what is being accessed... My question was if someone knows about a similar application of module for tomcat. I would really appreciate it. Thanks. -- Olve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]