Hi,
Add to your server.xml the MBean declaration from the default one that
ships with tomcat (they're right near the top of the file, under Server
and above Service), restart tomcat, and let us know what happens.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Carl Olivier [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, May 25, 2004 9:16 AM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat 5.0.24 startup errors
>
>Hi Yoav.
>
>Clean install yes - into a new directory yes.  My server XML is a
"custom"
>VERy minimal one - looks as follows:
>
>server.xml
>======================================
>
><Server port="8005" shutdown="SHUTDOWN">
>       <Service name="Platform">
>
>               <Connector port="8080" maxPostSize="0" />
>
>               <Connector port="8009" protocol="AJP/1.3"
maxPostSize="0" />
>
>               <Engine name="Platform" defaultHost="notfound">
>
>                       <Logger
>className="org.apache.catalina.logger.FileLogger" />
>
>                       <Host name="notfound">
>                               <Context path="" docBase="D:\www\nf"
>reloadable="false" />
>                       </Host>
>
>                       <Host name="pbadmin.carlito.pb" >
>                               <Context path="" docBase="D:\www\ROOT"
>reloadable="true" />
>                               </Host>
>
>                       <!-- TEST2 PUBLIC SITE HOST BLOCK -->
>                       <Host name="www.test2.pb"
deployOnStartup="false"
>autoDeploy="false" >
>                               <Context path=""
>docBase="D:\testwww2\Test2\ROOT" reloadable="true" />
>                               <Context path="/userimages"
>docBase="D:\testwww2\Test2\userimages" />
>                       </Host>
>
>                       <!-- TEST2 ADMIN SITE HOST BLOCK -->
>                       <Host name="admin.test2.pb"
deployOnStartup="false"
>autoDeploy="false" >
>                               <Context path=""
>docBase="D:\testwww2\Test2admin\ROOT" reloadable="true" />
>                               <Context path="/userimages"
>docBase="D:\testwww2\Test2\userimages" />
>                       </Host>
>
>
>                       <!-- TESTINGT PUBLIC SITE HOST BLOCK -->
>                       <Host name="www.ttt.pb" deployOnStartup="false"
>autoDeploy="false" >
>                               <Context path=""
>docBase="D:\testwww2\TestingT\ROOT" reloadable="true" />
>                               <Context path="/userimages"
>docBase="D:\testwww2\TestingT\userimages" />
>                       </Host>
>
>                       <!-- TESTINGT ADMIN SITE HOST BLOCK -->
>                       <Host name="admin.ttt.pb"
deployOnStartup="false"
>autoDeploy="false" >
>                               <Context path=""
>docBase="D:\testwww2\TestingTadmin\ROOT" reloadable="true" />
>                               <Context path="/userimages"
>docBase="D:\testwww2\TestingT\userimages" />
>                       </Host>
>
>               </Engine>
>       </Service>
></Server>
>
>==============================
>END server.xml
>
>? :)
>
>Carl
>
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: 25 May 2004 03:01 PM
>To: Tomcat Users List
>Subject: RE: Tomcat 5.0.24 startup errors
>
>
>
>Hi,
>You did a clean install to a new directory, right?  There's no chance
of an
>old configuration file (e.g. server.xml) sneaking into your new
>installation
>from the older one?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-----Original Message-----
>>From: Carl Olivier [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, May 25, 2004 5:30 AM
>>To: '[EMAIL PROTECTED]'
>>Subject: Tomcat 5.0.24 startup errors
>>
>>Greetings.
>>
>>I recently upgraded to TC 5.0.24 on Windows XP Pro, using the packaged
>>tomcat5.exe and service.bat to install the TC service.
>>
>>On startup I am noticing the following errors in the logs (note that
>>everything does still seem to work fine though):
>>
>>SEVERE: Error registering
>>Platform:type=protocolHandler,className=org.apache.jk.server.JkCoyoteH
a
>ndle
>>r
>>javax.management.MBeanRegistrationException: nested exception is
>>javax.management.ReflectionException: Cannot find Class for
>>org.apache.jk.core.JkHandlernested exception is
>>java.lang.ClassNotFoundException: org.apache.jk.core.JkHandler
>>javax.management.ReflectionException: Cannot find Class for
>>org.apache.jk.core.JkHandlernested exception is
>>java.lang.ClassNotFoundException: org.apache.jk.core.JkHandler
>>java.lang.ClassNotFoundException: org.apache.jk.core.JkHandler
>>      at
>>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClass
L
>oade
>>r
>>.java:854)
>>      at
>>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClass
L
>oade
>>r
>>.java:721)
>>      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>>      at java.lang.Class.forName0(Native Method)
>>      at java.lang.Class.forName(Class.java:141)
>>      at
>>org.apache.commons.modeler.BaseModelMBean.getAttributeClass(BaseModelM
B
>ean.
>>j
>>ava:558)
>>      at
>>org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:4
6
>7)
>>      at
>>mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMB
e
>anSe
>>r
>>verInterceptor.java:209)
>>      at
>>mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
e
>anSe
>>r
>>verInterceptor.java:123)
>>      at
>>mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(Security
M
>Bean
>>S
>>erverInterceptor.java:79)
>>      at
>>mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
e
>anSe
>>r
>>verInterceptor.java:123)
>>      at
>>mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMB
e
>anSe
>>r
>>verInterceptor.java:123)
>>      at
>>mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invok
e
>(Con
>>t
>>extClassLoaderMBeanServerInterceptor.java:144)
>>      at mx4j.server.MBeanServerImpl.invoke(MBeanServerImpl.java:1353)
>>      at org.apache.jk.core.JkHandler.preRegister(JkHandler.java:174)
>>      at
>>org.apache.jk.server.JkCoyoteHandler.preRegister(JkCoyoteHandler.java:
5
>29)
>>      at
>>org.apache.commons.modeler.BaseModelMBean.preRegister(BaseModelMBean.j
a
>va:1
>>3
>>97)
>>      at
>>mx4j.server.interceptor.InvokerMBeanServerInterceptor.registration(Inv
o
>kerM
>>B
>>eanServerInterceptor.java:150)
>>      at
>>mx4j.server.interceptor.DefaultMBeanServerInterceptor.registration(Def
a
>ultM
>>B
>>eanServerInterceptor.java:113)
>>      at
>>mx4j.server.interceptor.SecurityMBeanServerInterceptor.registration(Se
c
>urit
>>y
>>MBeanServerInterceptor.java:128)
>>      at
>>mx4j.server.interceptor.DefaultMBeanServerInterceptor.registration(Def
a
>ultM
>>B
>>eanServerInterceptor.java:113)
>>      at
>>mx4j.server.interceptor.DefaultMBeanServerInterceptor.registration(Def
a
>ultM
>>B
>>eanServerInterceptor.java:113)
>>      at
>>mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.regis
t
>rati
>>o
>>n(ContextClassLoaderMBeanServerInterceptor.java:108)
>>      at
>>mx4j.server.MBeanServerImpl.registerImpl(MBeanServerImpl.java:1051)
>>      at
>>mx4j.server.MBeanServerImpl.registerMBeanImpl(MBeanServerImpl.java:100
2
>)
>>      at
>>mx4j.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:978)
>>      at
>>org.apache.commons.modeler.Registry.registerComponent(Registry.java:87
1
>)
>>      at
>>org.apache.commons.modeler.Registry.registerComponent(Registry.java:34
6
>)
>>      at
>>org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1
4
>87)
>>      at
>>org.apache.catalina.core.StandardService.start(StandardService.java:48
5
>)
>>      at
>>org.apache.catalina.core.StandardServer.start(StandardServer.java:2298
)
>>      at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
a
>va:3
>>9
>>)
>>      at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
o
>rImp
>>l
>>.java:25)
>>      at java.lang.reflect.Method.invoke(Method.java:324)
>>      at
>org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
>>      at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
>>
>>I checked and the class being referenced in the error above is
>definitely
>>in
>>the tomcat-jk2.jar in the CATALINA_HOME/server/lib location.
>>
>>Any ideas?
>>
>>Regards,
>>
>>Carl Olivier
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary
>and/or privileged.  This e-mail is intended only for the individual(s)
to
>whom it is addressed, and may not be saved, copied, printed, disclosed
or
>used by anyone else.  If you are not the(an) intended recipient, please
>immediately delete this e-mail from your computer system and notify the
>sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to