tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Grummons <>
Subject RE: Guidenance Please
Date Tue, 15 Jan 2002 15:13:34 GMT
"ServerName" is set to whatever you have it set to in the httpd.conf.  The
fact that you're running two separate Apache instances makes things tricky.
You need the WebAppConnection and WebAppDeploy lines in both of your
httpd.conf files.  The port number you are using, however, is not the Apache
port regular traffic comes in on, its the port that tomcat uses to talk to
apache. Usually 8008.  check what port you have set in your server.xml file
for the warp connetor.  What ever it is, you need to match that port with
the port you specify in each of your httpd.conf files.  And you really only
need to specify the WebAppConnection line once in each httpd.conf file.
Then if you have multiple virtual hosts, you would just add a WebAppDeploy
line for each virtual host.

hope this helps,

In your server.xml set the port 

-----Original Message-----
From: Ansalvish, Dave R []
Sent: Tuesday, January 15, 2002 6:20 AM
To: ''
Subject: Guidenance Please

-----Original Message-----
From: Ansalvish, Dave R 
Sent: Tuesday, January 15, 2002 8:14 AM
To: ''
Subject: Guidenance Please


  First, I want to thank the group the helpful hints I have been receiving,
I'm slowly getting the hang of this TOMCAT/Apache monster.  But, I still
have a few problems and a some questions.


   Tomcat 4.0.1
   Apache 1.3.12
   Solaris 8
   JDK 1.3.1-02

 I'm still trying to intergrate TOMCAT/Apache I have done the following...

 - Downloaded and installed binary into $APACHE_HOME/libexec

 Modified httpsd.conf

  - Added 'LoadModule webapp_module      libexec/' at the end
of all my other
    LoadModule lines.

  - Added 'AddModule mod_webapp.c' after all my other AddModule lines.

  Now for the confusion....

   - We run multiple vitural apache servers on different ports.  For
example, we have a server that
     used non-ssl on port 8600 and after a user get authenticated the user
is switched to a ssl
     connection on port 8601.  So, would I put the following line in the
8601 virtual host section
     and would I need to add a special context line in the server xml.

     WebAppConnection warpConnection warp
     WebAppDeploy examples warpConnection /examples/

   - Another area of confusion I'm having is with the server.xml file.
Within the file it states

 <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" debug="0" appBase="webapps">

      But, where is the local host statement in the line above.  I tried
adding name='mywebserver',
      and when I restarted Apache and TOMCAT my complete Apache web server
hangs and I can't find any 

      So if someone has any good examples of a server.xml and httpsd.conf
that they are willing to share I would appreciated it.  

 Thanks in advance.


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message