> I am running Tomcat 5.5.2 as a stand-alone server with 14 separate > services. This is done to run 14 different sites but share 7 ssl > certs. The problem I am having is when I run my script to bounce the > tomcat server only the first 3 or 4 services get restarted. Does > anyone happen to have any explanation for this? > > Here is my script > ****************** > ip=/usr/local/bin/ice > tc_dir=/usr/tomcat/apache-tomcat-5.5.20/bin > > if [ $# -eq 1 ] > then > tc_oper=$1 > else > echo -e "Enter start, stop, or bounce: \c" > read tc_oper > fi > > case $tc_oper in > "start") > $tc_dir/startup.sh > ;; > "stop") > $tc_dir/shutdown.sh > ;; > "bounce") > $tc_dir/shutdown.sh > $tc_dir/startup.sh > ;; > *) > echo "Invalid operation you must enter stop start or bounce: > Exiting." > exit > ;; > esac > ****************** > > All of the services are exactly the same and here is a snapshot of one > from the server.xml file > ****************** > <Service name="xxxxxx"> > <Connector address="xxx.xx.xxx.xx" port="80" redirectPort="443"/> > > <!-- Define a SSL HTTP/1.1 Connector on port 443 --> > > <Connector address="xxx.xx.xxx.xx" port="443" > maxHttpHeaderSize="8192" > maxThreads="150" minSpareThreads="25" > maxSpareThreads="75" > enableLookups="false" disableUploadTimeout="true" > acceptCount="100" scheme="https" secure="true" > clientAuth="false" sslProtocol="SSL" > keystoreFile="/usr/local/bin/ice/sslcerts/.dewalive" > keystorePass="tick17" algorithm="IbmX509" /> > > <Engine name="xxxxxx" defaultHost="xxxx.xxxx.xxx"> > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" > resourceName="UserDatabase" /> > > <!-- This Host is the "Virtual Host": --> > <Host name="xxxx.xxxx.xxx" appBase="/usr/xxxxxxxxx/xxxx"> > <Alias>xxx.xx.xxx.xx</Alias> > > <Valve className='org.apache.catalina.valves.AccessLogValve' > directory='/usr/xxxxxxxxx/xxxx/logs' > prefix='xxxx_access.' > suffix='.log' > pattern='common'/> > > <Logger className='org.apache.catalina.logger.FileLogger' > directory='/usr/xxxxxxxxx/xxxx/logs' > prefix='xxxx_catalina.' > suffix='.log' > timestamp='true'/> > > <Context path="/" debug="5" docBase="/usr/xxxxxxxxx/xxxx" > privileged="true" /> > > <Context path="/manager" debug="5" > docBase="/usr/tomcat/apache-tomcat-5.5.20/server/webapps/manager" > privileged="tr > ue" /> > </Host> > > </Engine> > > </Service> > ******************