I followed this how-to to set up mod_jk on my server, but run into some issues - http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2
Jakarta-Tomcat Connector 1.2.26
1) This line added to server.xml is creating a classnotfound exception when starting up tomcat. I see the error in my catalina.out log; and this exception causes Tomcat to not start. When the line in server.xml is commented out, I'm able to start Tomcat, and the auto config file is generated. How do I retrieve/install the missing class? I've already tried re-downloading and re-unpacking Tomcat and the connector; but the error is still there.
Line in server.xml
<Listener className="org.apache.catalina.storeconfig.StoreCo nfigLifecycleListener"/>
Error in catalina.out
Jun 12, 2008 5:48:06 PM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.storeconfig.StoreConfigLifecyc leListener
2) After finishing all configurations and restarting apache, the following error is thrown by Apache. I'm no longer able to access www.example.com
, though I was able to before. [I've substituted my domain name with www.example.com.]
This error is seen when Apache starts/stops.
[Thu Jun 12 21:13:24 2008] [error] VirtualHost www.example.com:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
Once I remove the include in httpd.conf for mod_jk.conf (and the corresponding JkOptions, etc.), I'm able to access www.example.com
This is the content of my auto generated mod_jk.conf file. I've checked that the paths are correct.
########## Auto generated on Thu Jun 12 21:13:19 PDT 2008##########
LoadModule jk_module "/usr/lib/apache2/mod_jk.so"
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /host-manager ajp13
JkMount /host-manager/* ajp13
JkMount /docs ajp13
JkMount /docs/* ajp13
JkMount /manager ajp13
JkMount /manager/* ajp13
JkMount /stats ajp13
JkMount /stats/* ajp13
JkMount /error ajp13
JkMount /error/* ajp13
Any ideas where I went wrong? Is this issue related to the 1st problem about the StoreConfigLifecycleListener class?