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 20:28:31 GMT
Hmmm... I'm stumped on that one.  It seemed to work fine for me.  Even
tracked my guess correctly when I hit "back" and then guessed again from the
previous page.  
 
Anyone else having problems with this sort of thing???  sounds like a
session var problem.
 
 
Jake

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


The tracking of guesses always stopped at one. So guess 2 and on would still
say 1 guess, however, the color of the fg and bg would change based on my
guess and on the guess number, the higher or lower would change as well.

-----Original Message-----
From: Jacob Kjome [mailto:Jacob.R.Kjome@syntegra.com]
Sent: Thursday, September 21, 2000 1:16 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: Apache and Tomcat configuration problem


Actually, I meant what is the behavior of the color and number guessing
.jsp's?  For instance (just hypothetical) did you guess 3 numbers and the
jsp kept track of that, but all of a sudden on your 4th guess it said you
had 5 guesses or something????
 
I'm sure your config is fine since the jsp's are actually running.  I'm just
trying to get at the behavior you discribed.  Can you give more detail?
 
 
jake

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


Using
    Apache 1.3.12 (win32) - installed at e:\apachegp
    Tomcat 3.1 - unzipped to e:\apachegp\
    ApacheModuleJServ.dll (64KB) - copied to e:\apachegp\apache\modules\
 
NT Evironment variables:
TOMCAT_HOME     E:\ApacheGp\jakarta-tomcat
ANT_HOME            E:\ApacheGp\jakarta-tomcat
JAVA_HOME          E:\JDK1.3.0
CLASSPATH
e:\JMF2.1\lib\sound.jar;e:\JMF2.1\lib\jmf.jar;%JAVA_HOME%\lib\tools.jar;C:\W
INNT\java\classes;.
 
Files modified:
e:\apachegp\apache\conf\httpd.conf ( added line: ServerName localhost )
e:\apachegp\apache\conf\httpd.conf ( added line at end: Include
"e:/apachegp/jakarta-tomcat/conf/tomcat-apache.conf" )
 
Test configuration:
start tomcat
start apache
visit http://localhost/ <http://localhost/> 
visit http://localhost/examples/jsp/ <http://localhost/examples/jsp/> 
select the different jsps by their corresponding Execute hotspot
 
Thats about it...am I leaving any configuration steps out?
 
Joe
 

-----Original Message-----
From: Jacob Kjome [mailto:Jacob.R.Kjome@syntegra.com]
Sent: Thursday, September 21, 2000 12:35 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: Apache and Tomcat configuration problem


Which version of Tomcat are you using?  I have 3.1 installed at work and
3.2b3 installed at home.
 
On 3.1, it seemed to track my guesses just fine.  Can you describe further
how the behavior can be reproduced?
 
Jake

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


Yes thanks, I discovered the solution 30 minutes ago when looking at the
appendix A of
Professional JSP book. The appendix walks you through the installation of
apache and
tomcat as well as some configuration. Afterwards I was able to view some
sample JSPs,
however, it was not tracking properly how many times I made a guess on the
colors JSP
and how many times I tried to guess a number between 1 and 100. Any ideas?

-----Original Message-----
From: Jacob Kjome [mailto:Jacob.R.Kjome@syntegra.com]
Sent: Thursday, September 21, 2000 10:44 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: Apache and Tomcat configuration problem


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