Would it possibly have anything to do with the location of Tomcat? I did make myself the owner of all of Tomcat's files, but I installed them in /Library/Tomcat following a "Howto" from either the O-Reilly or Apple Developer site (I can't remember which). Maybe I should install it my home or /usr/local?
Take care,
Mark
On Tuesday, November 5, 2002, at 02:33 PM, Turner, John wrote:
Hmm...this is a stumper.
The 404 you get...it's an Apache 404? Not a Tomcat 404? The Tomcat errors
have blue backgrounds on the pages.
Can you access any content at all at http://localhost, besides /examples?
John
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>-----Original Message----- From: Mark Diana [mailto:mldiana@;vcu.edu] Sent: Tuesday, November 05, 2002 2:34 PM To: Tomcat Users List Subject: Re: MBeans exception and mod_jkSorry, workers.properties: # Setup for Mac OS X workers.tomcat_home=/Library/Tomcat/Home workers.java_home=/System/Library/Frameworks/JavaVM.framework/ Versions/ 1.3.1/Home ps=/ worker.list=ajp13 # Definition for Ajp13 worker # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 Yes, the Coyote/JK2 Connector is commented out, but the Coyote HTTP/1.1 is not (I guess that's obvious...). Mark On Tuesday, November 5, 2002, at 02:25 PM, Turner, John wrote:What're the contents of workers.properties? Also, did you disble the CoyoteConnector on 8009 since you have AjpConnector enabled? John-----Original Message----- From: Mark Diana [mailto:mldiana@;vcu.edu] Sent: Tuesday, November 05, 2002 2:23 PM To: Tomcat Users List Subject: Re: MBeans exception and mod_jk OK. httpd.conf: Include /Library/Tomcat/Home/conf/auto/mod_jk.conf where /Home is a symbolic link to /Library/Tomcat/jakarta-tomcat-4.1.12. The only otherthing I changedin httpd.conf was the Server Name, which I set as localhost. Sample from auto-generated mod_jk.conf: ########## Auto generated on Tue Nov 05 13:57:53 EST 2002########## <IfModule !mod_jk.c> LoadModule jk_module /usr/local/apache2/modules/mod_jk.so </IfModule> JkWorkersFile "/Library/Tomcat/Home/conf/jk/workers.properties" JkLogFile "/Library/Tomcat/Home/logs/mod_jk.log" JkLogLevel emerg <VirtualHost localhost> ServerName localhost #################### localhost:/examples #################### # Static files Alias /examples "/Library/Tomcat/Home/webapps/examples" <Directory "/Library/Tomcat/Home/webapps/examples"> Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp </Directory> # Deny direct access to WEB-INF and META-INF # <Location "/examples/WEB-INF/*"> AllowOverride None deny from all </Location> <Location "/examples/META-INF/*"> AllowOverride None deny from all </Location> JkMount/examples/jsp/security/protected/j_security_check ajp13JkMount /examples/snoop ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/servlet/* ajp13 JkMount /examples/*.jsp ajp13 JkMount /examples/servletToJsp ajp13 JkMount /examples/SendMailServlet ajp13 server.xml: <Server port="8005" shutdown="SHUTDOWN" debug="0"> <!-- Use this to automatically generate mod_jk config --> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" modJk="/usr/local/apache2/modules/mod_jk.so" /> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5" maxProcessors="75" acceptCount="10" debug="1"/> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> <!-- This is also for auto-generated mod_jk config --> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"append="true"forwardAll="false" modJk="/usr/local/apache2/modules/mod_jk.so" workersConfig="/Library/Tomcat/Home/conf/jk/workers.properties" /> Everything else in server.xml is unaltered from the default. I'm trying to access http://localhost/examples and getting a 404 error. http://localhost:8080/examples works great. Thanks and take care, Mark On Tuesday, November 5, 2002, at 02:01 PM, Turner, John wrote:Aside from the MBean stuff, please post relevant portion ofhttpd.conf(or mod_jk.conf), workers.properties, and relevant portions ofserver.xml,such as your Host container and your Connector containers. Alsopost theURL you are trying to access if it is something different than http://localhost/examples. John-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>-- Mark L. Diana, MBA Instructor LAN Manager & Webmaster Virginia Commonwealth University Department of Health Administration -- To unsubscribe, e-mail:
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>
-- Mark L. Diana, MBA Instructor LAN Manager & Webmaster Virginia Commonwealth University Department of Health Administration -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
