OK.

Do you have any JkMount statements?  If so, what are they?

Workers.properties should look like this (for a simple setup):

# BEGIN workers.properties
#
# (optional) make this equal to CATALINA_HOME 
workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4
#
# (optional) make this equal to JAVA_HOME
workers.java_home=/usr/java/j2sdk1.4.0_01
#
# (optional)
ps=/

worker.list=ajp13
# Definition for Ajp13 worker
#
worker.ajp13.port=8009
# change this line to match apache ServerName and Host name in server.xml
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#
# END workers.properties

John


> -----Original Message-----
> From: Stephen Graham [mailto:sg3@;bigpond.com]
> Sent: Thursday, October 24, 2002 9:34 AM
> To: Tomcat Users List
> Subject: RE: Apache Tomcat URLs - don't want port 8080
> 
> 
> I am using mod_jk it is loaded with the following statement 
> in the top of
> the 'mod_jk.conf' file.
> 
> <IfModule !mod_jk.c>
>   LoadModule jk_module libexec/mod_jk.so
> </IfModule>
> 
> I have a workers.properties file and I've edited the 
> following properties to
> reflect my system setup.
> 
> workers.tomcat_home
> workers.java_home
> worker.inprocess.jvm_lib
> 
> When I try to access the context without specifying port 8080 
> the browser
> just waits and waits, with activity indicator constantly spinning.
> 
> When I access the context specifying port 8080 in the URL it 
> works properly
> and without error.
> 
> Any suggestions greatly appreciated.
> 
> Thanks for your responses.
> 
> Regards
> Stephen Graham.
> 
> 
> > -----Original Message-----
> > From: Turner, John [mailto:JTurner@;AAS.com]
> > Sent: Thursday, 24 October 2002 22:59
> > To: 'Tomcat Users List'
> > Subject: RE: Apache Tomcat URLs - don't want port 8080
> >
> >
> >
> > I'm not clear what you have set up already and what you don't.
> >
> > It looks like you are using mod_jk.  Do you have all the pieces?
> > mod_jk.so
> > and a workers.properties file?  What happens when you access the
> > URL without
> > port 8080?  Is there an error message?  If so, what is it?
> >
> > John
> >
> >
> > > -----Original Message-----
> > > From: Stephen Graham [mailto:sg3@;bigpond.com]
> > > Sent: Thursday, October 24, 2002 8:53 AM
> > > To: Tomcat Users List
> > > Subject: RE: Apache Tomcat URLs - don't want port 8080
> > >
> > >
> > > Ok great, thanks for the answer. Do you have any ideas about
> > > where I might
> > > start looking to fix this?
> > >
> > > I've tried placing alias entries in smb.conf to get this to
> > > work but it
> > > doesn't seem to make any difference - I still can't 
> access the context
> > > without specifying port 8080. For example.
> > >
> > >
> > > I've got this in smb.conf
> > > ---------------------------------------
> > >
> > > Include /tomcat/conf/auto/mod_jk.conf
> > >
> > > Alias /pepper "/pepper"
> > > <Directory "/pepper">
> > >   Options Indexes FollowSymLinks
> > > </Directory>
> > >
> > > JkMount /pepper/servet/* ajp13
> > > JkMount /pepper/*.jsp ajp13
> > >
> > > <Location "/pepper/WEB-INF/">
> > >   AllowOverride None
> > >   deny from all
> > > </Location>
> > >
> > > <Location "/pepper/META-INF/">
> > >   AllowOverride None
> > >   deny from all
> > > </Location>
> > > ---------------------------------------
> > >
> > > and this in mod_jk.conf along with other stuff.
> > >
> > > JkMount /pepper ajp13
> > > JkMount /pepper/* ajp13
> > >
> > > ---------------------------------------
> > >
> > >
> > > > -----Original Message-----
> > > > From: Turner, John [mailto:JTurner@;AAS.com]
> > > > Sent: Thursday, 24 October 2002 22:14
> > > > To: 'Tomcat Users List'
> > > > Subject: RE: Apache Tomcat URLs - don't want port 8080
> > > >
> > > >
> > > >
> > > > Yes, you should.  If you are using 8080, Apache isn't even
> > > involved in the
> > > > request.
> > > >
> > > > John
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Stephen Graham [mailto:sg3@;bigpond.com]
> > > > > Sent: Wednesday, October 23, 2002 7:41 PM
> > > > > To: Tomcat Users List
> > > > > Subject: Apache Tomcat URLs - don't want port 8080
> > > > >
> > > > >
> > > > > I'm wondering about integration of Tomcat with Apache. I'm
> > > > > using Tomcat
> > > > > 3.3.1 and Apache server 1.3.19.
> > > > >
> > > > > I've inlcuded the following in my smb.conf file
> > > > >
> > > > > "Include /tomcat/conf/auto/mod_jk.conf"
> > > > >
> > > > > and run $TOMCAT_HOME/bin/startup.sh jkconf to create the file.
> > > > >
> > > > > I then start Apache, then Tomcat. This is all seems to work
> > > > > correctly as
> > > > > there are no error messages, and I can access contexts
> > > using the usual
> > > > > http://host:8080/context/jsp syntax and it works correctly.
> > > > >
> > > > > So here's my question:
> > > > >
> > > > > I expect to be able to access the Tomcat contexts without
> > > > > having to specifiy
> > > > > the 8080 port number. It seems to me that specifying the 8080
> > > > > port number
> > > > > completely bypasses Apache, and has Tomcat do all web
> > > > > serving. If they are
> > > > > truly integrated I should be able to access them with 
> URLs such as
> > > > > http://host/context/some.jsp shouldn't I ?
> > > > >
> > > > > Regards
> > > > > Stephen Graham.
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@;jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

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

Reply via email to