发帖    主题    评论    推荐    标签    作者    订阅    查搜    注册   登陆   关注
 
面向对象 设计模式 领域驱动设计 企业架构 框架 开发教程 微服务 大数据 扩展性 并发编程 事件驱动 分布式 SOA

请教Tomcat配置mx4j

2005-09-20 11:26
赞助商链接

我试图在Tomcat 5.0.28中配置mx4j,但是出现了错误。
我查了一下日志和源码,发现apache要load一个mx4j.adaptor.rmi.jrmp.JRMPAdaptor类,但是当的mx4j 3.0.1和2.1.1中都找不到mx4j\adaptor\rmi这个目录 :(
请问谁能解释一下吗?
还是我的mx4j版本确实不对?但是我能当到的只有这几个版本了。
谢谢!

> 附上Tomcat出错日志:
> "2005-9-19 22:16:07 org.apache.coyote.http11.Http11Protocol init
> Information: Initializing Coyote HTTP/1.1 on http-8080
> 2005-9-19 22:16:08 org.apache.catalina.startup.Catalina load
> Information: Initialization processed in 3344 ms
> 2005-9-19 22:16:08 org.apache.catalina.mbeans.ServerLifecycleListener
> lifecycleEvent
> 严重: createAdaptor: Exception
> javax.management.ReflectionException: The MBean class could not be
> loaded by the context classloader
> at com.sun.jmx.mbeanserver.MBeanInstantiatorImpl.loadClass(Unknown Source)
> at com.sun.jmx.mbeanserver.MBeanInstantiatorImpl.findClass(Unknown Source)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(Unknown
> Source)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(Unknown
> Source)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.createMBean(Unknown Source)
> at
> org.apache.catalina.mbeans.MBeanUtils.createRMIAdaptor(MBeanUtils.java:1716)
>
>
> at
>
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:194)

>
>
> at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

>
>
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
> Caused by: java.lang.ClassNotFoundException:
> mx4j/tools/naming/NamingService
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> ... 16 more
> 2005-9-19 22:16:08 org.apache.catalina.core.StandardService start
> Information: Starting service Catalina
> 2005-9-19 22:16:08 org.apache.catalina.core.StandardEngine start
> Information: Starting Servlet Engine: Apache Tomcat/5.0.28
> 2005-9-19 22:16:08 org.apache.catalina.core.StandardHost start
> Information: XML validation disabled
> ......"

赞助商链接

赞助商链接

返回顶部

移动版 关于本站 使用帮助 联系管理员 最佳分辨率1366x768
OpenSource JIVEJDON Powered by JdonFramework Code © 2002-20 jdon.com