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 4.1.12 with apache1.3.26 and mod_jk integration error .
Date Tue, 08 Oct 2002 12:34:11 GMT

Take a look at the docs for the ApacheConfig Listener...there are parameters
there to stop things like appending to mod_jk.conf, which might be what is
happening.  In other words, shut everything down, wait a bit, delete
mod_jk.conf, then start up Tomcat and see if the mod_jk.conf file is correct
(make sure permissions on mod_jk.conf file are correct, too...the user
Tomcat is running as should have write/delete access to that file).  It's
possible that you just keep using the same mod_jk.conf file, a new one may
not be getting written everytime Tomcat starts.

For the 8080 message, make sure you have a HTTP connector on 8080 enabled in
server.xml.  Take a second and go back through my HOWTO (not the connector
build steps).  There are only 4 or 5 specific changes to make to httpd.conf
and server.xml to get Apache working with Tomcat...and none of those changes
are major.

John


> -----Original Message-----
> From: Lambert, Stephen : CO IR [mailto:SLambert@LHS.ORG]
> Sent: Monday, October 07, 2002 7:31 PM
> To: 'Tomcat Users List'
> Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration
> error .
> 
> 
> Changes below completed.
> Apache now starts with no warning!
> However, result of http://localhost:8080/examples is unable 
> to locate server
> localhost:8080
> 
> And result of http://localhost/examples finds the jsp 
> examples with a URL of
> http://w121c20.legacyhs/examples/
> 
> 
> What's bizarre is that the mod_jk.conf file is once again 
> populated with a
> second VirtualHost directive after starting Tomcat.
> 
> So if I stop/start Tomcat/Apache the VirtualHost warning 
> message re-appears.
> 
> Stephen.
> 
> -----Original Message-----
> From: Turner, John [mailto:JTurner@AAS.com]
> Sent: Monday, October 07, 2002 3:08 PM
> To: 'Tomcat Users List'
> Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration
> error .
> 
> 
> 
> In your server.xml, change the defaultHost parameter of your 
> Engine element
> to "localhost".
> 
> You're getting that Apache error because you have two VirtualHost
> definitions for w121c20.legacyhs in mod_jk.conf.  There 
> should only be one.
> 
> Also, change ServerName in httpd.conf to w121c20.legacyhs.
> 
> Give that a try, and see what happens.
> 
> John
> 
> 
> 
> > -----Original Message-----
> > From: Lambert, Stephen : CO IR [mailto:SLambert@LHS.ORG]
> > Sent: Monday, October 07, 2002 5:58 PM
> > To: 'Tomcat Users List'
> > Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration
> > error .
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: Turner, John [mailto:JTurner@AAS.com]
> > Sent: Monday, October 07, 2002 2:50 PM
> > To: 'Tomcat Users List'
> > Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration
> > error .
> > 
> > 
> > 
> > Post your httpd.conf, and mod_jk.conf if your JK commands are not in
> > httpd.conf.
> > 
> > John
> > 
> > 
> 
> 
> --
> 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>


Mime
View raw message