tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: Problems with mod_webapp
Date Wed, 30 Jan 2002 08:16:39 GMT
Erik Lotspeich wrote:
> 
> Punky,
> 
> I have defined the ServerName directive.  If I don't define it, then I get
> an error message telling me that it is not set.
> 
> The relevant part of the Apache configuration file follows:
> 
> LoadModule webapp_module libexec/mod_webapp.so
> AddModule mod_webapp.c
> 
> <IfModule mod_webapp.c>
>     WebAppConnection conn      warp  localhost:8008
>     WebAppDeploy     examples  conn  /examples
> </IfModule>


That is not enought to tell what is wrong... You have put this in a  VirtualHost
something like:
+++ 
<VirtualHost 172.25.182.35:443>
ServerName localhost
WebAppConnection  warpConnection warp 127.0.0.1:8008
 
WebAppInfo /info

WebAppDeploy examples warpConnection /examples/
#WebAppDeploy servlet-tests.war warpConnection /servlet-tests/
#WebAppDeploy jsp-tests.war warpConnection /jsp-tests/
 
</VirtualHost>
+++

It would be nice to now what were the compiling errors you complained about ;-)

> 
> Thanks for your help,
> 
> Erik.
> 
> On Wed, 30 Jan 2002, Punky Tse wrote:
> 
> > Something like you haven't defined ServerName directive.  It is required for
> > mod_webapp for some reasons.
> >
> > Can you show me the httpd.conf?
> >
> > - Punky
> >
> > ----- Original Message -----
> > From: "Erik Lotspeich" <erik@elctech.com>
> > To: <tomcat-dev@jakarta.apache.org>
> > Sent: Wednesday, January 30, 2002 2:39 AM
> > Subject: Problems with mod_webapp
> >
> >
> > > I have successfully compiled Jakarta Tomcat 4 and gotten it up and
> > > running.  My problem is with mod_webapp.
> > >
> > > I've compiled mod_webapp with debugging flags.  After fixing the Makefile
> > > which fails to link against the pthread library properly, I receive the
> > > following output when trying to start Apache.
> > >
> > > [Mon Jan 28 15:58:22 2002] 2606 (wa_main.c:77) WebApp Library initializing
> > > [Mon Jan 28 15:58:22 2002] 2606 (wa_main.c:81) Initializing APR
> > > [Mon Jan 28 15:58:22 2002] 2606 (pr_info.c:66) INFO provider initialized
> > > [Mon Jan 28 15:58:22 2002] 2606 (pr_warp.c:62) WARP provider initialized
> > > [Mon Jan 28 15:58:22 2002] 2606 (wa_main.c:101) WebApp Library initialized
> > > [Mon Jan 28 15:58:22 2002] 2606 (wa_config.c:167) Created connection
> > "conn" (Prov: "warp" Param: "localhost:8008")
> > > [Mon Jan 28 15:58:22 2002] 2606 (wa_config.c:126) Created virtual host
> > "flamehawk.lotspeich.org:8080"
> > > [Mon Jan 28 15:58:22 2002] 2606 (wa_config.c:100) Created application
> > "examples" in path "/examples/"
> > > [Mon Jan 28 15:58:22 2002] 2606 (wa_main.c:187) Application examples
> > deployed for http://flamehawk.lotspeich.org:8080/examples/ (Conn: conn)
> > > bin/apachectl start: httpd started
> > >
> > > httpd quits right after it starts and before printing any error messages
> > > in the logs.
> > >
> > > Does anyone have any suggestions?  Any recomendations for how to build
> > > mod_webapp properly?
> > >
> > > Any help would be greatly appreciated,
> > >
> > > Thanks,
> > >
> > > Erik.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:tomcat-dev-help@jakarta.apache.org>
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> >
> >
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message