John, I still can't get this to work?!
I started over from scratch with your docs and was able correct the
duplicate mod_jk.conf problem.
However, when I try the following URL's, localhost still doesn't work.

http://localhost result= Netscape starts searching the internet

http://localhost:8080 result= Netscape starts searching the internet

http://w121c20.legacyhs:8080 result= works fine!

http://w121c20.legacyhs result= works fine!

Is this a Netscape issue?


-----Original Message-----
From: Turner, John [mailto:JTurner@;AAS.com]
Sent: Tuesday, October 08, 2002 5:34 AM
To: 'Tomcat Users List'
Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration
error .



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
> 
> 
> 


--
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