Red Hat JBoss Fuse 6.2.1:Osgi缺少要求:Oracle JDBC驱动程序

编程入门 行业动态 更新时间:2024-10-27 21:14:19
本文介绍了Red Hat JBoss Fuse 6.2.1:Osgi缺少要求:Oracle JDBC驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

这是我在Jboss保险丝上遇到的一个问题,在该保险丝中找不到依赖项(Oracle JDBC JAR)作为OSGI捆绑包. 源代码在本地运行时工作正常,但在Karaf容器上部署时却出错. 有关问题和相关源代码的详细说明,位于: developer.jboss/message/948643

This is a problem that I am facing with Jboss fuse, where a dependency (Oracle JDBC JAR) is not found as an OSGI bundle. The source code works fine when run locally, but errors out when deployed on a Karaf container. A detailed explanation of the issue and associated source code is placed at: developer.jboss/message/948643

任何对此的建议都将受到欢迎.

Any suggestions on this would be welcome.

感谢您的耐心配合. 巴巴拉语

Thanks for your patience. Prabal

推荐答案

您要在Fuse服务器上部署的Oracle JAR文件不是Maven捆绑包. 因此,您需要使用以下命令包装并安装该库:

The Oracle JAR File that you are trying to deploying on the Fuse Server is not a Maven Bundle. So you'll need to Wrap and install the library using the following command :

install -s wrap:mvn:com.oracle/ojdbc6/<version>

<version>表示jar文件的版本号.希望这会有所帮助.

Where the <version> refers to the version number of the jar file. Hope this helps.

更多推荐

Red Hat JBoss Fuse 6.2.1:Osgi缺少要求:Oracle JDBC驱动程序

本文发布于:2023-10-28 23:53:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1538133.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:驱动程序   JBoss   Fuse   Red   Hat

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!