您的位置:首页 > 其它

Unable to get the name of the each of the datasources used in the report

2012-11-07 14:41 519 查看
com.sap.tc.webdynpro.clientserver.uielib.genericactivecomponent.api

Hi Experts ,

First I apologize If I am not in correct Category ,

I had sucessfuly install Trial version of SAP Documentation for SAP NetWeaver Composition Environment Version.

I want get all datasource name in my application,the datasource which configured with SAP NetWeaver "Application

Resources" page.

我的应用是一个中间件服务器。在我的应用中,我需要在我的应用中得到在sap j2ee server控制台配置的数据源名称,只有这样我才能够让我的客户动态调整部署在我的应用(

中间服务器)里的子应用的数据库连接情况。
请问在sap netweaver中有获取sap j2ee server的所有数据源名称的方法吗?

例如,在我的应用中我得到了客户从控制台配置的“appeonsample”数据源名称后,我会在后台代码中增加“jdbc/”的前缀,也即JNDI name是:"jdbc/appeonsample"了



Hi Experts,
First I would apologize if I was not joining in the correct Category.

I have successfully installed Trial version of SAP Documentation for SAP NetWeaver Composition Environment Version.

My application is a middleware server. In the application, I want to get the DataSource Name which has been configured in sap j2ee server console, only then can my customers dynamically adjust the database connection status of the sub-applications in the application (middleware server). For detailed information, please see the contents (circled in red) in Resource Column, as shown in the following figure.

My question is whether there is any way to obtain the DataSource Name of sap j2ee server in the sap netweaver environment?

For instance, if I got a DataSource Name as “appeonsample” configured by a customer in the console, I would add a suffix like “jdbc/” in the java code, namely, its JNDI name is “jdbc/appeonsample”.

It is appreciated for answering my question in your busy time. Thank you in advance.

http://scn.sap.com/message/13649849#13649849
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐