tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Tomcat and Apache
Date Thu, 06 Feb 2003 14:35:08 GMT

Did you map that servlet in web.xml??

John


> -----Original Message-----
> From: Richard Johnstone
> [mailto:Richard.Johnstone@appleyard-contracts.co.uk]
> Sent: Thursday, February 06, 2003 9:28 AM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Tomcat and Apache
> 
> 
> OK, took all the stuff out of httpd.conf so all that is in 
> there in the
> "loadmodule" and "include"
> 
> In mod_jk.conf it has
> 
>     JkMount /avcweb ajp13
>     JkMount /avcweb/* ajp13
> 
> So to call I am trying
> 
> http://999.99.999.99/avcweb/servlet/MyClass
> 
> Still no luck
> 
> >>> JTurner@AAS.com 02/06/03 01:27pm >>>
> 
> Well, what URL are you using?
> 
> What ServerName are those JkMount statements tied to?
> 
> If you're doing an Include of mod_jk.conf, you shouldn't have anything
> in
> httpd.conf but the "LoadModule" line and the "Include" line.
> 
> My guess is your manually entered JK config in httpd.conf is
> conflicting
> with the generated config.
> 
> Looks also like you are using Solaris, perhaps my Solaris HOWTO can
> help:
> 
> http://www.johnturner.com/howto 
> 
> John
> 
> 
> > -----Original Message-----
> > From: Richard Johnstone
> > [mailto:Richard.Johnstone@appleyard-contracts.co.uk] 
> > Sent: Thursday, February 06, 2003 6:02 AM
> > To: tomcat-user@jakarta.apache.org 
> > Subject: Tomcat and Apache
> > 
> > 
> > I apologise for sending this as I know there are about 50 
> > posts daily on
> > this subject but I can't get the 2 of these to link.
> > I have checked the archives and help docs and everything 
> > seems in place
> > but when I call my servlet without the 8080 port I get 
> > nothing. Looking
> > at the apache logs it says 
> > 
> > /opt/webFrontEnd/examples/servlet/avc.web.Clients.ClientsHomePage
> > 
> > The /opt/webfrontend is my document root for apache
> > 
> > There is no lines in the tomcat logs so apache isn't even posting to
> > tomcat
> > 
> > I must have missed something simple but I can't see what it is.
> > Any Help Please
> > 
> > Here is what I have set up in the conf files
> > 
> > SERVER.XML
> > 
> > <Server port="8005" shutdown="SHUTDOWN" debug="0">
> > <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> >           modJk="/opt/apache/libexec/mod_jk.so"
> >           jkLog="/opt/apache/logs/mod_jk.log" jkDebug="info"
> >  />
> > 
> >       <Host name="localhost" debug="0" appBase="webapps"
> > unpackWARs="true">
> >       <Listener
> className="org.apache.ajp.tomcat4.config.ApacheConfig"
> > append="true" />
> > 
> > 
> > HTTPD.CONF
> > 
> > Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf
> > LoadModule jk_module /opt/apache/libexec/mod_jk.so
> > AddModule mod_jk.c
> > 
> > JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties
> > JkLogFile /opt/apache/logs/mod_jk.log
> > JkLogLevel info
> > 
> > JkMount /* ajp13
> > JkMount /examples/* ajp13
> > JkMount /avcweb/* ajp13
> > 
> > WORKERS.PROPERTIES
> > 
> > workers.tomcat_home=/opt/tomcat-4.0.6
> > workers.java_home=/opt/jdk1.4.1
> > ps=/
> > worker.list=ajp13
> > 
> > worker.ajp13.port=8009
> > worker.ajp13.host=localhost 
> > worker.ajp13.type=ajp13
> > 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message