This is really a tomcat-user question (and, has been covered, ad nausium, on that list :)
The short form is that you can either use the Ajp13Connector without MBeans, or you can use the Jk2 CoyoteConnector with MBeans. If you have a serious need for the Ajp13Connector with MBeans, patches are always welcome. ----- Original Message ----- From: "Pae Choi" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 02, 2002 9:42 PM Subject: [4.1.16a] A feeedback from an Initial Installation on WinNT > This is a feedback after trying to install v4.1.16a and mod_jk(JK1). And > the some parts seem not working as it used be in v4.1.12. > > The change made in the server.xml as follows: > > <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> > <!-- commeted > <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" > port="8009" minProcessors="5" maxProcessors="75" > enableLookups="true" redirectPort="8443" > acceptCount="10" debug="0" connectionTimeout="0" > useURIValidationHack="false" > > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> > --> > <!-- Define an AJP 1.3 Connector on port 8009 --> > <!-- uncommented --> > <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" > port="8009" minProcessors="5" maxProcessors="75" > acceptCount="10" debug="0"/> > <!-- --> > > And the exception dusring the startup is as follows: > > ServerLifecycleListener: createMBeans: MBeanException > java.lang.Exception: ManagedBean is not found with Ajp13Connector > at > org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224) > ... > > > But it did not crashed so that I tested the "index.jsp" as follows: > > http://localhost/index.jsp > http://localhost:8080/index.jsp > https://<real-domain>/index.jsp > https://<real-domain>:8443/index.jsp > > All above work as it suppose to be. However, a web app, "demowa.war", > did not deployed. And the exception is as follows: > > 2002-12-03 00:21:51 HostConfig[localhost]: Undeploying web application at > context path /demowa > 2002-12-03 00:21:51 StandardHost[localhost]: Removing web application at > context path /demowa > 2002-12-03 00:21:51 StandardHost[localhost]: ContainerBase.removeChild: > stop: > LifecycleException: Container StandardContext[/demowa] has not been started > at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) > at > org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) > at > org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja > va:420) > at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852) > at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919) > at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor > t.java:166) > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) > at org.apache.catalina.core.StandardService.stop(StandardService.java:554) > at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224) > at org.apache.catalina.startup.Catalina.start(Catalina.java:543) > 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) > > Thanks, > > > Pae > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>