No, you don't.  You can disable all of the connectors that you aren't using.
In your case, you could disable all but the AJP connector on 8009.

John


> -----Original Message-----
> From: David Wynter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 5:05 PM
> To: Tomcat Users List
> Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat
> 4.1.12
> 
> 
> When I look into the server.xml it has a connector for port 8080 using
> coyote. But I note this is in the <Service name="Tomcat Standalone">
> section. Since I am redirecting from Apache to Tomcat do I 
> need a separate
> connector entry in the service section <Service 
> name="Tomcat-Apache"> ?
> 
> David
> 
> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: 26 September 2002 21:18
> To: 'Tomcat Users List'
> Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat
> 4.1.12
> 
> 
> 
> Sorry, I'm lost, too.  I'm not clear anymore what you're 
> trying to do.  If
> you have a URL with 8080 in it, Apache isn't even involved.
> 
> John
> 
> 
> > -----Original Message-----
> > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 3:52 PM
> > To: Tomcat Users List
> > Subject: RE: Urgent, no website until Apache 2.0.42 works 
> with Tomcat
> > 4.1.12
> >
> >
> > The error below was caused by the line "JkMount /*/servlet/"
> > I had added to
> > my httpd.conf.
> >
> > Now for
> > http://www.roamware.com:8080/rwsite/servlet/rwsite/templates/i
> > ndex.vm all I
> > get is the line
> > "..[error] [client....] File does not exist:
> > /usr/local/apache2/htdocs/rwsite"
> > Why is Apache looking in there when it is on port 8080?
> > Shouldn't it be
> > forwarding this to Tomcat?
> >
> > I am now getting "ConnectException: connection refused" when
> > I use "service
> > tomcat4 stop" These had disappeared, but now they are back. 
> I am lost
> >
> > David
> >
> >
> >
> > -----Original Message-----
> > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > Sent: 26 September 2002 20:28
> > To: Tomcat Users List
> > Subject: RE: Urgent, no website until Apache 2.0.42 works 
> with Tomcat
> > 4.1.12
> >
> >
> > Futher progress , but it has stopped. I can now see
> > http://www.roamware.com:8080/index.jsp but I get a 500 error
> > when it tries
> > to resolve
> > http://www.roamware.com:8080/rwsite/servlet/rwsite/templates/i
> > ndex.vm which
> > is my Turbine servlet application. I have set th eTomcat Root
> > Context as
> > follows:
> >
> > <Context path="" docBase="/rwsite" debug="0"/>
> >
> > But I get the following errors in mod_jk.log not sure if they
> > are related.
> > They seem to be by the timing.
> >
> > [Thu Sep 26 20:21:25 2002]  [jk_connect.c (177)]:
> > jk_open_socket, connect()
> > failed errno = 111
> > [Thu Sep 26 20:21:25 2002]  [jk_ajp_common.c (626)]: In
> > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111
> > [Thu Sep 26 20:21:25 2002]  [jk_ajp_common.c (872)]: Error
> > connecting to the
> > Tomcat process.
> > [Thu Sep 26 20:21:25 2002]  [jk_ajp_common.c (1181)]: In
> > jk_endpoint_t::service, ajp_send_request failed in send loop 2
> >
> > Ideas?
> >
> > David
> >
> > -----Original Message-----
> > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > Sent: 26 September 2002 19:19
> > To: Tomcat Users List
> > Subject: RE: Urgent, no website until Apache 2.0.42 works 
> with Tomcat
> > 4.1.12
> >
> >
> > Ok, getting there.
> >
> > Now I have Tomcat running and deploying the jars in my
> > servlet, a very good
> > sign. I used to put a redirect in the HEAD of the Apache home
> > page, but
> > better would be to direct all /servlet/* URI's to Tomcat.
> > Which section of
> > the http.conf file do you do that? How do you make the
> > particular servlet
> > the default page?
> >
> > David
> >
> > -----Original Message-----
> > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > Sent: 26 September 2002 19:08
> > To: Tomcat Users List
> > Subject: RE: Urgent, no website until Apache 2.0.42 works 
> with Tomcat
> > 4.1.12
> >
> >
> > Hi,
> >
> > I had run that and for /native2 and it all worked fine. Not
> > sure about the
> > step they called "dsp" though, not in your instructions.
> >
> > I moved copied the missing jni_md.h file into the same
> > directory as the
> > jni.h file and then ran ant from the /jk/native directory and
> > it finished
> > OK. Then I cd to /jk/native and ran ant again (all ant native in the
> > /jk/build.xml file does is run these 2 build.xml file
> > anyway). It failed
> > massively, lots of missing header files, I am not sure if
> > this is because
> > the Mandrake instal of Apache 1.3.23 is not a full one, but
> > as I don't need
> > to support it I assume it is OK.
> >
> > I then went to copy the build jar files to the 
> /var/tomcat4/server/lib
> > directory where I found the tomcat-coyote.jar. The
> > tomcat-jk2.jar is smaller
> > than the incumbent by 1K and the tomcat-jk.jar is 21.2k
> > compared to the
> > incumbent's 64.1KB. I assume this is because mine does not
> > have support for
> > Apache 1.3? Anyway I left the incumbents there.
> >
> > Now I get the problem in the apache2 error_log where it says
> > there is no
> > worker file of worker file. Since there is no
> > /var/tomcat4/conf/jk/mod_jk.cong-auto as the docuemntation
> > says there is
> > (how can this be!) I added the Jk... commands to the
> > httpd.conf file. Now I
> > don't get any error, but nor do I get Tomcat and my servlet
> > application.
> > There ar eno log files under Tomcat so where do you look to
> > see what is
> > wrong?
> >
> > David
> >
> > -----Original Message-----
> > From: Turner, John [mailto:[EMAIL PROTECTED]]
> > Sent: 26 September 2002 18:06
> > To: 'Tomcat Users List'
> > Subject: RE: Urgent, no website until Apache 2.0.42 works 
> with Tomcat
> > 4.1.12
> >
> >
> >
> > You want the buildconf.sh files in jk/native.  Run them, if
> > all is well they
> > will create a file called "configure" in the same directory,
> > then you run
> > ./configure --with-various-options-here.
> >
> > John
> >
> >
> > > -----Original Message-----
> > > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, September 26, 2002 1:06 PM
> > > To: Tomcat Users List
> > > Subject: RE: Urgent, no website until Apache 2.0.42 works
> > with Tomcat
> > > 4.1.12
> > >
> > >
> > > Hi,
> > >
> > > I am running as root when I run "apachectl start". I thought
> > > this was new
> > > with 4.1 so should work. I posted another mail about how to
> > > start Tomcat
> > > automatically in the right sequence with apache 2.0.42.
> > >
> > > There is no buildconf.sh in /jk. The ones I had run where in
> > > /jk/native and
> > > /jk/native2. I searched these and the webapp one are the only
> > > ones. So I am
> > > a bit stuck agian
> > >
> > > David
> > >
> > > -----Original Message-----
> > > From: Turner, John [mailto:[EMAIL PROTECTED]]
> > > Sent: 26 September 2002 17:23
> > > To: 'Tomcat Users List'
> > > Subject: RE: Urgent, no website until Apache 2.0.42 works
> > with Tomcat
> > > 4.1.12
> > >
> > >
> > >
> > > To get ./configure, you need to run buildconf.sh, which is
> > > also in the same
> > > directory.  I'm not sure about the exception you get when
> > > running Tomcat, my
> > > from-the-hip guess is that it has something to do with the
> > > user that tomcat
> > > is running as (tomcat4?) and the permissions/environment
> > > available to that
> > > user.  I don't see those errors, though I run Tomcat as root
> > > (not on port
> > > 80).
> > >
> > > If you're not getting a configure script after running 
> buildconf.sh,
> > > something else is going on.  Do you have all of the GNU build
> > > tools?  You
> > > need gcc, make, automake, autoconf, m4, and libtool, for
> > > sure, possibly
> > > others to taste.
> > >
> > > John
> > >
> > >
> > > > -----Original Message-----
> > > > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, September 26, 2002 12:16 PM
> > > > To: Tomcat Users List
> > > > Subject: RE: Urgent, no website until Apache 2.0.42 works
> > > with Tomcat
> > > > 4.1.12
> > > >
> > > >
> > > > Hi John,
> > > >
> > > > Once I worked out I should be looking at the build.properties
> > > > in /jk and not
> > > > in /util I was pretty OK. I get errors from that ant build.
> > > It cannot
> > > > resolve the packages javax.servlet and
> > javax.servlet.http. These in
> > > > servlet.jar which is relative to CATALINA_HOME ( =
> > > /var/tomcat4 ) i.e.
> > > > /var/tomcat4/common/lib/servlet.jar So I exported CLASSPATH
> > > > and it compiles.
> > > > Whooo hoo!
> > > >
> > > > I tried to run it and got the same result no page and an
> > > > exception when
> > > > stopping tomcat.
> > > >
> > > > I realised that since I did the binaries first maybe that is
> > > > a problem?
> > > > Anyway I followed the instructions in the readme.txt in the
> > > > /jk directory. I
> > > > tried the "ant native" command and it failed because it
> > > could not find
> > > > jni_md.h which is a #include in the
> > > > /usr/java/j2sdk1.4.1/include/jni.h file?
> > > > This is the latest release of the JDK, doesn't seem too hot
> > > > from Sun! Anyway
> > > > do I need this JNI library?
> > > >
> > > > It says the alternative is to ./configure then make then dsp
> > > > then apxs, but
> > > > there is no .configure file in the /jk directory, so I don't
> > > > know what they
> > > > mean?
> > > >
> > > > When I finish this I will compile your notes into a single
> > > > document that
> > > > describes how to do this, it is sorely lacking for newbies to
> > > > be able to
> > > > cope with this process.
> > > >
> > > > Thanks
> > > >
> > > > David
> > > >
> > > > -----Original Message-----
> > > > From: Turner, John [mailto:[EMAIL PROTECTED]]
> > > > Sent: 26 September 2002 16:34
> > > > To: 'Tomcat Users List'
> > > > Subject: RE: Urgent, no website until Apache 2.0.42 works
> > > with Tomcat
> > > > 4.1.12
> > > >
> > > >
> > > >
> > > > Sorry.  Here's the content of my build.properties file:
> > > >
> > > > #
> > > > # build.properties for jk2/ajp connector.
> > > > # to be processed by configure
> > > > #
> > > >
> > > > # Directory where catalina is installed. It can
> > > > # be either 4.0 or 4.1
> > > > tomcat40.home=
> > > >
> > > > # If you want to build/install on  both 4.0
> > > > # and 4.1, set this to point to 4.0 and 'catalina.home'
> > > > # to point to 4.0
> > > > # ( most people need only the first, but developers should
> > > > # have both )
> > > > tomcat41.home=/usr/local/jakarta-tomcat-4.1.10
> > > >
> > > > # Directory where tomcat3.3 is installed
> > > > tomcat33.home=
> > > >
> > > > # Location of Apache2, Apache1.3, IIS and Netscape (iPlanet)
> > > > apache2.home=/usr/local/apache2
> > > > apache13.home=/usr/local/apache
> > > > iis.home=
> > > > iplanet.home=
> > > >
> > > >
> > > > # APR location - by default the version included in
> > Apache2 is used.
> > > > # Don't edit unless you install 'standalone' apr.
> > > > apr.home=
> > > >
> > > > apr.include=
> > > > apr-util.include=
> > > >
> > > > apr.lib=
> > > > apr-util.lib=
> > > >
> > > >
> > > > # Location of Apache2, Apache1.3 apxs build tool
> > > > apxs=/usr/local/apache/bin/apxs
> > > > apxs2=/usr/local/apache2/bin/apxs
> > > >
> > > >
> > > > # Location of Apache2, Apache1.3, IIS and Netscape (iPlanet)
> > > > # includes directory
> > > > apache2.include=/usr/local/apache2/include
> > > > apache13.include=/usr/local/apache/include
> > > > iis.include=
> > > > iplanet.include=
> > > >
> > > >
> > > > # Location of Apache2, Apache1.3, IIS and Netscape (iPlanet)
> > > > # lib directory
> > > > apache2.lib=@APACHE2_LIBDIR@
> > > > apache13.lib=@APACHE_LIBDIR@
> > > > iis.lib=
> > > > iplanet.lib=
> > > >
> > > >
> > > > # Compile-time options for native code
> > > > so.debug=true
> > > > so.optimize=false
> > > > so.profile=false
> > > >
> > > > John
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, September 26, 2002 11:16 AM
> > > > > To: Tomcat Users List
> > > > > Subject: RE: Urgent, no website until Apache 2.0.42 works
> > > > with Tomcat
> > > > > 4.1.12
> > > > >
> > > > >
> > > > > Hi John,
> > > > >
> > > > > Thanks for the script, it helped a lot. But one question. For
> > > > > the jar file
> > > > > build you have a step "edit build.properties". I had a look
> > > > around the
> > > > > directories to see if there was an expalnation on what goes
> > > > > there but could
> > > > > not find anything. The build.xml suggests that I should have
> > > > > a jsse1.0.2
> > > > > directory off the ./ base directory, which there aint. There
> > > > > is however the
> > > > > jmx.jar in the right place. The puretls.jar does nto seem to
> > > > > there either.
> > > > >
> > > > > You missed the buildconf.sh steps for the /native directory
> > > > > instructions. I
> > > > > skipped the steps for 1.3 that required apxs. I discovered
> > > > > that the Mandrake
> > > > > 8.2 distro leaves it out of apache 1.3.23 they install, nice
> > > > > of them. I
> > > > > don't need support for 1.3 so assume this is OK.
> > > > >
> > > > > Regards
> > > > >
> > > > > David
> > > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to