tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Etienne Deleflie <>
Subject mod_webapp causes 2 instances of the one webapp
Date Mon, 13 Jan 2003 03:22:37 GMT

I am using mod_webapp to connect Apache 2.0.43 to Tomcat 4.0.1

Problem is that both Tomcat AND Apache each cause an instance of the 
same webapp. So the one webapp is instantiated twice (this breaks all 
sorts of socket stuff we have in our webapp)

there is a reference to this problem (in the tomcat-dev archives) here:

... but I cant work out how to change my config to make sure that only 1 
  instance of the webapp is created.

can anyone help ?

below is my server.xml, and my httpd.conf



   <Service name="Tomcat-Apache">

     <Connector className="org.apache.catalina.connector.warp.WarpConnector"
      port="8008" minProcessors="5" maxProcessors="75"
      acceptCount="10" debug="0"/>

     <Engine className="org.apache.catalina.connector.warp.WarpEngine"
      name="Apache" debug="0" appBase="webapps">

       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="apache_log." suffix=".txt"

       <Realm className="org.apache.catalina.realm.MemoryRealm" />





<IfModule mod_webapp.c>
	WebAppConnection conn warp xenakis:8008
	WebAppDeploy myWebapp conn /plug/
	WebAppInfo info



any help is appreciated


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message