tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacobo Rodríguez <jacobo.rodrig...@avescal.com>
Subject 2 connectors (http and https) and how make manager manage all apps
Date Thu, 10 May 2007 08:40:06 GMT
Hello,

Working with Tomcat 5 and Debian (without Apache as front-end) I have 
two groups of applications. The first one have been configured to work 
through https and the second one with http. My problem is that the 
manager application doesn't detect the http applications, so for 
restarting, stopping and loading them, I have to restart the whole Tomcat.
Here is my Tomcat's server.xml

*<?xml version="1.0" encoding="UTF-8"?>
<Server>
  <Listener className="org.apache.catalina.core.AprLifecycleListener"/>
  <Listener 
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <Listener 
className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <GlobalNamingResources>
    <Environment name="simpleValue"  type="java.lang.Integer"   value="30"/>
    <Resource auth="Container"  description="User database that can be 
updated and saved" 
        name="UserDatabase"  type="org.apache.catalina.UserDatabase" 
pathname="conf/tomcat-users.xml"  
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"/>
  </GlobalNamingResources>
*
*  <Service name="Catalina">
    <Connector port="443" scheme="https" secure="true" 
minSpareThreads="25" clientAuth="false" keystorePass="xxxxxxxxxx"
        keystoreFile="/opt/apache-tomcat-5.5.20/keystores/.keystore" 
maxSpareThreads="75" maxThreads="150" sslProtocol="TLS"/>  
    <Engine defaultHost="localhost" name="Catalina">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
      <Host appBase="webappsStandard" name="localhost"/>
    </Engine>
  </Service>

  <Service name="webappsGIS">
    <Connector port="80" maxHttpHeaderSize="8192"  maxThreads="150" 
minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" 
acceptCount="100"  connectionTimeout="20000" disableUploadTimeout="true"
               compression="on"  
compressableMiMeType="test/html,text/xml,text/plain,application/xml,application/pdf"/>
    <Engine defaultHost="geoserver" name="webappsGIS">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
        <Host appBase="gis" name="geoserver"/>
    </Engine>
  </Service>*
*</Server>*

Best regards,
Jacobo.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message