开发者

Deploying applications from Eclipse to OAS (OC4J)

开发者 https://www.devze.com 2023-01-24 19:40 出处:网络
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 wiza

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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消