我可以将 JBoss AS 5 或 6 与 Firebird 或 InterBase SQL 服务器一起使用吗?

发布于 2024-10-08 15:13:35 字数 724 浏览 0 评论 0原文

今天我尝试在 JBoss AS 6 RC1 中配置 JDBC 资源,遇到一个需要 RAR 名称的字段。如果我有一个带有 JDBC 驱动程序的数据库,我是否还需要一个 RAR 文件用于 JBoss AS 中的配置?

在 GlassFish v3 中,安装时只需要 JDBC 驱动程序。或者是否有一种通用(一刀切)RAR 可以在没有供应商提供的情况下使用?

对于 Firebird,我发现了这个:

对于 InterBase 我发现:

  • 没有有关 JBoss 配置的信息
  • 没有 JCA 资源适配器文件 (RAR)
  • JBoss 中没有数据源示例

也许 JayBird JDBC 驱动程序可以与 InterBase 一起使用。然而它的开发相当不活跃(2008 年的补丁 2.1.6,2006 年的 2.2 开发快照)

Today I tried to configure a JDBC resource in the JBoss AS 6 RC1, and encountered a field which requires a RAR name. If I have a database with a JDBC driver, do I also need a RAR file for the configuration in JBoss AS?

In GlassFish v3, only the JDBC driver was required for the installation. Or is there a generic (one size fits all) RAR which can be used if no vendor-provided is available?

For Firebird I found this:

For InterBase I found:

  • no information about JBoss configuration
  • no JCA resource adapter file (RAR)
  • no datasource example in JBoss

Maybe the JayBird JDBC driver can be used with InterBase. However its development is quite inactive (patch 2.1.6 from 2008, 2.2 development snapshot from 2006)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

染墨丶若流云 2024-10-15 15:13:35

您拥有各种连接器的数据源,即各种数据库供应商,通常可以在 /docs/examples/jca 文件夹中找到。

只需复制与供应商相关的文件,为 jndi 资源命名,更改凭据、驱动程序等并将其放入部署文件夹中。之后可以使用 JNDI 访问数据源

请确保将相关 JDBC 驱动程序复制到部署的 lib 文件夹或您正在使用的任何其他配置 [我们可以在 jboss 中找到所有、最小、默认配置]

如果您找不到数据源例如,请复制 generic-ds.xml

You have data sources for various connectors i.e various DB Vendors which can be usually found in /docs/examples/jca folder.

Just copy the file related to vendor, give a name for jndi resource, change the credentials,drivers etc and put it in deploy folder. After which the Datasource can be accessed using JNDI

Please make sure to copy related JDBC Drivers to lib folder of deployment or any other configuration you are using [ we can find all, minimum,default configurations in jboss]

If you don't find a datsource example , please copy generic-ds.xml

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文