AW: Request for clarification - I.E. Tomcat mod_jk installed in Apache

2000-11-03 Thread Ralph Einfeldt

If you would serve your static content by apache
and call your dynamic pages directly from tomcat
you have to think about the following:
An uncomplete braindump of mine:

- You loose the common access.log for all requests
- You would rely on tomcat as a HTTP server
  and the HTTP implementation is possibly not as
  stable as apaches.
- Some clients of your server may not even get
  your dynamic content, because some sysadmins block
  HTTP Request from non standard ports in their 
  firewalls
- apache has some features that are not available for 
  tomcat standalone (mod_rewrite, virtual hosting)
- I think it is not a good policy to put the port number
  in the pages. So you have to implement something to deal
  with this.
- You have two dedicated servers with their own
  administration.

 -Ursprüngliche Nachricht-
 Von: John Bateman [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 2. November 2000 20:34
 An: Tomcat-User (E-mail)
 Betreff: Request for clarification - I.E. Tomcat mod_jk installed in
 Apache
snip/
 Why would I need to put the module 'inside' apache, if I'm 
 required to run Tomcat as a process AND access my servlets 
 on another port? Can I not just run it all off Tomcat 
 standalone? I understand that Apache is more 'configurable' 
 and handles static content better, but, I don't understand
 why I would add Tomcat into apache if I just access the same 
 URL as I would if it was stand alone. Could I not get the 
 same results leaving NOTHING extra inside Apache and 
 referencing my Servlet files on the  8080 port (as
 tomcat stand alone)?
snip/



Request for clarification - I.E. Tomcat mod_jk installed in Apache

2000-11-02 Thread John Bateman

Hi

I've installed the mod_jk module into Apache, everything 'seems' to work
fine. I've also configured a new App called "Servlets" just to test stuff.

When I issue
http://serverIP/Servlets/servlet/SampleCode

The server says "404 cannot find file" and the logs claim "Cannot find file
/path_to_this_context/Servlets/servlet/SampleCode

When I issue:
http://serverIP:8080/Servlets/servlet/SampleCode

The Servlet runs fine.

Why would I need to put the module 'inside' apache, if I'm required to run
Tomcat as a process AND access my servlets on another port? Can I not just
run it all off Tomcat standalone? I understand that Apache is more
'configurable' and handles static content better, but, I don't understand
why I would add Tomcat into apache if I just access the same URL as I would
if it was stand alone. Could I not get the same results leaving NOTHING
extra inside Apache and referencing my Servlet files on the 8080 port (as
tomcat stand alone)?

Hope this wasn't too confusing.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
John Bateman
Cyber World Group Inc.