Apache Server configuration support - Apache http virtual hosts compared to Tomcat

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2004 > Apache http virtual hosts compared to Tomcat





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache http virtual hosts compared to Tomcat
dSchwartz

2004-08-18, 7:54 am

I have apache http server running several different virtual hosts on
different ports. I just installed tomcat 5 so I can learn some java
stuff (mainly jsp's), but I'd like to set up some seperate websites
under tomcat so I can use virtual paths.

apache http serves:
http://localhost:8081
http://localhost:8082
http://localhost:8083

I'd then like tomcat to serve:
http://localhost:8085
http://localhost:8086

is this possible (WITHOUT using mod_jk or any other connectors) or is
there any other way i can serve multiple sites with tomcat that will
allow me to use virtual paths in?

TIA
Davide Bianchi

2004-08-18, 7:54 am

On 2004-08-18, dSchwartz <schwartz@cableone.net> wrote:
> I'd then like tomcat to serve:
> http://localhost:8085
> http://localhost:8086


Configure TomCat to listen to those ports and use a different
context on them. See the documentation for tomcat.

Davide

--
Clairvoyant, n.:
A person, commonly a woman, who has the power of seeing that
which is invisible to her patron -- namely, that he is a blockhead.
-- Ambrose Bierce
dSchwartz

2004-08-19, 2:54 am

> Configure TomCat to listen to those ports and use a different
> context on them. See the documentation for tomcat.



okay, well I'm looking at documentation:
http://jakarta.apache.org/tomcat/to...ager-howto.html

and I've managed to get into the Tomcat Web Application Manager and
have added an application. under the deploy section i put
"file:/j606" into the 'WAR or Directory URL' field and left the other
2 fields blank. That added an application for me:
OK - Deployed application at context path /j606

but when I hit the Start link for it I get the message:
"FAIL - Application at context path /j606 could not be started"

I'm kinda stumped about what I need to do next. I could really use
some help here. Thanks for your time.
dSchwartz

2004-08-24, 7:15 pm

> Configure TomCat to listen to those ports and use a different
> context on them. See the documentation for tomcat.



okay, well I'm looking at documentation:
http://jakarta.apache.org/tomcat/to...ager-howto.html

and I've managed to get into the Tomcat Web Application Manager and
have added an application. under the deploy section i put
"file:/j606" into the 'WAR or Directory URL' field and left the other
2 fields blank. That added an application for me:
OK - Deployed application at context path /j606

but when I hit the Start link for it I get the message:
"FAIL - Application at context path /j606 could not be started"

I'm kinda stumped about what I need to do next. I could really use
some help here. Thanks for your time.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com