My main server is Dingo.Home.. But the virtual server I want to put
under JSP is its.home. Will that matter? Do I need to put the
its.home:82 (the port it's assigned to) in the WebAppConnection
statement? It's not real clear in the documentation. And by that
assumption, I put the its.home in the Engine statement's Name
attribute..?

THanks for all your help!

On Mon, 2002-04-29 at 11:18, Adrian wrote:

    Servername under Apache2 has to be dingo.home:80
    grep server.xml for webapp, you find the necessary config there. (See below)
    
    
    
    <!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
           as its servlet container. Please read the README.txt file coming with
           the WebApp Module distribution on how to build it.
           (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    
           To configure the Apache side, you must ensure that you have the
           "ServerName" and "Port" directives defined in "httpd.conf".  Then,
           lines like these to the bottom of your "httpd.conf" file:
    
             LoadModule webapp_module libexec/mod_webapp.so
             WebAppConnection warpConnection warp localhost:8008
             WebAppDeploy examples warpConnection /examples/
    
           The next time you restart Apache (after restarting Tomcat, if needed)
           the connection will be established, and all applications you make
           visible via "WebAppDeploy" directives can be accessed through Apache.
      -->
    
      <!-- Define an Apache-Connector Service -->
      <Service name="Tomcat-Apache">
    
        <Connector className="org.apache.catalina.connector.warp.WarpConnector"
         port="8008" minProcessors="5" maxProcessors="75"
         enableLookups="true" appBase="webapps"
         acceptCount="10" debug="0"/>
    
        <!-- Replace "localhost" with what your Apache "ServerName" is set
    to -->
        <Engine className="org.apache.catalina.connector.warp.WarpEngine"
         name="Apache" debug="0">
    
    change Apache to dingo.home or dingo.home:80 , I think localhost will also
    work, I`m on a different machine right now.
    make sure you
    apachectl stop
    
    then startup.sh in tomcat/bin
    
    then apachectl start
    
    
    
    
    ----- Original Message -----
    From: David A. Bartmess <[EMAIL PROTECTED]>
    To: Tomcat Users List <[EMAIL PROTECTED]>
    Sent: Monday, April 29, 2002 10:55 AM
    Subject: Re: [Fwd: Object Not Found.. Tomcat won't connect]
    
    
    > Actually, I have 3 Virtual Servers, the relevant httpd.conf parts are
    > below... Thanks for any help!
    >
    > ServerName Dingo.Home
    > DocumentRoot /var/www/html/
    > <Directory "/var/www/html/">
    >
    > Listen 10.0.0.3:80
    > Listen 10.0.0.4:80
    > Listen 10.0.0.5:80
    > Listen 127.0.0.1
    > LoadModule mod_webapp /usr/local/apache2/modules/mod_webapp.so
    > AddModule mod_webapp.c
    >
    > <VirtualHost eDingo.Home>
    >         ServerAdmin [EMAIL PROTECTED]
    >         ServerName eDingo.Home
    >         DocumentRoot /var/www/html/edingo.net
    >         Options ExecCgi Includes FollowSymlinks
    > </VirtualHost>
    > <VirtualHost its.Home>
    >         Options ExecCgi Includes FollowSymlinks
    >         ServerAdmin [EMAIL PROTECTED]
    >         ServerName its
    >         DocumentRoot /var/www/html/its
    >         WebAppConnection warpConnection warp localhost:8008
    >         WebAppDeploy examples warpConnection /examples
    > </VirtualHost>
    > <VirtualHost Dingo.Home>
    >         Options ExecCgi Includes FollowSymlinks
    >         ServerAdmin [EMAIL PROTECTED]
    >         ServerName Dingo.Home
    >         DocumentRoot /var/www/html
    > </VirtualHost>
    > <Directory /var/www/html>
    >         Options ExecCgi Includes FollowSymlinks
    > </Directory>
    > <Directory /var/www/html/edingo.net>
    >         Options ExecCgi Includes FollowSymlinks
    > </Directory>
    > <IfModule mod_webapp.c>
    >     WebAppConnection warpConnection warp localhost:8008
    >     WebAppMount examples warpConnection /examples/
    >     WebAppMount manager warpConnection /manager/
    >     WebAppMount webdav warpConnection /webdav/
    > </IfModule>
    >
    > On Sun, 2002-04-28 at 14:24, adrianthiele wrote:
    >
    >     David A. Bartmess wrote:
    >
    >     >-----Forwarded Message-----
    >     >
    >     >From: David A. Bartmess <[EMAIL PROTECTED]>
    >     >To: [EMAIL PROTECTED]
    >     >Subject: Object Not Found.. Tomcat won't connect
    >     >Date: 28 Apr 2002 10:36:06 -0600
    >     >
    >     >I've setup Tomcat 4.0.3 on top of Apache 2.0.35, and modified the
    httpd.conf
    >     >as the documentation says.
    >     >
    >     >I downloaded mod_webapps-0.5 from rpmfind, and installed it, and
    modified the
    >     >httpd.conf to match with "LoadModule mod_webapp
    modules/mod_webapp.so", and
    >     >"AddModule mod_webapp.c".
    >     >
    >     >But when I try to hit the site examples (the webapps directory was
    copied from
    >     >the original Tomcat installation), it says "Object Not Found".
    >     >
    >     >What am I doing wrong? I've checked all the FAQs, and I can bring up
    Tomcat as
    >     >standalone and it works fine. But the Apache integration docs leave
    MUCH to
    >     >be desired...
    >     >
    >     >TIA!
    >     >
    >     >
    >     What did you add to httpd.conf ? did you add port 80 to the servername
    ?
    >     Did you edit the server.xml file to include the name of the apache
    >     server on the webapp connector ?
    >     Adrian
    >
    >
    >     --
    >     To unsubscribe:   <mailto:[EMAIL PROTECTED]>
    >     For additional commands: <mailto:[EMAIL PROTECTED]>
    >     Troubles with the list: <mailto:[EMAIL PROTECTED]>
    >
    >
    >
    > David A. Bartmess IT Samaritans
    > Helping Non-Profits Achieve Technical Excellence Software Configuration
    > Manager / Sr. Software Developer eDingo.net
    >
    
    
    
    --
    To unsubscribe:   <mailto:[EMAIL PROTECTED]>
    For additional commands: <mailto:[EMAIL PROTECTED]>
    Troubles with the list: <mailto:[EMAIL PROTECTED]>
    
    

David A. Bartmess IT Samaritans
Helping Non-Profits Achieve Technical Excellence Software Configuration
Manager / Sr. Software Developer eDingo.net

Reply via email to