You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by QJ...@cap400.com on 2003/03/20 17:00:11 UTC

Tomcat error when starting after enabling Ajp13Connector

All

I am trying to plugin tomcat with IIS 5 using jk1.0 which requires enabling
org.apache.ajp.tomcat4.Ajp13Connector. I commented out the
org.apache.coyote.tomcat4.CoyoteConnector and uncommented
org.apache.ajp.tomcat4.Ajp13Connector. Then I got a exception below when
tomcat started. What's wrong with that ? Thanks.

Mar 20, 2003 10:48:16 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Mar 20, 2003 10:48:16 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Mar 20, 2003 10:48:17 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Mar 20, 2003 10:48:17 AM 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(Serve
rLifecycleListener.java:369)
        at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:777)
        at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:751)
        at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:339)
        at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Ser
verLifecycleListener.java:206)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
2)
        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(DelegatingMethodAcces
sorImpl.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
Mar 20, 2003 10:48:22 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080

Tim (Qinjian) Jian

3833 Farragut Ave.
Kensington, MD 20895

Email: qjian@cap400.com




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat error when starting after enabling Ajp13Connector

Posted by John Turner <to...@johnturner.com>.
Ajp13Connector is not compatible with MBeans.  Either use CoyoteConnector, 
or disable the MBean lines in your server.xml.

John

On Thu, 20 Mar 2003 11:00:11 -0500, <QJ...@cap400.com> wrote:

>
> All
>
> I am trying to plugin tomcat with IIS 5 using jk1.0 which requires 
> enabling
> org.apache.ajp.tomcat4.Ajp13Connector. I commented out the
> org.apache.coyote.tomcat4.CoyoteConnector and uncommented
> org.apache.ajp.tomcat4.Ajp13Connector. Then I got a exception below when
> tomcat started. What's wrong with that ? Thanks.
>
> Mar 20, 2003 10:48:16 AM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Mar 20, 2003 10:48:16 AM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Mar 20, 2003 10:48:17 AM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Mar 20, 2003 10:48:17 AM 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(Serve
> rLifecycleListener.java:369)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
> rLifecycleListener.java:777)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
> rLifecycleListener.java:751)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
> rLifecycleListener.java:339)
> at
> org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Ser
> verLifecycleListener.java:206)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:166)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:218
> 2)
> 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(DelegatingMethodAcces
> sorImpl.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
> Mar 20, 2003 10:48:22 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
>
> Tim (Qinjian) Jian
>
> 3833 Farragut Ave.
> Kensington, MD 20895
>
> Email: qjian@cap400.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org