JMS Exception这是什么类型的异常? [英] JMS Exception what type of exception is this?

查看:143
本文介绍了JMS Exception这是什么类型的异常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在生产环境中运行代码时出现以下错误.但是在qa环境或dev环境中不会发生相同的情况.我认为这可能是jndi名称中的问题.但是我不是百分百肯定的.谁能告诉我什么会导致此异常?

I am getting the following error when running my code in production. But the same doesnt happen in the qa environment or the dev environment. I am thinking that this might be a problem in the jndi name. But i am not 100 percent sure. Can anyone tell me what will cause this exception?

 org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 203  completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(Unknown Source)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(Unknown Source)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(Unknown Source)
        at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(Unknown Source)
        at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(Unknown Source)
        at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(Unknown Source)
        at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(Unknown Source)
        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(Unknown Source)
        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown Source)
        at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
        at weblogic.corba.j2ee.naming.Utils.narrowContext(Utils.java:126)
        at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:94)
        at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
        at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.<init>(Unknown Source)

推荐答案

这看起来像是该Java错误的症状- http://bugs.sun.com/view_bug.do?bug_id=6553303

This looks like the symptoms of this Java bug - http://bugs.sun.com/view_bug.do?bug_id=6553303

如果这是问题所在,则解决方法是将生产机器上的JVM升级到最新版本.错误报告的关闭详细信息告诉您修复所需的最低补丁程序级别(对于Java 5和Java 6).

If this is the problem, then the fix is to upgrade the JVM on your production boxes to a more recent version. The bug report's closure details tell you the minimum patch level (for Java 5 & Java 6) you need fo the fix.

这篇关于JMS Exception这是什么类型的异常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆