tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <Jacob.R.Kj...@syntegra.com>
Subject RE: Apache and Tomcat configuration problem
Date Thu, 21 Sep 2000 17:43:57 GMT
Apache doesn't know your %tomcat_home% variable.  You need to spell it out
like this:
 
# Include the configuration for Apache Tomcat 3.1
Include "C:\Program Files\Apache
Group\Jakarta\Tomcat\conf\tomcat-apache.conf"
 
Note the quotes around the whole path.  Also note the backslashes on Winnt.
 
 
Jake

-----Original Message-----
From: Bestor, Joe [mailto:jbestor@enteractivesolutions.com]
Sent: Thursday, September 21, 2000 12:16 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: Apache and Tomcat configuration problem


Windows NT:
    I included the escape characters but the problem was not resolved.
Instead of the old error message the new one is now:
        fopen: no such file or directory
        e:/apachegp/%tomcat_home%/conf/tomcat-apache.conf
 
Thanks for any help.

-----Original Message-----
From: Alistair Hopkins [mailto:alistair@berthengron.co.uk]
Sent: Tuesday, September 19, 2000 1:00 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Apache and Tomcat configuration problem


You need to escape the tomcat_home environment variable:

include %tomcat_home%/conf/tomcat-apache.conf     for Windows
include $tomcat_home/conf/tomcat-apache.conf    for Linux


At 12:21 PM 9/18/00 -0700, you wrote:


> I'm trying to get Tomcat and Apache to work together, but cannot get
apache
> to open
> the corrent Tomcat conf file.
> 
> I have Apache installed at e:\apachegp
> I have Tomcat installed at e:\tomcat
> 
> There exists an environment variable, tomcat_home which points to
e:\tomcat
> 
> Attempting to start apache results in a the following error message:
> fopen: no such file or directory
> apache.exe: could not open document config file
> e:/apachegp/tomcat_home/conf/tomcat-apache.conf
> 
> For some reason apache looks for the conf file in the local directory
rather
> than in e:\tomcat
> 
> Note: the reference to the tomcat conf file is on the last line of the
> apache conf file as follows:
> include tomcat_home/conf/tomcat-apache.conf

Any ideas?


Mime
View raw message