Hello there I have working apache 1.3 connecting to tomcat 4.04 with different virtual hosts (apache httpd) connecting to different tomcat instances.
I would like to combine two of these tomcat instances into one tomcat instance (using one server element) but more than one host element. I seem to be missing something in the configuration (specifically Tomcat seems to use CATALINA_BASE instead of my absolute reference that I used in my appbase) any ideas will be welcome regards Jaco this is my server.xml file: <Server port="8005" shutdown="SHUTDOWN" debug="0"> <Service name="foo.service"> <Connector className="org.apache.catalina.connector.warp.WarpConnector" port="8011" minProcessors="2" maxProcessors="6" enableLookups="true" acceptCount="10" debug="0"/> <Engine className="org.apache.catalina.connector.warp.WarpEngine" name="foo.engine" defaultHost="foo.co.za" debug="0"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="foo.engine." suffix=".txt" timestamp="true"/> <Realm className="org.apache.catalina.realm.MemoryRealm" /> <Host name="foo.co.za" debug="0" appBase="/home/hermanus/foo.co.za/root" unpackWARs="true"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="foo_co_za." suffix=".txt" timestamp="true"/> <Context path="" docBase="ROOT" debug="0" /> </Host> </Engine> </Service> <Service name="bar.service"> <Connector className="org.apache.catalina.connector.warp.WarpConnector" port="8019" minProcessors="2" maxProcessors="6" enableLookups="true" acceptCount="10" debug="0"/> <Engine className="org.apache.catalina.connector.warp.WarpEngine" name="bar.engine" defaultHost="bar.co.za" debug="0"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="bar.engine." suffix=".txt" timestamp="true"/> <Realm className="org.apache.catalina.realm.MemoryRealm" /> <Host name="bar.co.za" debug="0" appBase="/home/hermanus/bar.co.za/root" unpackWARs="true"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="bar_co_za." suffix=".txt" timestamp="true"/> <Context path="" docBase="ROOT" debug="0" /> </Host> </Engine> </Service> </Server> This message contains information intended solely for the addressee, which is confidential or private in nature and subject to legal privilege. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or any file attached to this message. Any such unauthorised use is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the original message from your machine. Furthermore, the information contained in this message, and any attachments thereto, is for information purposes only and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of Dimension Data (South Africa) (Proprietary) Limited or is subsidiaries and associated companies ("Dimension Data"). Dimension Data therefore does not accept liability for any claims, loss or damages of whatsoever nature, arising as a result of the reliance on such information by anyone. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information transmitted electronically and to preserve the confidentiality thereof, Dimension Data accepts no liability or responsibility whatsoever if information or data is, for whatsoever reason, incorrect, corrupted or does not reach its intended destination. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>