Re: New user, help!
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 tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New user, help!
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 tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962 881924 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New user, help!
Firtst read java / j2ee / jsp and some tutorials ... http://www.tusc.com.au/tutorial/html is a good place to start Guru -Original Message- From: Steve [mailto:[EMAIL PROTECTED] Sent: 22 June 2005 16:49 To: Tomcat Users List Subject: Re: New user, help! 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 tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962 881924 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New user, help!
Thanks Mind you though, the introduction to this document says *Prerequisites for this tutorial.* Before you start this tutorial, you should ideally have a working knowledge of *Java technology, XML, J2EE technology and some exposure to SQL, JDBC concepts, and Xdoclet (Attribute Oriented Programming)*. Even if you are new to a lot of this then don't panic – just expect to do a bit more learning along the way! Raghupathy,Gurumoorthy wrote: Firtst read java / j2ee / jsp and some tutorials ... http://www.tusc.com.au/tutorial/html is a good place to start Guru -Original Message- From: Steve [mailto:[EMAIL PROTECTED] Sent: 22 June 2005 16:49 To: Tomcat Users List Subject: Re: New user, help! 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 tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962 881924
RE: New user, help! (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE There are more tutorials on the web you just have to spend some time googling. Some that really help understand putting all the bits and pieces together is http://www.coreservlets.com You'll find tutorials on the different technologies and tools Fadi -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 11:52 AM To: 'Tomcat Users List' Subject: RE: New user, help! Firtst read java / j2ee / jsp and some tutorials ... http://www.tusc.com.au/tutorial/html is a good place to start Guru -Original Message- From: Steve [mailto:[EMAIL PROTECTED] Sent: 22 June 2005 16:49 To: Tomcat Users List Subject: Re: New user, help! 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 tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:250.0.0.0:* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::22 :::* LISTEN udp0 0 0.0.0.0:111 0.0.0.0:* udp0 0 0.0.0.0:631 0.0.0.0:* udp0 0 198.168.1.76:1230.0.0.0:* udp0 0 131.128.1.76:1230.0.0.0:* udp0 0 127.0.0.1:123 0.0.0.0:* udp0 0 0.0.0.0:123 0.0.0.0:* udp0 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Rowan Cottage, Main Road, Littleton, Winchester, SO22 6QS cellular 07791766560, landline: 01962
RE: New User help required
Just as a matter of interest, you don't actually need apache to serve out http requests. tomcat can do that on its own. Only if you req the features of apache ( performance/config etc ) should you use it. If your primary interest is servlets/JSP/taglibs etc just use tomcat on its own. lcs -Original Message- From: Jason Norton [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 4:25 PM To: [EMAIL PROTECTED] Subject: New User help required Hi,=20 I have just started to use Apache and would like to get Tomcat operational = and I am having some minor problems. I have both tomcat and apache up and = running and servicing pages as individuals (http://localhost and = http://localhost:8080), but am having some problem getting them to run = together. My set up is SuSE Linux 7.0 Apache 1.3.12 Tomcat 3.2.1 JDK1.3 mod_jk.so (my own compile) Please could someone post for me (or email me) the contents or an example = of there httpd.conf file and any other key .conf you feel I may be making = errors in. This is so that I can see how the tomcat (mod_jk.so) intergrates= itself as this seems to be my big stumbling block and dont fully = understand the available documentation. many thanks in advance Jason Norton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]