OSB WLS 初始化问题
面对 OSB 中的一些奇怪行为,我在客户端模式下使用 MQ 配置了 WLS,我正在做一些小测试来检查连接,我创建了一个代理服务来读取来自 Q1 的消息,并创建了一个业务服务(BS)来路由它到 Q2。问题是代理能够读取消息,但 BS 抛出此消息:
JMSPool BEA-169807 从 EJB 或 servlet 中与名为 ALSB_JMS_SessionPool_491704821 的 JMS 资源进行初始连接时出现错误。服务器稍后将再次尝试连接。错误是 javax.jms.JMSException: [JMSPool:169803]JMS 连接工厂 AKBConnFact 的 JNDI 查找失败: javax.naming.NoInitialContextException: 无法实例化类: com.sun.jndi.fscontext.RefFSContextFactory [根异常是 java.lang .ClassNotFoundException:com.sun.jndi.fscontext.RefFSContextFactory
注意:类路径或domain/lib文件夹包含RefFSContextFactory类
有什么想法吗? TIA
facing some strange behavior in OSB, i have configured WLS with MQ in client mode, i am doing some minor test to check the connection, i have created a proxy service to read the message from Q1 and a Business Service(BS) to route it to Q2. The issue is the proxy is able to read the message but the BS is throwing this:
JMSPool BEA-169807 There was an error while making the initial connection to the JMS resource named ALSB_JMS_SessionPool_491704821 from within an EJB or a servlet. The server will attempt the connection again later. The error was javax.jms.JMSException: [JMSPool:169803]JNDI lookup of the JMS connection factory AKBConnFact failed: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory
Note: The classpath or the domain/lib folder contains the RefFSContextFactory class
Any ideas gang..? TIA
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
答案是这是 OSB 中的一个错误,需要报告。
作为解决方法,您需要在您的domain/server/bin 文件夹的weblogic 类路径中单独设置jar。只需通过以下链接了解更多详细信息:
http ://forums.oracle.com/forums/thread.jspa?threadID=2135523&start=0&tstart=0
The answer is this is a bug in OSB which needs to be reported.
As a workaround you need to individually set the jars in the weblogic classpath in your domain/server/bin folder. just go through the link below for more details:
http://forums.oracle.com/forums/thread.jspa?threadID=2135523&start=0&tstart=0