David Ward wrote: > > John, > > I have the same exact setup and had the same exact problem. After > searching the user lists, I found I had to *uncomment* this line in my > httpd.conf file: > #ServerName localhost > > It seems that mod_webapp cares about it, though mod_jk didn't. (The > eapi thing is just a warning, and Apache starts up ok with it. I'm > anxiously waiting for a mod_webapp_eapi.so file to show up on the > jakarta site...) > > However, I'm still having a problem where I can reach my deployed web > applications via port 8080 (directly to tomcat), but I can't reach it > via port 80 (through Apache). The error message is: > > WebApp: Error 404 > (File: wa_request.c Line: 197) > ----------------------------------- > Web-application not yet deployed > ----------------------------------- > > which is lame since I KNOW the app IS deployed (otherwise, I wouldn't be > able to access it at 8080)!!!
No that not is true. The local TC standalone application is deployed under localhost the mod-webapp one is virtualhost: +++ jakarta@vtxclere:~/jakarta-tomcat-4.0/build > ls -l work total 12 drwxr-xr-x 7 jakarta users 4096 Oct 3 12:38 localhost drwxr-xr-x 3 jakarta users 4096 Oct 3 14:22 toto.bcn.fsc.net drwxr-xr-x 3 jakarta users 4096 Oct 3 14:07 vtxclere.bcn.fsc.net +++ Here localhost is the TC standalone the 2 others are mod_webapp results of application deployement. (2 virtual hosts toto and vtxclere). > > If you can get past that, please let me (and the list) know. > > Thanks, > David > > -- > > John Cartwright wrote: > > > Hello All, > > > > I'm trying to establish a connection between apache 1.3.20 and tomcat4 > > using the binary distribution of the mod_webapp connector. > > > > I added the following lines to my httpd.conf file via Include directive: > > > > LoadModule webapp_module modules/mod_webapp.so > > AddModule mod_webapp.c > > WebAppConnection conn warp localhost:8887 > > WebAppDeploy examples conn /examples4 > > WebAppInfo /webapp-info > > > > Tomcat4 is up and seems to be running fine. However, when I try to > > start apache, I get: > > > > Starting httpd: [Tue Oct 2 09:49:36 2001] [warn] Loaded DSO > > modules/mod_webapp.so uses plain Apache 1.3 API, this module might crash > > under EAPI! (please recompile it with -DEAPI) > > Syntax error on line 4 of /var/tomcat4/conf/mod_webapp.conf: > > Invalid virtual host name > > > > This machine is: > > Red Hat Linux release 7.1 (Seawolf) > > Kernel 2.4.3-12smp on a 2-processor i686 > > > > Can someone direct me to what I'm doing wrong? > > > > Thanks! > > > > -- john > > > > > > ===================================================== > > John Cartwright > > Professional Research Assistant / Associate Scientist > > CIRES, SEG/NGDC/NOAA > > (303) 497-6284 > > [EMAIL PROTECTED] > > ===================================================== > > > > -- > > ----------------------------------------------------------------------- > David Ward [EMAIL PROTECTED] > Senior Software Engineer http://www.dotech.com > Distributed Object Technologies, Inc. 716-381-8320 (phone) > 500 Linden Oaks, Rochester, NY 14625 716-381-0598 (fax)