EP5: Access Data Source (System Conf) properties
Hi ,
I am using EP5.0.In my portal , I have a tab called "System Configuration" and in that I have a sub tab called "DataSources" . I am putting in details such as URL , Username argument (say UName ) (not the username itself) and the password argument (say Pwd) (not the password - the argument like PWD ). these arguments are like -
used in the URL to check like UName = '..' and Pwd ='...' and these arguments may be different for differnet datasources... I want to get these details in the iview program ...
like
for datasource
'sdn'--- username argument = UName
password argument = Pwd
'sap'--- username argument = UserName
--- password argument = Pass
I want these details in the program ......
I should be able to pass the data source name and then it should give me these details ...so that i can use these arguments in my user mapping for other users...
what api should i use? what should i use....
please reply as soon as possbile...
avinash...
Hi all ,
Can anyone help me out with the above mentioned problem please ? Its urgent....
Thank you,
Avi
Similar Messages
-
Access data source from plugin
I have a recorded webtest. I added a csv file as data source in WebAndLoadTestProject. Now I added a PlugIn which containing several class for pre/post request override method. I want to access that added csv file as source of data and want to assign value
to context parameter or URL parameter created under request. From msdn blogs I did not find any solution.
What I want to know...
1. Is it possible to access data source files which is in WebAndLoadTestProject from PlugIn? How??
2. How can I assign context parameter with data from data source?
Thanks to every one...
RThanks for Adrian's help.
Hi SCRana,
Based on your issue, I know that it is possible to access data source files which is in WebAndLoadTestProject from PlugIn.
I find a similar thread about your issue, please refer the following thread to check this issue.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/a22708ec-77de-4851-84d3-f0096683c009/data-from-the-datasource-in-plugin?forum=vstswebtest
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem while displaying all the table names from a MS Access Data Source.
I started preparing a small Database application. I want to display all the Table Names which are in the 'MS Access' Data Source.
I started to executing by "Select * from Tab" as if in SQL.
But i got an error saying that "Not able to resolve Symbol 'Tab' in the query".
Please let me know how can i display all the table Names in the MS Access Dats Source.Here i am developing the application in Swing using JDBC for accessing the database.
I want to display all the Table names from the data source in a ListBox for easy selection of tables to view their details. -
How do I enable "Access data sources across domains" in firefox?
Couple of links do not work on my firefox however they work fine on IE. This is because the "Access data sources across domains" is enabled in IE and i am not sure on how to make this setting enable on Firefox as well.
Please provide the steps to enable "Access data sources across domains" setting in Firefox.
Please help!This should add the permanent exception:
[https://support.mozilla.org/en-US/kb/connection-untrusted-error-message#w_bypassing-the-warning Connection Untrusted Error Message: Bypassing the Warning]
However if it is not staying until the next time that the user opens up Firefox, is it possible that they are in permanent private browsing? [[Private Browsing - Browse the web without saving information about the sites you visit]] - that should have instructions to get in and out of it. -
CF 10 - IIS 7 - Set up an Access Data Source
How do we set up an Access data source with CF10 and IIS 7 in a 64 bit environment.
I have been away from CF for several years and things are a little different now.
I keep getting
Unable to update the NT registry. Variable DRIVERPATH is undefined.
-thxColdFusion doesn't support MSAccess in 64bit. Additionally, Windows doesn't currently ship with a MSAccess .accdb driver.
Please refer to http://blogs.coldfusion.com/post.cfm/coldfusion-10-64bit-and-msaccess -
Do not Extract from PSA but Access Data Source (for Small Amounts of Data)
Hi Experts,
In the DTP, the above option is available for Full Loads for certain extractors but not for others, particularly, certain HR extractors?
Is there a way to make it available for HR extractors? Is there a setting that needs to be updated in ECC or in BI?
Thank you for your help!Hi,
There is no special setting for this, Please see the detail description:
Data is not extracted from the PSA for the DataSource; it is requested from the data source directly at DTP runtime.
Use
You use this mode for small data sets and full uploads, for example, small sets of master data. With file source systems, note that the file has to be available on the application server.
Dependencies
You do not have to create an InfoPackage in order to extract data from the source.
Data in the data source is accessed in "direct access mode". This has certain consequences, especially if you are extracting data from SAPI systems:
Data is extracted synchronously. This places a particular demand on the main memory, especially in remote systems.
The SAPI extractors may respond differently than during asynchronous load since they receive information by direct access.
SAPI customer enhancements are not processed. Fields that have been added using the append technology of the DataSource remain empty. The exits RSAP0001, exit_saplrsap_001, exit_saplrsap_002, exit_saplrsap_004 do not run.
If errors occur during processing in BI, you have to extract the data again since the PSA is not available as a buffer. This means that deltas are not possible.
In the DTP, the filter only contains fields that the DataSource allows as selection fields. With an intermediary PSA, you can filter in the DTP by any field.
Regards,
Kams -
Problem in accessing Data Source Deployed in JBoss using JNDI
Hi everybody!
I need your help in the next question:
I have created a data source to connect to my MySql data base using the following entry in mysql-ds.xml (JBOSS 3.2.5)
<datasources>
<local-tx-datasource>
<jndi-name>MySqlDS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/mytest</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>1</password>
</local-tx-datasource>
</datasources> in Eclipse SDK 3.1.2 i trying get access to the datasource
InitialContext initialContext = new InitialContext();
DataSource ds = (DataSource)initialContext.lookup("java:/MySqlDS");
if (ds != null) {
result = ds.getConnection();
System.out.println("OK");
else {
System.out.println("Failed to lookup datasource.");
} http://localhost:8080/jmx-console service = JNDI name equal "java:/MySqlDS"
I have error "Cannot get connection: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial"
Error happen in
DataSource ds = (DataSource)initialContext.lookup("java:/MySqlDS");I trying
DataSource ds = (DataSource)initialContext.lookup("MySqlDS");and i had such error.
Can anybody help me?hi,
please check is your error corrected
public class DBConnection {
static DataSource dataSource = null;
* To get the datsource
public static DataSource getDatasource() {
InitialContext ctx=null;
if (dataSource == null){
try {
ctx=new InitialContext();
dataSource = (DataSource) ctx.lookup("java:/MySqlDS");
} catch (Exception e) {
System.out.println("eror in DataSource class"+e);
try {
ctx.close();
} catch (Exception e) {
System.out.println("eror in DataSource class context closing"+e);
return dataSource;
* To get connection from Database.
public static Connection getConnection() {
Connection con = null;
DataSource dataSource = null;
try {
dataSource =getDatasource();
con = dataSource.getConnection();
} catch (SQLException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
return con;
if you want a connetion then call Connection con=DBConnection .getConnection()
hope this helps you -
Access data sources supporting Tuxedo
WLS 5.1 states that it does not support two-phase commit.
In fact, if I try to establish two connections to different Oracle
databases within the same entity bean or session bean within a
transactional context then an exception is thrown.
I need to perform updates to two different resources, the first is an
Oracle database and the second is a Clarify CRM database.
The problem is getting the updates to both resources done atomically.
The Oracle database has a layer of EJB's and will run inside WebLogic.
The Clarify system only comes with a Java Bean interface (not an EJB
interface).
Obviously, at some point a connection needs to be established to the
underlying Oracle Clarify database and I suspect that the Java Bean
interface that Clarify provides will perform any transactional stuff per
method call. Although we may be able to detect Clarify problems through
exceptions thrown from the Java Bean methods, presumably for each
successful Java Bean method call the underlying data source changes
associated with it will be committed. Any subsequent Java Bean method
call that fails can too be detected but we have no way to roll back the
changes made in the previous method calls. This is obviously a typically
transaction based problem.
So, Clarify supports BEA Tuxedo, presumably for this purpose. Perhaps
someone can confirm, but I think that BEA Jolt provides a Java API to
BEA Tuxedo. Is this the currently recommended way to communicate with
Tuxedo? And does Jolt simply provide the equivalent XA methods such as
transaction start, prepare, commit methods etc?
I mentioned at the start that an exception will be thrown if an attempt
is made to open more than one database connection. Presumably, the
container will not be able to detect this if the connection is retrieved
in an independent Java class that is not part of the EJB? this is
important as BEA Jolt or the underlying Java Bean classes must at some
point establish a connection.
If Jolt provides this type of interface then presumable I could have a
stateless session bean that updates the first Oracle data source through
the EJB's and then simply starts a transaction using Jolt, then applies
the clarify changes using the Java Beans and then can use the two-phase
commit capabilities of Tuxedo to 'prepare' the Clarify changes. If the
prepare fails then a system exception will be thrown to rollback the
changes to the first data source, otherwise Jolt will be used to tell
Tuxedo to commit the changes and then the first data source will be
committed when the session bean method completes.
One drawback that I can see is that the transactional calls to Jolt will
be hardcoded in the beans and not controlled by transactional
demaraction in the deployment descriptors so we would need to be careful
when the transactional boundaries changes in the deployment descriptor.
I can't see how Weblogic 6.0 can assist us here as we don't have an EJB
intterface to Clarify.
How does the J2EE Connector stuff fit into this?
Anyone interfaced with Clarify through Jolt/Tuxedo - is the perfromance
adequate?
Many thanks in advanceHi,
You can also have a look at Metalink Note:150766.1 :- Subject: How to Access a JDBC Data Source From OC4J Using a JNDI Lookup
Regards,
Sandeep -
OBIEE 11.1.1.6.2 BP1 64-Bit - Define MS Access Data Source
Hi
On our 11.1.1.6.2 BP1 64-Bit OBIEE installation I'd like to define an ms access db as data source. We had that in OBIEE 10G too but there it was an 32-Bit ODBC-Source.
It seems that OBIEE 11G only accepts 64-Bit ODBC-sources. But for 64-ODBC there aren't any existing ms access drivers.
Did anybody deal with the same problem and found a solution for it?
RegardsHi,
you download AccessDatabaseEngine_x64.exe and install it then you can able to find it excel data source in 64bit version. (we too faced this issues few years back and test with windows server 2008) working fine.
you can download from below link
http://www.microsoft.com/en-us/download/details.aspx?id=13255
Thanks
Deva -
Access Data Source form Application Client
Hi All
i try to access oracle application server r3 emilated XA data source using aplication client.But it fails.if some one know how to do that ples let me know.
Note :- this works in other application servers (weblogic and websphere)
Thanks
Asanka PriyanjithHI Avi
It is stand-alone java class that is outside of OC4J Package as JAR file. i Add application application-client.xml and orion-application-client.xml in to META-INF and add resource-ref element to XMLs as well. but it does not work. i am using oracle thin dirver in application server side.
relavent code is ..
DataSource ds = null;
Connection db;
try {
Context initCtx = getInitialContext();
ds = (DataSource) initCtx.lookup(name);
catch (javax.naming.NamingException e) {
if (!ignoreNamingException) {
throw new javax.ejb.CreateException(e.toString());
catch (Exception e) {
throw new javax.ejb.CreateException(e.toString());
db = ds.getConnection(); // This line does not works.
lookup works, But after that i can not get a connection.
java.lang.NoSuchMethodError: oracle.sql.CharacterSet.stringToASCII(Ljava/lang/St
ring;)[B
at oracle.jdbc.driver.DBConversion.stringToDriverCharBytes(DBConversion.
java:386)
at oracle.jdbc.driver.DBConversion.StringToCharBytes(DBConversion.java:4
52)
at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.jav
a:152)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:294)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
430)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:
116)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:
75)
at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnectio
n(DataSourceConnectionPoolDataSource.java:57)
at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADat
aSource.java:55)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(M
anagedConnectionFactoryImpl.java:239)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnect
ion(ManagedConnectionFactoryImpl.java:198)
at com.evermind.server.connector.ApplicationConnectionManager.createMana
gedConnection(ApplicationConnectionManager.java:1333)
at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromF
actory(ConnectionPoolImpl.java:324)
at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImp
l.java:95)
at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManaged
Connection(ConnectionPoolImpl.java:1209)
at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(Connect
ionPoolImpl.java:782)
at com.evermind.server.connector.ApplicationConnectionManager.getConnect
ionFromPool(ApplicationConnectionManager.java:1532)
at com.evermind.server.connector.ApplicationConnectionManager.acquireCon
nectionContext(ApplicationConnectionManager.java:1477)
at com.evermind.server.connector.ApplicationConnectionManager.allocateCo
nnection(ApplicationConnectionManager.java:1423)
at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateCo
nnection(OracleConnectionManager.java:244)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(Orac
leConnectionManager.java:198)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.jav
a:197)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.jav
a:142)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java
Thanks
Asanka -
Recover Child Data Source - System Center Data Protection Manager 2012 SP1
I'm trying to write a script that, given an input file, recovers data from 1st of the month redirected to a folder.
It's all working, but I need to be able to restore only a folder from a D: drive that is protected for instance.
how can I restore a folder and it's contents from powershell? I can restore and redirect a whole drive for the recovery point I want, but I can't figure out how to restore a childdatasource. I've identified the cds, but how can I make that a recoverableitem
to feed the recover cmdlet?
MarkChild data source isn't the way to do this, I should have checked each recoverable item in the recovery point, that would like the top level items such as top level folders/vm's/sql dbs, etc.
Mark -
Access Data for System Form in SAP B1
Hi,
I want to access Text data and Matrix data for Purchase order Form. Can u Plz provide solution / Code for this problem.
ThanksHi Makarand,
write these code inside ItemEvent,
oForm = SBO_Application.Forms.Item(FormUID)
oEditText = oForm.Items.Item("4").Specific 'Unique ID of Vendor Code
VendorCode = oEditText.Value
oMatrix = oForm.Items.Item("38").Specific 'Unique ID of Matrix
For i=1 To oMatrix.RowCount
oColumn = oMatrix.Columns.Item("1") 'Unique ID of ItemCode in matrix
oEditText = oColumn.Cells.Item(i).Specific
ItemCode = oEditText.String
Next
You will get item Unique ID from Debug information.
Hope this will help you
regards,
BBN -
Editing a MS Access Data Source
1) I have a copy of Coldfusion MX 7 developers edition
running on my system. So my computer is acting as my local server.
2) I used Coldfusion Administrator to declare/link to the DSN
for the access database that I'm using.
3) All my pages that call for info from my database work on
my local server, but don't work when I upload them to my web
server.
QUESTION: How do I change the address of where the Coldfusion
Server looks for my DSN. Where is the code that points to the DSN
that you setup in Coldfusion Administrator?You have to use ColdFusion administrator on your Web server
to declare the DSN. It's the identical process you did when you
established the DSN on your local server. -
Question about Analytics ODBC Data Source (System DNS ODBC connexion)
Hi all !!!
I have a Linux OEL machine with OBIEE 11.1.1.5, and a Windows XP 32 bits to manage the Administration tool.
To open online the repository I need to set a System DNS ODBC connexion , but my quiestion is what is the BI Server default port ?
In the connection details I put 7001, but i receive a message : Unable to connect to port 7001 on machine 192.168.0.75;
The strange thing is that from the windows xp , I'm able to navigate to http : / /192.168.0.75:7001/em or /analytics or /console, and in the Linux i have the 7001 port open.
Thankx !!!Refer the below link for more details on what might be missing
http://download.oracle.com/docs/cd/E21764_01/bi.1111/e16364/odbc_data_source.htm#BIEIT1315 -
Access database as source system
Hi, Anyone has an idea about connecting MS access as source system. I did search on help.sap.com. I found UD connect / BI java connectors
http://help.sap.com/saphelp_nw70/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/frameset.htm
any other supported methods?
Thanks in advance.Hi Keven,
Get your data in the format you need - fast. No steep learning curve - no complicated software to drive. When over 95% of data applications support the import of CSV and delimited text files why complicate things. With this easy-to-use tool anyone can, install and start exporting Lotus Notes information in minutes. Export to CSV and text delimited format. Then simply import into any other format required
And use the flat file source system to extract this data.
Edited by: sasidhar vangara on Jun 4, 2009 11:40 AM
Maybe you are looking for
-
I preo ordered the album "Lost Isles" by Oceans Ate Alaska and the first early realease song, "Floorboards" Was instantly downloaded into my music library. However, today, a new song was released early called "Blood Brothers". It hasn't been download
-
I am unable to properly print a playlist in the jewel case format. All lines bunch together. I have no problem with other print formats. Help please.
-
[solved] Can't connect to samba shares
This is probably my fault, but for the life of me I can't figure this out. I started out trying to get usershares to work by following the wiki at https://wiki.archlinux.org/index.php/samba, and I am unable to connect to the resulting shares either f
-
We have an HP2009m and every time we turn it on it shows no DVI signal and monitor going to sleep
HP2009m monitor goes to sleep every time you turn it on. HELP!
-
I TRIED INSTALLING I TUNES AFTER UN-INSTALLING AN EARLIER VERSION, AS MY I PHONE 4S WOULD NOT CONNECT TO THE EARLIER VERSION OF I TUNES. WHEN I TRIED THE RE-INSTALLING THIS ERROR POPPED UP ' A PROGRAM REQUIRED FOR THIS INSTAL TO COMPLETE COULD NOT BE