You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Kelley <Mi...@M-V-T.COM> on 2001/11/12 18:50:59 UTC

Tying tomcat and apache together

I'm new to the user list and I'm reading through the archive so don't kill
me for asking before "RTFM"
I'm on a W2K machine
Using apache 1.3.22
Using Tomcat 4.0
Using j2sdk1.3.1_01
Apache is up and working 
Tomcat is up and running

Ive added 
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples
WebAppDeploy jsp conn /jsp
WebAppInfo /webapp-info


If I use 
Localhost/
I get default apache page

Localhost:8080/
I get default tomcat page

Localhost/examples/jsp
Gets me a "Page Not Found"

Localhost:8080/examples/jsp
Gets the expected examples

I followed the install instructions from apacheweek 268, I'm checking the
archive nothing yet. 

Any Help?

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tying tomcat and apache together

Posted by Steve Gass <sg...@gass.com>.
Mike Kelley wrote:
> 
> 
> Localhost/examples/jsp
> Gets me a "Page Not Found"

Try: Localhost/examples/jsp/

The need for the trailing slash is listed as a bug, although I'm not
sure it really is one.

Steve

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tying tomcat and apache together

Posted by David Smith <dn...@cornell.edu>.
I've seen posts that mod_webapp is not yet stable on Win* based machines.  
Basically the effort to date seems to have been to take care of the big stuff 
in the various *nix platforms instead.  I use it in a Linux platform and it 
performs exactly as you are implementing it below.  At least for the time 
being, mod_jk may be the best option for people running TC 4.0.1 in the Win* 
environment.  Docs and binaries are available in the TC 3.3 section of the 
Jakarta site I think.

--David Smith

On Monday 12 November 2001 12:50 pm, you wrote:
> I'm new to the user list and I'm reading through the archive so don't kill
> me for asking before "RTFM"
> I'm on a W2K machine
> Using apache 1.3.22
> Using Tomcat 4.0
> Using j2sdk1.3.1_01
> Apache is up and working
> Tomcat is up and running
>
> Ive added
> LoadModule webapp_module modules/mod_webapp.so
> AddModule mod_webapp.c
>
> WebAppConnection conn warp localhost:8008
> WebAppDeploy examples conn /examples
> WebAppDeploy jsp conn /jsp
> WebAppInfo /webapp-info
>
>
> If I use
> Localhost/
> I get default apache page
>
> Localhost:8080/
> I get default tomcat page
>
> Localhost/examples/jsp
> Gets me a "Page Not Found"
>
> Localhost:8080/examples/jsp
> Gets the expected examples
>
> I followed the install instructions from apacheweek 268, I'm checking the
> archive nothing yet.
>
> Any Help?
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>