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

jms:用tomcat访问weblogic中的jndi报错,tried to access method weblogic.kernel.Kernel

2005-08-15 11:16
赞助商链接

java.lang.IllegalAccessError: tried to access method weblogic.kernel.KernelStatus.initialized()V from class weblogic.kernel.Kernel

at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:90)

at weblogic.jms.dispatcher.DispatcherManager.initializeThreadPool(DispatcherManager.java:565)

at weblogic.jms.dispatcher.DispatcherManager.<init>(DispatcherManager.java:49)

at weblogic.jms.dispatcher.DispatcherManager.create(DispatcherManager.java:83)

at weblogic.jms.client.JMSConnection.incrementConnectionCount(JMSConnection.java:269)

at weblogic.jms.client.JMSConnectionFactory.createConnectionInternal(JMSConnectionFactory.java:120)

at weblogic.jms.client.JMSConnectionFactory.createQueueConnection(JMSConnectionFactory.java:74)

at com.baosight.mc.Utils.<clinit>(Utils.java:76)

at com.baosight.mc.web.InitialSystemListener.contextInitialized(InitialSystemListener.java:27)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3276)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:3618)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)

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.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)

at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)

at org.apache.commons.digester.Rule.end(Rule.java:276)

at org.apache.commons.digester.Digester.endElement(Digester.java:1058)

at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)

at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1567)

at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)

at org.apache.catalina.core.StandardHost.install(StandardHost.java:819)

at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)

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

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)

at org.apache.catalina.core.StandardService.start(StandardService.java:497)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)

at org.apache.catalina.startup.Catalina.start(Catalina.java:512)

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)
这是怎么回事?
报错的位置是在
queueConnection = queueConnectionFactory.createQueueConnection();
急啊!!!!

2005-08-15 12:26

问题已经解决,方案如下:
使用wljmsclient.jar和wlclient.jar替换jms.jar和weblogic.jar
即可
:)

赞助商链接

赞助商链接

返回顶部

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