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
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
相关文章推荐
- sql server query to get the list of column name in a table
- ORA-30926: unable to get a stable set of rows in the source tables
- ORA-30926: unable to get a stable set of rows in the source tables
- ORA-30926: unable to get a stable set of rows in the source tables
- ORA-30926: unable to get a stable set of rows in the source tables
- unable to get a stable set of rows in the source tables
- sql: Query to Display Foreign Key Relationships and Name of the Constraint for Each Table in Database
- Repeating Table Header on Each Page of the Report in the SSRS 2008
- Unable to find the report in the manifest resources. Please build the project, and try again.
- GetTypes Unable to load one or more of the requested types
- Unable to get value of the property '2': object is null or undefined
- How to get the length of array of strings in C? - Yahoo! Answers
- How to get the size of file in C++ - 在C++中如何获取文件的大小
- How to collect the full path name of the files in ASM diskgroups (文档 ID 888943.1)
- .NET错误The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework
- The best way to get unique elements of a list in Python
- How to get files to show up in the Process Monitor/Report Repository
- How to get the query statement of LOV in Oracle Form
- How to Get the Frequency Table of a Categorical Variable as a Data Frame in R
- unable to locate configuration files of the name struts-plugin.xml提示信息的解决办法