tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve <st...@hideoushog.com>
Subject Re: New user, help!
Date Wed, 22 Jun 2005 15:48:53 GMT
I am a newbie at this stuff also, and as I understand, for development I 
do not need to install Apache at all. Tomcat will act as a static web 
page server. I am using eclipse so I dont even want Apache installed. 
Just redirect everything to localhost:8080

Steve

Jon Wingfield wrote:

> You need some JkMount directives to tell Apache which requests to 
> forward to Tomcat.
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html
>
> Jon
>
> Katherine Faella wrote:
>
>> I am a new user of Apache and of Tomcat.  I am using a Redhat AS 4.0 
>> system.  I am running Apache V2.0.54  and my version of Tomcat is 
>> 5.5.9. I believe my apache installation is okay because when I go to 
>> localhost I see the apache welcome screen.  When I go to 
>> localhost:8080 I see the Tomcat welcome screen.   For a short while, 
>> when I went to localhost I actually saw the Tomcat welcome screen and 
>> could run the samples there. The only thing missing were the Tomcat 
>> icons etc.
>>
>> However,  I have "improved" my installation to the point where tomcat 
>> is no longer serving for apache, ie. at localhost I see the apache 
>> welcome screen.  When I peer around at various log files I do not see 
>> any obvious errors.  Needless to say - I am going nowhere!
>>
>> Can anyone help me?  Point me in the right direction at least?!
>>
>> Thanks in advance,
>> Kathy Faella
>> University of Rhode Island
>>
>> a netstat -ln returns:
>> Active Internet connections (only servers)
>> Proto Recv-Q Send-Q Local Address               Foreign Address State
>> tcp        0      0 0.0.0.0:111                 0.0.0.0:* LISTEN
>> tcp        0      0 127.0.0.1:631               0.0.0.0:* LISTEN
>> tcp        0      0 127.0.0.1:25                0.0.0.0:* LISTEN
>> tcp        0      0 ::ffff:127.0.0.1:8005       :::* LISTEN
>> tcp        0      0 :::8009                     :::* LISTEN
>> tcp        0      0 :::80                       :::* LISTEN
>> tcp        0      0 :::8080                     :::* LISTEN
>> tcp        0      0 :::22                       :::* LISTEN
>> udp        0      0 0.0.0.0:111             0.0.0.0:*
>> udp        0      0 0.0.0.0:631             0.0.0.0:*
>> udp        0      0 198.168.1.76:123        0.0.0.0:*
>> udp        0      0 131.128.1.76:123        0.0.0.0:*
>> udp        0      0 127.0.0.1:123           0.0.0.0:*
>> udp        0      0 0.0.0.0:123             0.0.0.0:*
>> udp        0      0 :::123                  :::*
>> Active UNIX domain sockets (only servers)
>> Proto RefCnt Flags       Type       State         I-Node Path
>> unix  2      [ ACC ]     STREAM     LISTENING     5899   /dev/gpmctl
>> unix  2      [ ACC ]     STREAM     LISTENING     5986 
>> /tmp/.font-unix/fs7100
>> unix  2      [ ACC ]     STREAM     LISTENING     5515 
>> /var/run/acpid.socket
>> unix  2      [ ACC ]     STREAM     LISTENING     6062 
>> /var/run/dbus/system_bus_socket
>>
>>
>> ***  To the default httpd.conf I added:
>>
>> LoadModule jk_module modules/mod_jk.so
>>
>> #
>> # Configure mod_jk    *** kmf ***
>> #
>>
>>
>> JkWorkersFile "/usr/local/apache2/conf/workers.properties"
>> JkLogFile "/usr/local/apache2/logs/mod_jk.log"
>> JkLogLevel info
>>
>> JkShmFile "/var/log/httpd/jkshmfile"
>> JkShmSize 20M
>>
>> *** my workers.properties  ***
>>
>> # workers.properties.minimal -
>> #
>> # This file provides minimal jk configuration properties needed to
>> # connect to Tomcat.
>> #
>> # The workers that jk should create and work with
>> #
>> worker.list=loadbalancer
>>
>> #
>> # Defining a worker named ajp13w and of type ajp13
>> # Note that the name and the type do not have to match.
>> #
>> worker.ajp13w.type=ajp13
>> worker.ajp13w.host=localhost
>> worker.ajp13w.port=8009
>>
>> # add any new workers to the list here to have them balanced
>> worker.loadbalancer.type=lb
>> worker.loadbalancer.balanced_workers=ajp13w
>>
>> workers.tomcat_home=/usr/local/src/jakarta-tomcat-5.5.9
>> workers.java_home=/usr/java/jdk1.5.0_03
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>


-- 
Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS
cellular 07791766560, 
landline: 01962 881924


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message