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 advance

Hi,
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

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...
    R

    Thanks 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.

  • 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.
    -thx

    ColdFusion 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

  • What are the Non SAP data sources supported for Analysis workbooks?

    AO 1.4 SP6
    BO 4.1 SP2
    What are the Non SAP data sources supported for Analysis workbooks?
    Thanks.

    HANA is a data source (which could contain non-SAP data)
    For other Excel front-ends that may connect to "non-SAP" data look at Live Office or Power BI by Microsoft - see Excel and Power BI connectivity to SAP BusinessObjects Universes | Power BI

  • 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.

  • 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

  • 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?
    Regards

    Hi,
    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 Priyanjith

    HI 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

  • 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

  • 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.

  • How to execute Custom java data source LOV view object from a common mthd?

    Hi,
    My application contains Custom java data source implemented LOVs. I want to have a util method which gets the view accessor name, find the view accessor and execute it. But i couldn't find any API to get the view accessors by passing the name.
    Can anyone help me iin how best view accessors can be accessed in common but no by creating ViewRowImpl class (By every developer) and by accessing the RowSet getters?
    Thanks in advance.

    I am sorrry, let me tell my requirement clearly.
    My application is not data base driven. Data transaction happens using tuxedo server.
    We have entity driven VOs as well as programmatic VOs. Both are custom java data source implemented. Entity driven VOs will participate in transactions whereas programmatic VOs are used as List view object to show List of values.
    Custom java datasource implementation in BaseService Viewobject Impl class looks like
            private boolean callService = false;
        private List serviceCallInputParams = null;
        public BaseServiceViewObjectImpl()
            super();
         * Overridden for custom java data source support.
        protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams)
            List dataFromService = null;
            if(callService)
                callService = retrieveDataFromService(serviceCallInputParams);
            setUserDataForCollection(qc, dataFromService != null? dataFromService.iterator(): null);   
            super.executeQueryForCollection(qc, params, noUserParams);
         * Overridden for custom java data source support.
        protected boolean hasNextForCollection(Object qc)
            Iterator<BaseDatum> datumItr = (Iterator<BaseDatum>) getUserDataForCollection(qc);
            if (datumItr != null && datumItr.hasNext())
                return true;
            callService = false;
            serviceCallInputParams = null;
            setFetchCompleteForCollection(qc, true);
            return false;
        }Individual screen developer, who want to load data to VO, will do something like the below code in their VO impl class
        public void fetch()
            BaseServiceViewObjectImpl vo = this;
            vo.setCallService(true);
            vo.setServiceCallInputParams(new ArrayList());
            vo.executeQuery();
        }As these custom java data source implemented LOV VOs comes across the screens, i want to have a util method at Base VOImpl class, that gets the view accessor name, finds the LOV VO instance, retrieves data for that. I want to do something like
         * Wrapper method available at Base Service ViewObject impl class
        public void fetchLOVData(String viewAccessorName, List serviewInputParams)
            // find the LOV View object instance
            BaseServiceViewObjectImpl lovViewObject  = (BaseServiceViewObjectImpl) findViewAccessor(viewAccessorName);
            // Get data for LOV view object from service
            lovViewObject.setCallService(true);
            lovViewObject.setServiceCallInputParams(serviewInputParams);
            lovViewObject.executeQuery();
    Question:
    1. Is it achievable?
    1. Is there any API available at View Object Impl class level, that gets the view accessor name and returns the exact LOV view object instance? If not, how can i achieve it?

  • MDM Import manager data sources

    Hi experts,
    As far as I know MDM has ETL capabilities with MDM Import/syndicator tools that allows to load and extract data to and from MDM using files and relational databases as source/target.
    What different kind of data sources supports MDM Import manager?
    When should we work with SAP XI/PI?
    When sould we work with ETL (Data Services as Data Integrator)?
    Thanks in advance,
    Abby
    Edited by: Abigail Beurmann on Nov 23, 2011 11:38 AM

    Hi Abigail,
    So, Could you please tell me if it's a common practice to import data in MDM using files?
    for example as you said, We want to import data from R/3 to MDM using XML files that XI/PI generates?
    Yes its a common practice to import data in MDM in files.Most common mode of data exchange is xml which has many advantages namely it is accepted open standard,allows to clearly separate content from form (appearance), is text-oriented,is Secure, is extensible,is self-describing, is universal; meaning internationalization is no problem and XML is a future-oriented technology.
    In our business scenario, We have a SAP CRM with SQL server 2005 as a source. Could MDM automatically import data directly from SQL Server or it's a better practice to generate XML files with PI using the Import Port/folder?
    One should always use a interface as business rules can possibly change and making a later change could be huge ask.
    So PI can act a interface between MDM and CRM.
    CRM supports Bdoc and PI can integrate with CRM with help of ABAP Proxies.
    The following thread provides you in depth information on integration of the 2 systems:
    CRM-MDM Integration via XI
    To help you understand more about webservice and PI integration with MDM for CRM integration please go though this thread:
    SAP PI and Webservices
    To know more about PI vs DS please go though this guide:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10fbac70-c381-2d10-afbe-c3902a694eaf?QuickLink=index&overridelayout=true
    About Integration with PI:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8035bf61-d6b5-2e10-5fa6-e5e00b9e6174&overridelayout=true
    A guide which takes you through the entire process of CRM PI MDM integration,although for SAP MDM 5.5 version but valid for most part:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/405a73cc-9068-2c10-859e-c13f81922e7c?QuickLink=index&overridelayout=true
    Hope this helps.
    Thanks,
    Ravi

  • How to create a database link on an ms acces data source

    Hello every body
    Is it possible to create a database link on an MS access data source under
    oracle 10 g and Apex ?
    If yes how to do it ?
    Thanks in advace

    I don't know what Apex is!!! But try to follow these instructions.
    It works for Oracle 9i.
    As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
    1. Control Panel / Administrative Tools / Data Sources (ODBC)
    Folder: System DSN /
    click add
    Choose : Microsoft Access Driver
    Data Source Name : my_test
    Description : any_description_you_want
    click Database/Select... : full pathname for <your_file.mdb>
    click OK
    Click OK
    2. Goto OH\hs\admin:
    2.1) Create a copy of "inithsodbc.ora" file giving it this name:
    initmy_test.ora
    2.2) Edit "initmy_test.ora" and change as below.
    # HS init parameters
    HS_FDS_CONNECT_INFO = my_test
    HS_FDS_TRACE_LEVEL = OFF
    3. Add this entry to listener ( Don't forget to stop/start the listener )
    (SID_DESC =
    (SID_NAME = my_teste)
    (ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
    (PROGRAM = hsolesql)
    4. Now you need to add entries to point to the HS in the tnsnames.ora :
    access =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
    (CONNECT_DATA=(SID=my_test))
    (HS=my_test)
    5. Now you need to go into the database and create the database link:
    CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
    6. select * from your_table@ACCESS_DB;
    HTH
    RK
    Message was edited by:
    RKravcenko

Maybe you are looking for

  • Read record from parent table

    Hello, I have a table which is linked (using FK) with a number of other tables which are linked with other tables, etc. (like a tree). Using ADO.NET EF provider within ODAC 11.2.0.3 Release 5 I am trying to get a record from the root table. I coded a

  • Branch flow in two parallel notifications

    Hi all, I've already posted something like this, but i think this explanation is a little clearer than the old one. is it possible to branch the flow in two parallel notifications? My workflow has a function that evaluates attributes, an in some case

  • Sticky Notes and How to Manage Them

    Hi there, I'm a tech author whose client uses Adobe Acrobat (I think) to review PDF that my company generates (using Jaws I think). When the reviews come back they are normally covered from start to finish in 'sticky notes' containing feedback from a

  • Date selection - Disable certain days and dates

    Hello!  In an Adobe Form, is it possible to disable certain days and date ranges in the date chooser (calendar)?  For example, I want to disable all Sundays as well as dates more than one month in the past. I've found examples for Adobe Flex, but the

  • How to convert my aol account to an existing apple id account?

    Since Apple has informed me that I need to switch my AOL account sign in to the iTunes store to a Apple Id, I am in need of converting it to an existing Apple Id, but the process does not have an option to convert to an existing Apple Id. Checking wi