tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahesh S Kudva" <mahesh.ku...@robosoftin.com>
Subject Re: Tomcat SSL and Virtual Domains
Date Sat, 03 Sep 2005 16:59:48 GMT
I had a similar issue. I too had a doubt in servr.xml. Search the archives for the 
topic "Virtual Hosting with WAR files". I've posted in detail what the configurations 
that helped me with virtual hosting.

Hope it helps you too

Regards & Thanks
================
Mahesh S Kudva


-----Original Message-----
From: Dawn Blaine <dblaine@awadd.com>
To: Dawn Blaine <dblaine@awadd.com>
Cc: tomcat-user@jakarta.apache.org
Date: Sat, 03 Sep 2005 11:45:12 -0500
Subject: Tomcat SSL and Virtual Domains

> We are running tomcat 4 standalone.  I have things running fine with
> one 
> host but now we need
> to add two more virtual hosts.  I am pretty sure the problem is with my
> server.xml file but I
> haven't been able to figure it out.  I have read through the docs and 
> looked through the postings and I'm still stuck.
> 
> Can someone help me out here?  Please?
> 
> 
> 
> Here's the file:
> Server is running and the sterling domain is fine.  Just the others
> that 
> have problems.
> 
> 
> Thank you in advance
> 
> D Blaine
> 
> 
> 
> <Server port="8005" shutdown="SHUTDOWN" debug="0">
> 
> <Service name="Tomcat-Standalone">
> 
>    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>               port="8080" minProcessors="5" maxProcessors="75"
>               enableLookups="false" redirectPort="8443"
>               acceptCount="100" debug="0" connectionTimeout="20000"
>               useURIValidationHack="false" disableUploadTimeout="true"
> />
> <!--
>    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>               port="8009" minProcessors="5" maxProcessors="75"
>               enableLookups="false" redirectPort="8443"
>               acceptCount="10" debug="0" connectionTimeout="0"
>               useURIValidationHack="false"
>               
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> -->
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>               port="8443" minProcessors="5" maxProcessors="75"
>               enableLookups="false"
>           acceptCount="100" debug="0" scheme="https" secure="true"
>               useURIValidationHack="false" disableUploadTimeout="true">
>      <Factory 
> className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory" 
> keystoreFile="/home/svhrs-1/keystore.kdb" clientAuth="false" 
> protocol="TLS"/>
> </Connector>
> <!--
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>               port="8443" minProcessors="5" maxProcessors="75"
>               enableLookups="false"
>           acceptCount="100" debug="0" scheme="https" secure="true"
>               useURIValidationHack="false" disableUploadTimeout="true">
>      <Factory 
> className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory" 
> keystoreFile="/home/kinres/ssl2/keystore1.kdb" keystorePass="kinseth" 
> clientAuth="false" protocol="TLS"/>
> </Connector>
> -->
>   <Engine name="Standalone" 
> defaultHost="sterling-vizcaya-hotel-reservations-sacramento.com"
> debug="0">
> 
>       <Logger className="org.apache.catalina.logger.FileLogger"
>              prefix="catalina_log." suffix=".txt"
>              timestamp="true"/>
> 
>      <Host 
> appBase="/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento-w
> ww/webapps" 
> unpackWARs="true" autoDeploy="true" debug="0" 
> name="sterling-vizcaya-hotel-reservations-sacramento.com">
>        <Valve className="org.apache.catalina.valves.AccessLogValve" 
> pattern="common" prefix="access-log" 
> directory="/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento
> -logs" 
> />
>        <Context 
> path="/home/svhrs-1/sterling-vizcaya-hotel-reservations-sacramento-www/
> webapps/hotel" 
> docBase="hotel" privileged="true" debug="0" >
> <Manager className="org.apache.catalina.session.PersistentManager"
>              debug="0"
>              saveOnRestart="true"
>              maxActiveSessions="-1"
>              minIdleSwap="-1"
>              maxIdleSwap="-1"
>              maxIdleBackup="-1">
>                <Store
> className="org.apache.catalina.session.FileStore"/>
>          </Manager>
> <Environment name="maxExemptions" type="java.lang.Integer"
>                      value="15"/>
> </Context>
>      </Host>
> 
> 
> <Host appBase="/home/kinres/esavvy-reservations-www/webapps" 
> unpackWARs="true" autoDeploy="true" debug="0" 
> name="esavvy-reservations.com">
>          <Valve className="org.apache.catalina.valves.AccessLogValve" 
> pattern="common" prefix="access-log" 
> directory="/home/kinres/esavvy-reservations-logs" />
>        <Context 
> path="/home/kinres/esavvy-reservations-www/webapps/esavvyres" 
> docBase="esavvyres" privileged="true" debug="0" >
> <Manager className="org.apache.catalina.session.PersistentManager"
>              debug="0"
>              saveOnRestart="true"
>              maxActiveSessions="-1"
>              minIdleSwap="-1"
>              maxIdleSwap="-1"
>              maxIdleBackup="-1">
>                <Store
> className="org.apache.catalina.session.FileStore"/>
>          </Manager>
> <Environment name="maxExemptions" type="java.lang.Integer"
>                      value="15"/>
> </Context>
>      </Host>
> 
> <Host appBase="/home/esavvy/esavvysystems-www/webapps"
> unpackWARs="true" 
> autoDeploy="true" debug="0" name="esavvysystems.com">
>        <Valve className="org.apache.catalina.valves.AccessLogValve" 
> pattern="common" prefix="access-log" 
> directory="/home/esavvy/esavvysystems-logs" />
>        <Context path="/home/esavvy/esavvysystems-www/webapps/esavvyres"
> docBase="esavvyres" privileged="true" debug="0" >
> <Manager className="org.apache.catalina.session.PersistentManager"
>              debug="0"
>              saveOnRestart="true"
>              maxActiveSessions="-1"
>              minIdleSwap="-1"
>              maxIdleSwap="-1"
>              maxIdleBackup="-1">
>                <Store
> className="org.apache.catalina.session.FileStore"/>
>          </Manager>
> <Environment name="maxExemptions" type="java.lang.Integer"
>                      value="15"/>
> </Context>
>      </Host>
> 
> -->
>    </Engine>
> 
>  </Service>
> 
> 
> </Server>
> 
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


-------------------------------------------------------
Robosoft Technologies - Partners in Product Development


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message