Transaction in a Container

Hi,
I am using the report 'RSDEMO_SPLITTER_CONTROL' to see if i can get an transaction in a part of a screen.
In this example that you can see in transaction 'dwdm' - example Splitter Cointainer, we have 2 containers. I want to know if it is possible to put inside 1 container a SAP transaction like VA01. How I can make that please? So what i want is to know if it is possible to have my main screen splitted in 2 parts, one part to whatever i want and another part to a SAP transaction (in my example i need VA01).
How can i do that?
Thanks and best regards

Hi Yukimai,
I don't think that this is possible. I investigated a similar requirement and found nothing. What you're effectively saying is that you want SAP to run 2 transactions at the same time in the same session i.e. the one with the screen that contains the splitter and the one that you are calling inside the splitter container.
I don't think SAP can handle this.
Mike

Similar Messages

  • Need to monitor transactions, but DEFSCHEDULE contains no data.

    Hi all,
    I just built up the single-master-many-mviews replication environment I ran some transactions from side to side and they were applied successfully on all databases. Now I need to define the network traffic my transactions ate. Executing the following query from doc gives me nothing:
    SELECT DECODE (total_txn_count,
    0, 'No Transactions',
    ((total_bytes_sent + total_bytes_received) / total_txn_count)
    ) "Average Bytes",
    DECODE (total_txn_count,
    0, 'No Transactions',
    (total_round_trips / total_txn_count)
    ) "Average Round Trips"
    FROM defschedule
    WHERE dblink = 'RISE9.COMPANY.COM.UA';
    Query finished, retrieving results...
    Average Bytes Average Round Trips
    0 row(s) retrieved
    Why my defschedule is empty? Thanks in advance.

    Hi,
    I have 9.2.0.8 on all servers. DBMS_DEFER_SYS.CLEAR_PROP_STATISTICS is never running. I checked out DEFSCHEDULE on all databases and they are empty everywhere. Actually, they contain 1 or 2 records with zero values in all columns but DBLINK which is correct. I running many transactions with hundreds of calls but zeroes are not being changed. By the way, I applied several Oracle prebuilt conflict resolution methods and looks like they work well because explicitly conflict transactions don't get deferred. But DBA_REPRESOLUTION_STATISTICS is empty. No idea why I have these problems with the dictionary.
    Oleh

  • Callling Transaction in Split Container

    Dear All,
    I have created one module pool program for splitting the container by using the following classes
                             -  cl_gui_docking_container
                             -  cl_gui_easy_splitter_container
                             -  cl_gui_container
    after executing my program it's showing the splitting screen.Up to now it's fine.But What my requirement is,in left side container i have to display vf03 transaction.how to display the transaction in that screen?please help me out.
    with Regards

    i got a solution for you
    just copy this report 'DEMO_ABAP_OBJECTS_DIALOG_BOX'.
    and in line number 187. comment out the code
    *    select single URL
    *    from   SCARR
    *    into   L_URL
    *    where  CARRID = I_CARRID.
    and insert this code.
    l_URL = 'http://<host>:<port number>/sap/bc/gui/sap/its/webgui/?~TRANSACTION=VA02'.
    you can get this host and port easily by launching any of the webservice from your server(like goto SICF, give service name webgui,execute, then on next screen right on the code sap/bc/gui/its/webgui and click test service.) from here you can pick the host and port or just ask your basis team,
    after doing this.. execute the program and click on any main node(not the child node.. and bingo )

  • JMS Sender with ejb3 container managed transaction

    Hi all,
    I refer to the following link http://download.oracle.com/docs/cd/E11035_01/wls100/jms/trans.html#wp1035937
    I found that JTA support JMS.
    But I dont' want to use JTA explicitly, I want to use container manage transaction. eg. inside ejb3 stateless session bean.
    does it support JMS?
    With Regards,
    wp

    Hi,
    Yes, WebLogic JMS supports JTA (a.k.a XA, a.k.a global) transactions such as container managed transactions. There are two requirements for CMTs on SSB:
    (1) use an XML descriptor setting or EJB annotation to enable CMT for the SSB
    (2) use a WebLogic JMS connection factory that is configured to have "global (XA) transactions enabled"
    And I usually also recommend:
    (3) Consider using a JEE "res-ref" for the connection factory to enable pooling of JMS resources. See "Enhanced Support for Using WebLogic JMS with EJBs and Servlets" (http://download.oracle.com/docs/cd/E14571_01/web.1111/e13727/j2ee.htm#g1329180), and the "Integrating Remote JMS Providers" FAQ (http://download.oracle.com/docs/cd/E14571_01/web.1111/e13727/interop.htm#JMSPG553).
    (4) Avoid using SSBs to receive messages. MDBs are specifically designed for processing incoming messages.
    It's also possible to have WebLogic automatically enlist foreign (non-WebLogic) vendors in WebLogic transactions. See the "Integrating Remote JMS Providers" FAQ for details (http://download.oracle.com/docs/cd/E14571_01/web.1111/e13727/interop.htm#JMSPG553).
    Regards,
    tom

  • How set autocommit=false with container transactions?

    Hi all!
    A'm using EJB's with transaction attribute=Container.
    This is simple scenario:
    call Session Bean
    begin transaction
    call EntityBean1 {
    database update 1
    call EntityBean2 {
    database update 2
    end transaction
    return from session bean
    The problem is:
    when update2 fails update1 not rolling back.
    A know, that solution of this problem is set AUTOCOMMIT=FALSE in Connection, but how do this with container transactions? Point me exactly to place, where this can be done, if this possible. Or may be no general solution (I.e. Each case demands it's own approach.)?
    (I can't directly call method of Connection object because of transaction managed by container)
    Tnx a lot.

    Hi there,
    I have the same problem with Orion and NuSphere MySql.
    When I define a container-managed transaction, the autocommit mode is not changed.
    I have a session bean for which I set the transaction attribute to REQUIRED and two entity beans for which the transaction attribute is SUPPORTS in the ejbjar.xml file.
    The session beans calls the two entity beans and makes some modifications on them like for instance removing them from the database.
    When I check whether a transaction can be rolled back, for instance by putting in my code a loop that never ends and then stopping the server, it seems my application is running in autocommit mode. No rollback is done.
    This is very strange.
    The two entity beans are stored using gemini tables which permit rollbacks. So when I start a transaction inside mySql using sql statements, I can do a rollback without problem.
    Any idea of what's going wrong ?
    Dimitri.

  • Discrete Inventory: Material Transactions Distribution contains no records

    Dear Friends
    We are not able to see the cost center wise consumption of the material in discrete inventory.
    We are using Move Orders Issue for recording the consumption of the material.
    cst_inv_distribution_v: We have analyzed this view but didn't get any results, the problem recognized finally is that MTL_MATERIAL_TRANSACTIONS have all the transactions but MTL_TRANSACTION_ACCOUNTS contains no records. MTL_TRANSACTION_ACCOUNTS table is empty. Material Transactions are not hitting the Distribution part.
    Platform: Oracle Applications 11i (11.5.10.2)
    Please guide us so that this problem can be solved.
    Thanks in Advance
    Ankur Bhatia

    Check if the costing manager is running.
    Check if there are any records that errored out (costed_flag =E in mtl_material_transactions)
    If that happens, costing manager may not process the remaining records (assuming you are in avg. costed org).
    Also, if your move orders are resulting in a subinventory transfer and if the accounts for the subinventories are same, you won't see any distribution records.
    Sandeep Gandhi

  • Please help me to understand Transaction option in SSIS container

    Hi experts,
     I am confused about Transaction option in SSIS container,
    1. Required - Start the transaction. What is mean that start transaction?
    2.Supported- join the transaction ..
    can you please help me to understand.
    Thanks

    I think Vaibhav already answered your question but here's more from my end.
    1. 
        Package - Transaction Option - Supported
        SEQC - Transaction Option - Supported
        3 Execute SQL Tasks - Transaction Option - Supported
    So, package / SEQC / SQL 1 / SQL 2 / SQL 3 doesn't involve in a transaction i.e. think of those tasks are not included in
    BEGIN TRANSACTION / COMMIT TRANSACTION
    Sequence Container
    --Execute SQL Task 1
    INSERT INTO dbo.t1 (a)   
    SELECT 10
    --Execute SQL Task 2
    INSERT INTO dbo.t1 (a) 
    SELECT 11
    --Execute SQL Task 3
    INSERT INTO dbo.t1 (a) 
    SELECT 'aa'
    When we execute package, it will insert 10, 11 values into table dbo.t1 and since there's an error in the 3rd statement, it'll fail
    2.  
        Package - Transaction Option - Required
        SEQC - Transaction Option - Supported
        3 Execute SQL Tasks - Transaction Option - Supported
    Now, package will Start a transaction since it's Transaction Option is "Required" , so now the SEQC (3 Execute SQL tasks) will
    be inside transaction / join the transaction because their transaction option is "Supported".
    Package - Information: Starting distributed transaction for this container. --BEGIN TRANSACTION 
    (You'll see this statement in Processing / Execution Results tab)
    SEQC
    --Execute SQL Task 1
    INSERT INTO dbo.t1 (a)   
    SELECT 21
    --Execute SQL Task 2
    INSERT INTO dbo.t1 (a) 
    SELECT 22
    --Execute SQL Task 3
    INSERT INTO dbo.t1 (a) 
    SELECT 23
    Package - Information: Committing distributed transaction started by this container. -- COMMIT TRANSACTION 
    (You'll see this statement in Processing / Execution Results tab)
    When we execute package, it will insert 21, 22, 23 values into table dbo.t1 and also you can see the START TRANSACTION /
    COMMIT TRANSACTION in the Exection Results tab are at the Package Level and not at the Sequence Container level.
    Without any change, if you change the value from 23 to 'aa' in the 3rd Execute SQL task then you'll see 
    Information: Aborting the current distributed transaction. statement in the 3rd Executed SQL Task in Execute Results tab
    which is at the Sequence container / Execute SQL task 3 level and it's because their Transaction option is Supported and so they
    joined the transaction 
    Please see the screenshot below that under Package, the START TRANSACTION but ABORT TRANSACTION is at Execute SQL task
    level
    3. 
        Package - Transaction Option - Supported
        SEQC - Transaction Option - Required
        3 Execute SQL Tasks - Transaction Option - Supported
    Please see the screenshot below that under Sequence Container, the TRANSACTION has started. Since the the Sequence container's
    parent (which is package) has not started any transaction and so the it started it's own transaction. 
    4. 
        Package - Transaction Option - Required
        SEQC - Transaction Option - Required
        3 Execute SQL Tasks - Transaction Option - Supported
    See the screenshot below which is same as first screenshot.
    Since Package's transaction property is set to "Required" and it's Parent to Sequence Container 
    and so package started the started the transaction, and  though Sequence container's transaction option is "Required", 
    it will not start a new transaction rather it "joins" the transaction that was already opened by it's Parent (Package). 
    Now, if we see the definitions what Supported and Required means - 
    Supported - Specifies that this container will not start a transaction. 
    However, it will participate in a transaction if the parent container started one. This is the default. (4th Example)
    Required - Specifies that this container will cause a new transaction to be started unless the parent container already has a transaction, 
     in which case, the parent’s transaction will be joined. (2nd and 3rd Examples)
    Narsimha

  • Use of javax.jdo.Transaction in BMT

    Sections 16.1.3 and 16.1.4 of the JDO spec (version 0.95) state that the
    application code with a Bean Managed Transaction has the option of
    getting a Persistence Manager before a UserTransaction is opened and
    managing the transaction through the javax.jdo.Transaction interface.
    When I attempt this in Kodo 2.1.2 (EE), I get the following exception
    thrown:
    javax.jdo.JDOUserException: The global UserTransaction must be used for
    begin/commit/rollback.
    at
    com.techtrader.modules.jdo.ee.EEPersistenceManager.begin(EEPersistenceManager.java:62)
    at
    com.ysoft.jdo.book.restaurant.MenuManagerImpl.getObjectsByQuery(MenuManagerImpl.java:108)
    Is this the expected behavior for Kodo? If so, it appears to be a bug.
    If not, then perhaps I am doing something wrong.
    David Ezzio
    Yankee Software

    You're right, we don't implement that feature of the spec yet. And
    unfortunately, if we do implement it, we'll break another part of the
    spec in doing so. Let me explain:
    In enterprise situations, there are two requirements for transaction
    management:
    * In container-managed EJBs, the javax.jdo.Transaction interface cannot
    be used and must throw an exception on begin/commit/rollback.
    * In bean-managed EJBs, the javax.jdo.Transaction interface should tie
    into the gobal UserTransaction and can be used for begin/commit/rollback.
    Now, the problem is, there is absolutely no way for a generic JDO
    implementation without appserver-specific hooks to know whether it is
    being executed from a container managed or bean managed EJB. None. So
    if we allow control of the UserTransaction through the
    javax.jdo.Transaction, we'd have to allow all the time, including for
    container managed beans.
    The good news is that most EJB containers will detect our messing with
    the transaction state manually in a container-managed EJB and throw the
    proper Exception themselves, so we could probably get away with this.
    And in fact this is exactly what we plan to do -- go ahead and always
    allow transaction management through the javax.jdo.Transaction interface
    and hope containers detect errors themselves.
    Well, I'm sure that was much more information than you needed :)
    Anyway, expect to see this feature implemented in the next version of
    the Enterprise Edition, due out next month.
    -- Abe White
    Kodo Product Team
    David Ezzio wrote:
    Sections 16.1.3 and 16.1.4 of the JDO spec (version 0.95) state that the
    application code with a Bean Managed Transaction has the option of
    getting a Persistence Manager before a UserTransaction is opened and
    managing the transaction through the javax.jdo.Transaction interface.
    When I attempt this in Kodo 2.1.2 (EE), I get the following exception
    thrown:
    javax.jdo.JDOUserException: The global UserTransaction must be used for
    begin/commit/rollback.
    at
    com.techtrader.modules.jdo.ee.EEPersistenceManager.begin(EEPersistenceManager.java:62)
    at
    com.ysoft.jdo.book.restaurant.MenuManagerImpl.getObjectsByQuery(MenuManagerImpl.java:108)
    Is this the expected behavior for Kodo? If so, it appears to be a bug.
    If not, then perhaps I am doing something wrong.
    David Ezzio
    Yankee Software

  • MDB Distributed transaction and stored procedure rollback

    Hi All,
    I am developing an asynchronous application using MDB. My application flow is as follows:
    1. From MDB onMessage i am calling another method MEthodA that
    a. calls a simple pojo1 where I am getting a Connection on XA enable datasource1 and executing Stored Procedure1 of DatabaseSchema1. In Stored Procedure1 I have some inner savpoints and rollback. No commit is inside Stored Procedure1 .
    b. In that pojo withput commiting m closing the connection and coming back in MethodA.
    c. Again from MethodA m calling an different pojo2 where I am getting a new Connection on XA enable datasource2 and executing Stored Procedure2 of DatabaseSchema1.In this pojo also without commiting m closing the connection and coming back in MethodA. In Stored Procedure2 I have some inner savpoints and rollback. No commit is inside Stored Procedure2 .
    d. Again from MethodA m calling pojo1 where I am getting a new Connection on XA enable datasource1 and executing a diffrent function of Stored Procedure1 of DatabaseSchema1.
    Now problem is:
    I have written some Savepoint and rollback inside Stored Procedure1 and inside Stored Procedure2. But these rollback is working only in inside Stored Procedure1 not in inside Stored Procedure2 in each case.
    In ejb-jar.xml transaction attributes is Required for all methods and transaction type is Container.
    Backend is Oracle 10g and init.xa has already been run on that.
    I have tested this on Oc4J and Websphere 6.0.
    I am using XaDatasource.
    Will be very obliged if any one can give a single hint of the problem as soon as possible.
    Thanks a lot

    Hi Kent;
      You have a few choices (AFAIK) with ASE...
    1)  AutoCommit = TRUE
      - must be before connect to your DB
    2) End your PB transaction first. For example
    String ls_end    =  "END TRANSACTION"
    String ls_begin  =  "BEGIN TRANSACTION"
    EXECUTE IMMEDIATE  ls_end using SQLCA;
    <call your SP>
    EXECUTE IMMEDIATE  ls_begin using SQLCA;
    3) use a 2nd Transaction Object for the SP where its AutoCommit = TRUE
    - or -
    4) In your SP ...
    Commit Transaction
    begin transaction
        insert into mytab (pub_id) values ("9999")
    commit transaction

  • How to start and finish a transaction using EJB 3.0 in JDeveloper

    Hello everybody!
    Does anybody can explain how to start and finish a transaction using EJB 3.0. I need to start a transaction insert some information in some tables and if everything was fine commit the information.
    I put the annotation @TransactionManagement(TransactionManagementType.BEAN) in my session bean and @Resource SessionContext ejbContext; but I don't what anything else I have to do.
    Any help will be appreciate.

    I tryied to use in the client the statement EntityTransaction transaction = myBean.getTransact(); but I receive the EJBException: Cannot use resource level transactions with a container managed EntityManager
    I just need to start a transaction something like this: transaction.begin(); and finish the transaction, something like this: transaction.commit();
    Does anybody can help?

  • What are the transactions we use day to day in the bw before go live

    what are the transactions we use most in the bw before go live?
    Tcodes for backend objects like creating infocube and so on.
    Tcodes for front end objects like creating queries and so on.
    Thank you.
    York

    Hi Les,
    check previous posting
    Transaction Codes for BW Developers
    SAP BW n R/3 transactions.
    table TSTCT contains all the transaction codes
    RSA6 Maintain DataSources
    RSA7 BW Delta Queue Monitor
    RSA8 DataSource Repository
    RSA9 Transfer Application Components
    RSD1 Characteristic maintenance
    RSD2 Maintenance of key figures
    RSD3 Maintenance of units
    RSD4 Maintenance of time characteristics
    RSDBC DB connect
    RSDDV Maintaining Aggregates
    RSIMPCUR Load Exchange Rates from File
    RSISET Maintain InfoSets
    RSKC Maintaining the Permittd Extra Chars
    RSLGMP Maintain RSLOGSYSMAP
    RSMO Data Load Monitor Start
    RSMON BW Administrator Workbench
    RSOR BW Metadata Repository
    RSORBCT BI Business Content Transfer
    RSORMDR BW Metadata Repository
    RSPC Process Chain Maintenance
    RSPC1 Process Chain Display
    RSPCM Monitor daily process chains
    RSRCACHE OLAP: Cache Monitor
    RSRT Start of the report monitor
    RSRT1 Start of the Report Monitor
    RSRT2 Start of the Report Monitor
    RSRTRACE Set trace configuration
    RSRTRACETEST Trace tool configuration
    RSRV Analysis and Repair of BW Objects
    SE03 Transport Organizer Tools
    SE06 Set Up Transport Organizer
    SE07 CTS Status Display
    SE09 Transport Organizer
    SE10 Transport Organizer
    SE11 ABAP Dictionary
    SE24 Class Builder
    SE80 Object Navigator
    RSCUSTA Maintain BW Settings
    RSCUSTA2 ODS Settings
    RSCUSTV*
    RSSM Authorizations for Reporting
    SM04 User List
    SM12 Display and Delete Locks
    SM21 Online System Log Analysis
    SM37 Overview of job selection
    SM50 Work Process Overview
    SM51 List of SAP Systems
    SM58 Asynchronous RFC Error Log
    SM59 RFC Destinations (Display/Maintain)
    LISTCUBE List viewer for InfoCubes
    LISTSCHEMA Show InfoCube schema
    DB02 Tables and Indexes Monitor
    DB14 Display DBA Operation Logs
    DB16 Display DB Check Results
    DB20 Update DB Statistics
    r/3 (bw related)
    SBIW BIW in IMG for OLTP
    BD61 Activate Change Pointers - Generally
    BDLS Convert Logical System Names
    BF11 Application Areas
    RSA2 OLTP Metadata Repository
    RSA3 Extractor Checker
    RSA5 Install Business Content
    RSA6 Maintain DataSources
    RSA7 BW Delta Queue Monitor
    RSA8 DataSource Repository
    RSA9 Transfer Application Components
    RSO2 Oltp Metadata Repository
    RSO3 Set Up Deltas for Master Data
    LO setup table
    OLI1BW INVCO Stat. Setup: Material Movemts
    OLI2BW INVCO Stat. Setup: Stor. Loc. Stocks
    OLI3BW Reorg.PURCHIS BW Extract Structures
    OLI4BW Reorg. PPIS Extract Structures
    OLI7BW Reorg. of VIS Extr. Struct.: Order
    OLI8BW Reorg. VIS Extr. Str.: Delivery
    OLI9BW Reorg. VIS Extr. Str.: Invoices
    OLIABW Setup: BW agency business
    OLIFBW Reorg. Rep. Manuf. Extr. Structs
    OLIIBW Reorg. of PM Info System for BW
    OLIQBW QM Infosystem Reorganization for BW
    OLISBW Reorg. of CS Info System for BW
    OLIZBW INVCO Setup: Invoice Verification
    Check out AHP's reply specifically in the link:
    urgent
    Assign Points if Helpful *****
    Regards,
    Ravikanth

  • How do I view the transaction log in SQL Server 2008?

    Hello,
    I want to know how to view all the transactions taken during a particular period of time. I know there is a log file, ending with .ldf, created for each database. But how do I view this file?
    Is there any tool in the SQL Server studio that can enable me to view the transactions for a given time period?
    The reason for me wanting to view the log file is that, last week during a power outage, certain amount of data was not written. And one my friend had also messed up some of the data (unfortunately, she doesn't remember what she did).
    Thanks in advance.

    Hi,
     It enables you to read from you transaction log which contains very valuable information about stuff that is happening in your database.
    select
    * from fn_dblog (null,null) ..
    EXAMPLE:
    SELECT
    FROM
    ::fn_dblog(NULL, NULL)
    WHERE
    operation = 'LOP_DELETE_SPLIT'
    Thanks,
    Leks

  • Problem using multiline container in Alert Category

    Hello, experts!
    Could you please suggest me how to solve the following issue.
    I have userdefined multiline container MY_CONTAINER with two elements FIELD (stores name of field) and VALUE (stores value of field). This container is filled in runtime by means of BADI extension. So in transaction ALRTDISP filled container looks like:
      MY_CONTAINER
          MY_CONTAINER[1]
              FIELD    SystemCode
              VALUE    42
          MY_CONTAINER[2]
              FIELD    Key
              VALUE    0292383728232
          MY_CONTAINER[3]
              FIELD    State
              VALUE    1
          ...and so on. Number of filled elements of container is unknown.
    I need to add the contents of this container to Long text of Alert Category in form of:
          SystemCode: 42
          Key: 0292383728232
          State: 1
    ...and so on.
    I added MY_CONTAINER on the Containers tab of my alert category. And in Long text included the following expression:
          &MY_CONTAINER[].FIELD[]&: &MY_CONTAINER[].VALUE[]&.
    But in long text it looks like:
          SystemCode Key State ...: 42 0292383728232 1 ...
    If the expression is like
          &MY_CONTAINER[].FIELD& - &MY_CONTAINER[].VALUE&
    then long text contains only the first element:
          SystemCode: 42.
    Does anybody know how to solve this problem?
    I think I need to use expressions (something like FOR-loop) for filling Long Text in Alert Categories. Is it possible?
    BR,
    Vika

    Hi Experts,
    still trying to work out but couldn't understand the behaviour.
    <b>If the Long text :</b>
    Error: &SXMS_ERROR_CODE& <b>of category &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE&  <b>and  Interface &SXMS_FROM_INTERFACE&</b>
    to test I am running the program <b>RSALERTTEST</b>
    <b>Msg got thru E-mail is </b>
    Error:  and category:<b> &SXMS_ERROR_CAT&</b> was found in a message  from the service  and Interface
    <b>
    And when I change the Long text</b>
    Error: &SXMS_ERROR_CODE& <b>and &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE& and Interface &SXMS_FROM_INTERFACE&
    After running the program <b>RSALERTTEST</b>
    <b>
    E-mail msg</b>
    Error:  and was found in a message  from the service  and Interface <b>&SXMS_FROM_INTERFACE&</b>
    coudn't able to understand why it is displaying the container variable as is in the mail.
    checked all the Alert Framework configuration, Everything looks good.
    Thank you,
    <b>MK</b>

  • Message Driven Bean and Distributed transaction

    Hi ALL
    I am developing an asynchronous application using MDB. My application flow is as follows:
    1. From MDB onMessage i am calling a method MethodA that
    a. calls a simple pojo1 where I am getting a Connection on XA enable datasource1 and executing Stored Procedure1 of DatabaseSchema1.
    b. In that pojo without committing m closing the connection and coming back in MethodA.
    c. Again from MethodA m calling a different pojo2 where I am getting a new Connection on XA enable datasource2 and executing Stored Procedure2 of
    DatabaseSchema1. In this pojo also without committing m closing the connection and coming back in MethodA.
    d. Again from MethodA m calling pojo1 where I am getting a new Connection on XA enable datasource1 and executing a different function of Stored Procedure1 of DatabaseSchema1.
    Public class MDB{
    Public void onMessage(��.)
    Try{
    Method1();
    Catch(Exception x)
    mdbcontext.setRollbackOnly();
    Private void MethodA()
    Call pojo1;
    Call pojo2
    Pojo1
    Public void CallSP1()
    Get connection from Datasource1 (shema1,user1, pwd1);
    Call sp1();
    //return without commit;
    Pojo2
    Public void CallSP2()
    Get connection from Datasource2 (shema1,user2, pwd2);
    Call sp2();
    //return without commit;
    SP1:
    Insert table1
    Savepoint 1
    Insert into Table1
    Rollback to 1
    Insert a row
    End SP1 (without commit)
    SP2:
    Insert table2
    Savepoint 2
    Update table2
    Rollback to 2
    Insert table2
    End SP2 (without commit)
    In ejb-jar.xml
    Transaction type is Container
    Transaction attribute is Required for all
    Now problem is:
    Case 1: success case when no exception is there at Java layer
    SP1 works fine I mean there is only 2 inserts in Table 1
    But In SP2 there are 3 inserts
    Case 2: if an exception comes at Java layer
    SP1 is fine
    Rollback is not happening in SP2
    In ejb-jar.xml transaction attributes is Required for all methods and transaction type is Container.
    Backend is Oracle 10g and init.xa has already been run on that.
    Will be very obliged if can have a single hint of the problem.
    Both datasource are XA enable
    Backend is Oracle 10g
    Application server is WAS 6.0
    Queue is WAS MQ 6.0
    Thanks

    {color:#008000}Hi Friends,
    Thought of updating the answers for my questions in case somebody else would find it helpful.
    {color}
    {color:#999999}{color:#00ccff}I'm trying to make message driven bean and use the OnListener method.
    But since I'm doing this for the first time I have very limited knowledge.
    The following are my doubts :
    1. Should I have a main function while using the MDB?{color}
    {color:#008000} There is no need for any main function.{color}
    {color:#00ccff}2. Is it mandatory to have JNDI setup done?
    {color} {color}{color:#008000} There is no need for any JNDI setup done. But you need to configure the details on the
    Websphere by creating valid entries inside Resources namely -
    Queue Connection Factory, Queues and Listener Ports under the server.
    Thanks,
    Arun Prithviraj{color}

  • AR - How to Complete and Incomplete a Transaction

    Hi,
    We have a requirement, where after a transaction is created by AutoInvoice, we want to make the Transaction Incomplete, so that it cannot be posted to GL. Send the Transaction for some approval and once approval is obtained, make the Transaction complete, so that the normal Transaction process can continue.
    We could not find any API to make a Transaction Complete or Incomplete. Can somebody suggest how to achieve this?
    Thanks.
    Prabhat

    I tryied to use in the client the statement EntityTransaction transaction = myBean.getTransact(); but I receive the EJBException: Cannot use resource level transactions with a container managed EntityManager
    I just need to start a transaction something like this: transaction.begin(); and finish the transaction, something like this: transaction.commit();
    Does anybody can help?

Maybe you are looking for

  • Display Image in Fullscreen like in Gallery (Windows Phone 8.1 SDK)

    Hello everyone, Maybe this is a so simple Task and I should be embarassed...however I currently just don't know how to do it. I am writing an app where I Display several Images in a Pivot Template. I know nothing about These Images as I am getting th

  • Crystal report viewer does not observe the PaperSize and PageOrientation setting

    Hi: My application is a 3 tier application, where the WinForm client is connected to the WCF Services hosted in IIS server. The report is generated on server side using WCF service, and export as.rpt with data, the .rpt file is then sent to the WinFo

  • Firefox PDF reader not showing watermarks

    Firefox PDF reader is not showing watermarks. People can see (and print?) my free samples minus the watermarks that are in them. eg at lauriewilliamsmusic.com/composers/laurie-williams/auld-lang-syne/ Watermarks were put in by PDFill Free PDF Tools a

  • Problem with downloading on mixRadio from Store in...

    Hi Team, I ve got a Nokia Lumia 925 from singapore and I am in India now, I have set my region as India and now am trying to download songs from mix radio. But I am getting an error prompt which says: There is a problem registering your phone for unl

  • Using regexp_replace

    Hello, I could use some assistance in using regexp_replace for the following results: I have string: OUTLET_ID, RETAILER_ID which is stored in variable v_pk I want to use regexp_replace to convert to v_pk to *'OUTLET_ID' || 'RETAILER_ID'* Any ideas?