Hi, I've been trying to connect tomcat to apache using mod_jk as described in the HOWTO at http://www.johnturner.com/howto/apache2-tomcat4110-jk-howto.html
I compile apache 2.0.43 and mod_jk 4.1.12 from source. I start tomcat and 10 seconds later start Apache. I can browse to http://localhost and http://localhost:8080 just fine. However when I test the connector by browsing to http://localhost/examples I get a 404 error. The apache error.log says File does not exist: /var/www/html/examples On inspection of the cataline.out file I see: Nov 6, 2002 2:40:07 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Nov 6, 2002 2:40:07 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Nov 6, 2002 2:40:08 PM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Nov 6, 2002 2:40:11 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:225) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:369) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:777) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:751) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:339) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2182) at org.apache.catalina.startup.Catalina.start(Catalina.java:510) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Starting service Tomcat-Standalone Apache Tomcat/4.1.12 Nov 6, 2002 2:40:23 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Any help appreciated. Regards, Kevin McNamee -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
