将应用程序从 Eclipse 部署到 OAS (OC4J)

发布于 2024-10-02 01:19:06 字数 370 浏览 1 评论 0原文

我们使用 JDev 开发应用程序并将其部署到 OC4J 和 OAS。 我们曾经使用 JDev 在开发和部署时为我们创建数据源配置。 (在开发中使用 jdev 附带的向导连接到数据源..并且在部署中因此我们不需要在应用程序服务器上手动进行任何数据源配置)

但是,当我们迁移到 eclipse 时,我们可以除非我们手动创建数据源(使用 emj2ee\home\config\data-sources.xml但在某些部署中,我们可能无法做到这一点,

那么,我们是否可以向 EAR 添加一些文件,以便我们可以告诉 OAS 我们需要从中创建 DS? 提示(我听说一些名为 orion*.xml 的东西,这与该请求有关吗?

谢谢。

We were using JDev to develop our applications and deploy them to OC4J and OAS.
we used to use JDev to create the data-source configuration for us both on dev and on deployment. (on dev using the wizard that come with jdev to connect to data-source.. and on deployment hence we don't need to do any Data-source configurations on the app server manually)

But, when we moved to eclipse, we couldn't no longer be able to deploy the EAR file unless we create the data-source manually (either using the em or j2ee\home\config\data-sources.xml but on some deployment, we may not be able to do such thing.

So, can we add some files for example to the EAR so that we can tell OAS that we need from it to create the DS for us??
Hint (I am hearing about some thing named orion*.xml, is this related to that request??

Thanks.

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

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

发布评论

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

评论(1

橘虞初梦 2024-10-09 01:19:06

你可以。

您需要将正确的 data-sources.xml 放入 EAR/META-INF 中,并从 EAR/META-INF/orion-application.xml 引用它,就像 j2ee\home\config\data-sources.xml 一样从 j2ee\home\config\application.xml 引用

You can.

You need to place the correct data-sources.xml into your EAR/META-INF and reference it from your EAR/META-INF/orion-application.xml the same way as j2ee\home\config\data-sources.xml is referenced from j2ee\home\config\application.xml

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