Two jdbc connections in one transaction

Hi<br>
          <br>
          In a method of a container managed ejb session bean I have two jdbc connections. I've expected, that they will be in the same transaction, so results of any actions performed with first connection will be visible for the second connection, but it is not. <br>
          I've checked, that there are two sessions at the database, so it seams that there are simply separate transactions. Is it a problem with a ejb-jar.xml (will paste it later), datasource (driver - Oracle Thin non-XA; 1PC selected) or such behaviour can not be achieved in WLS ? <BR>
          <BR>
          regards
          <br>
          <BR><?xml version="1.0" encoding="UTF-8"?>
          <BR>
          <BR><!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
          <BR>
          <BR><ejb-jar >
          <BR>
          <BR>     <description><![CDATA[No Description.]]></description>
          <BR>     <display-name>ConnectionTest1</display-name>
          <BR>     
          <BR>     <enterprise-beans>
          <BR>          <session >
          <BR>               <description><![CDATA[]]></description>
          <BR>               
          <BR>               <ejb-name>ConnectionTest1</ejb-name>
          <BR>               
          <BR>               <home>pl.axit.test.ConnectionTest1Home</home>
          <BR>               <remote>pl.axit.test.ConnectionTest1</remote>
          <BR>     <ejb-class>pl.axit.test.ConnectionTest1Bean</ejb-class>
          <BR>     <session-type>Stateless</session-type>
          <BR>     <transaction-type>Container</transaction-type>
          <BR>     
          <BR>     <resource-ref >
          <BR>          <res-ref-name>jdbc/wowrite</res-ref-name>
          <BR>          <res-type>javax.sql.DataSource</res-type>
          <BR>          <res-auth>Container</res-auth>
          <BR>     </resource-ref>
          <BR>     </session>
          <BR>     </enterprise-beans>     
          <BR>     
          <BR>     <assembly-descriptor>
          <BR>          <container-transaction>
          <BR>               <description/>
          <BR>               <method>
          <BR>                    <description/>
          <BR>                    <ejb-name>ConnectionTest1</ejb-name>
          <BR>                    <method-name>*</method-name>
          <BR>               </method>
          <BR>               <trans-attribute>Required</trans-attribute>
          <BR>          </container-transaction>          
          <BR>
          <BR>     </assembly-descriptor>
          <BR></ejb-jar>

Hi,
          are you using XA transactions? Two separate JDBC Connections treated
          within one transactional context will require two phase commit (via
          Emulation or an XA database driver) Please check the connections
          settings within your datasources.
          Rgds,
          Axel van Lil (LMIS.de)
          Lukas Uruski schrieb:
          > I forgot to add, that in administration console in server_name > Monitoring > JTA parameter "Transactions Total Count" increases by one each time method from previous post is invoked.

Similar Messages

  • HT204053 Can I have two Iphones connected to one icloud account and if so, how do I change the icloud user name on the phone

    Can I have two Iphones connected to one icloud account and if so, how do I change the icloud user name on the phone

    Welcome to the Apple Community.
    Yes you can use one iCloud account between multiple devices.
    What do you mean 'change the iCloud user name'.

  • Is there a cable with two Apple connections and one USB connection?

    Is there a cable with two Apple connections and one USB connection?

    it would be possible without damage to the phones if only the charging pins was used
    but it would mean the 2 phones would charge 1/2 as fast as normally

  • Multiple Connections in one transaction?

    Hello,
    we use the OC4J 9.0.3 with the fellowing DataSource configuration:
    <data-source
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    name="OracleDS"
    location="jdbc/OracleCoreDS"
    xa-location="jdbc/xa/OracleXADS"
    ejb-location="jdbc/OracleDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="xxx"
    password="xxx"
    url="jdbc:oracle:thin:@10.50.40.17:1521:vbstest"
    inactivity-timeout="30"
    max-connections="30"
    />
    In our project we use CMP/BMP-Entitybeans and CMR. During a complex update we got a SQL-Exception with the message, that a foreign key constrain has been violated (primary key does not exist, even it has been inserted in the same transaction). Because we know, that the same code runs on JBoss 3.0, we have assumed that OC4J use more than one connection and so we have enabled the connection debug.
    The result is, that OC4J created in one transaction more that 6 connections. All beans using the same datasource.
    Is there is a way to configure this beavior? Or someone have a idea, why OC4J use more than one connection in one tranaction?
    Here the connection debug log:
    2003-03-18 10:42:31,162 DEBUG (10.50.40.115-ruethja-0) [VDDBean_PersistenceManager11] Connection: [Connection : com.evermind.sql.OrionCMTConnection@a1fa8e]
    2003-03-18 10:42:31,602 DEBUG (10.50.40.115-ruethja-0) [DienststelleBeanImpl_PersistenceManager73] Connection: [Connection : com.evermind.sql.OrionCMTConnection@7a6aa8]
    2003-03-18 10:42:32,433 DEBUG (10.50.40.115-ruethja-0) [VorgangBeanImpl_PersistenceManager41] Connection: [Connection : com.evermind.sql.OrionCMTConnection@1af986c]
    2003-03-18 10:42:32,483 DEBUG (10.50.40.115-ruethja-0) [VDDBean_PersistenceManager11] Connection: [Connection : com.evermind.sql.OrionCMTConnection@1d372d7]
    2003-03-18 10:42:32,674 DEBUG (10.50.40.115-ruethja-0) [VorgangBeanImpl_PersistenceManager41] Connection: [Connection : com.evermind.sql.OrionCMTConnection@8b64b3]
    2003-03-18 10:42:32,724 DEBUG (10.50.40.115-ruethja-0) [DienststelleBeanImpl_PersistenceManager73] Connection: [Connection : com.evermind.sql.OrionCMTConnection@1e0e2ba]

    could you post the source of session bean may be i can help you then
    regards,
    ashish saraf

  • Can I include MQSeires JMS XADataSource and Oracle JDBC XADataSource in one transaction?

              When I try to use a XADataSource (using Oracle 8.1.6 XA JDBC driver) to update
              a table in onMessage() of a MDB (Message Driven Bean) using container managed
              transaction, an exception occured like this:
              java.sql.SQLException: ORA-06550: ? 1 ?, ? 14 ???: PLS-00201: ??? 'JAVA_XA.XA_START'
              ????? ORA-06550: ? 1 ?, ? 8 ???: PL/SQL: Statement ignored
              at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
              at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
              at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738 ) at
              oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja va:1313)
              at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav a:1232)
              at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement .java:1353)
              at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:176 0) at
              oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme nt.java:1805)
              at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar edStatement.java:322)
              at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat ement.java:366)
              at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:10 2) at
              weblogic.transaction.internal.ServerResourceInfo.start(ServerResource Info.java:994)
              at weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResour ceInfo.java:947)
              at weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourc eInfo.java:206)
              at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se rverTransactionImpl.java:316)
              at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:6 51) at
              weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator. java:444)
              at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator. java:379)
              at weblogic.common.internal.ResourceAllocator.reserveWaitSecs(ResourceAl locator.java:369)
              at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j ava:167)
              at weblogic.jdbc.common.internal.ConnectionPool.reserveWaitSecs(Connecti onPool.java:121)
              at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java: 861)
              at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:7 43) at
              weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130) at weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
              at weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionI mpl.java:71)
              at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.j ava:42)
              at MDB.onMessage(MDB.java:46) at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175) at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:640)
              at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:355) java.sql.SQLException:
              ORA-06550: ? 1 ?, ? 14 ???: PLS-00201: ??? 'JAVA_XA.XA_START' ????? ORA-06550:
              ? 1 ?, ? 8 ???: PL/SQL: Statement ignored
              at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
              at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
              at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738 ) at
              oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja va:1313)
              at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav a:1232)
              at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement .java:1353)
              at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:176 0) at
              oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme nt.java:1805)
              at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar edStatement.java:322)
              at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat ement.java:366)
              at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:10 2) at
              weblogic.jdbc.jta.DataSource.start(DataSource.java:324) at weblogic.transaction.internal.ServerResourceInfo.start(ServerResource
              Info.java:994) at weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResour
              ceInfo.java:947) at weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourc
              eInfo.java:206) at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
              rverTransactionImpl.java:316) at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:817)
              at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:7 88) at
              weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130) at weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
              at weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionI mpl.java:71)
              at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.j ava:42)
              at MDB.onMessage(MDB.java:46) at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175) at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:640)
              at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:355) java.sql.SQLException:
              XA error: XAER_RMERR : A resource manager error has occur ed in the transaction
              branch start() failed on resource 'jtaXAPool' null at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:822)
              at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:7 88) at
              weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130) at weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
              at weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionI mpl.java:71)
              at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.j ava:42)
              at MDB.onMessage(MDB.java:46) at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175) at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:640)
              at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:355)
              Does that mean WLS 6.0 SP1 can not include JMS XADataSource and JDBC XADataSource
              in one distributed transaction managed by container?
              

              It should work. Check out the documentation on our developer center for
              more information. Developer.BEA.com
              Michael Girdley
              BEA Systems
              Learning WebLogic? http://learnweblogic.com
              "Sam Ni" <[email protected]> wrote in message
              news:[email protected]...
              >
              > When I try to use a XADataSource (using Oracle 8.1.6 XA JDBC driver) to
              update
              > a table in onMessage() of a MDB (Message Driven Bean) using container
              managed
              > transaction, an exception occured like this:
              >
              > java.sql.SQLException: ORA-06550: ? 1 ?, ? 14 ???: PLS-00201: ???
              'JAVA_XA.XA_START'
              > ????? ORA-06550: ? 1 ?, ? 8 ???: PL/SQL: Statement ignored
              >
              > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at
              oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
              > at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at
              oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
              > at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738 )
              at
              > oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja
              va:1313)
              > at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
              a:1232)
              > at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement
              .java:1353)
              > at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:176
              0) at
              > oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
              nt.java:1805)
              > at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
              edStatement.java:322)
              > at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
              ement.java:366)
              > at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:10
              2) at
              > weblogic.transaction.internal.ServerResourceInfo.start(ServerResource
              Info.java:994)
              > at weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResour
              ceInfo.java:947)
              > at weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourc
              eInfo.java:206)
              > at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
              rverTransactionImpl.java:316)
              > at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:6
              51) at
              > weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
              java:444)
              > at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
              java:379)
              > at weblogic.common.internal.ResourceAllocator.reserveWaitSecs(ResourceAl
              locator.java:369)
              > at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
              ava:167)
              > at weblogic.jdbc.common.internal.ConnectionPool.reserveWaitSecs(Connecti
              onPool.java:121)
              > at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:
              861)
              > at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:7
              43) at
              > weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130) at
              weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
              > at weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionI
              mpl.java:71)
              > at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.j
              ava:42)
              > at MDB.onMessage(MDB.java:46) at
              weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
              > at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175) at
              com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:640)
              >
              >
              > at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:355)
              java.sql.SQLException:
              > ORA-06550: ? 1 ?, ? 14 ???: PLS-00201: ??? 'JAVA_XA.XA_START' ?????
              ORA-06550:
              > ? 1 ?, ? 8 ???: PL/SQL: Statement ignored
              >
              > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at
              oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
              > at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at
              oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
              > at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738 )
              at
              > oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja
              va:1313)
              > at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
              a:1232)
              > at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement
              .java:1353)
              > at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:176
              0) at
              > oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
              nt.java:1805)
              > at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
              edStatement.java:322)
              > at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
              ement.java:366)
              > at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:10
              2) at
              > weblogic.jdbc.jta.DataSource.start(DataSource.java:324) at
              weblogic.transaction.internal.ServerResourceInfo.start(ServerResource
              > Info.java:994) at
              weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResour
              > ceInfo.java:947) at
              weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourc
              > eInfo.java:206) at
              weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
              > rverTransactionImpl.java:316) at
              weblogic.jdbc.jta.DataSource.enlist(DataSource.java:817)
              > at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:7
              88) at
              > weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130) at
              weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
              > at weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionI
              mpl.java:71)
              > at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.j
              ava:42)
              > at MDB.onMessage(MDB.java:46) at
              weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
              > at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175) at
              com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:640)
              >
              >
              > at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:355)
              java.sql.SQLException:
              > XA error: XAER_RMERR : A resource manager error has occur ed in the
              transaction
              > branch start() failed on resource 'jtaXAPool' null at
              weblogic.jdbc.jta.DataSource.enlist(DataSource.java:822)
              > at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:7
              88) at
              > weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130) at
              weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
              > at weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionI
              mpl.java:71)
              > at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.j
              ava:42)
              > at MDB.onMessage(MDB.java:46) at
              weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
              > at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175) at
              com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:640)
              >
              >
              > at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:355)
              >
              >
              > Does that mean WLS 6.0 SP1 can not include JMS XADataSource and JDBC
              XADataSource
              > in one distributed transaction managed by container?
              >
              >
              

  • Insert data into two related tables in one transaction

    Hi all,
    I’ve got problem with developing functionality.
    Background:
    I’ve got two tables: OFFER_HEADER and OFFER_CONTENT
    For now, user has to insert and commit the OFFER_HEADER(single-row view), then content becomes reachable and OFFER_CONTENT(multi-row view) can be filled. It is being done by choosing record from PRODUCTS form and inserting values into OFFER_CONTENT. Product data can be modified on the CONTENT form canvas.
    My goal:
    I know that is not convenient way to implement the functionality. I want to insert all the data(header and content) in one transaction. What is the best way to do it?
    Thanks in advance,
    Best Regards,
    Bartek

    1. User is on the OFFER_CONTENT canvasOk
    2. User presses ‘+’ buttonOk
    3. On the screen is displayer PRODUCT list
    4. User set focus on desired product
    5. Using popup menu user choose ‘Add’ option
    6. PRODUCT list is being closedSo, the functionlatity is like a LoV?
    7. OFFER_CONTENT is being shown with set of information from the productOk, you would either take the values directly from the fields of the PRODUCT-list and copy them into the OFFER_CONTENT-fields, or you just get something like the PRODUCT-ID from your PRODUCT-list and use a SELECT to read the product-details into the OFFER_CONTENT-block
    8. User can then manually change desired elements of the recordOk.
    So, where do you have the need to do an INSERT in your scenario?

  • Two portals connected to one BW system

    Hello
    Do you have any experience or just some information on the solutions when two portals are connected to one BW system? I am just wondering, is it possible?
    Thanks in advance,
    Arelis

    We have done the same thing for ESS we had to portals connected to one r/3 but beaware when we change the config for one on the backend r/3 side the settings for the other is also affected.
    there is no issue with the load in this scenario and applications work fine independently as well.
    but before doing this just ask your self it is really required cant i create 2 differnt roles and manage the display of the same using the themes?
    but still if u wan tot do the same it is possible

  • Two computers connected to one router, two external IP? How?

    Hey Im just playing around with the Remote Desktop and I have two computers connected to a router but when i search for external IP it shows only one of them. Is there a way of distinguishing more computers in one network from outside of the network? THANKS!!!

    http://support.apple.com/kb/TS1882
    To connect to more than one computer behind an NAT router, you'll need to have Apple Remote Desktop 3.3.

  • How to attach two maintenance views to one transaction codes

    Hi
    I have created two master Ztables and also created two maintenance views in SM30 for them.
    Now my req is i have to attach these two maintenace views to one TCODE only Not two transaction codes.
    How i can do that.
    Pls give me some inputs.
    Regs
    Manas Ranjan Panda.

    Hi,
      Goto SE54..Click on the edit cluster view..Enter a cluster view name...Then press the create button..IN the resulting screen you can add multiple maintenance views..
    Check this documentation for creating cluster views..
    http://help.sap.com/saphelp_46c/helpdata/EN/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    Once you create the cluster view..
    Then you can a parameter transaction in SE93 with the transaction as SM34 and give the cluster view name ...
    THanks,
    Naren

  • Two iPhones connected to one computer, both are messed up now.

    My sister &amp; I both recently bought an iPhone 4S. I already synced my phone to my computer, and in a rush this morning I accidentally clicked 'restore' when I connected my sisters iPhone. All of my information went on her phone, but it's usable. My phone on the other hand still has all of the information but I can't get onto any apps or anything. How can I fix this?

    using mutiple devices on one computer http://support.apple.com/kb/ht1495

  • Can I use two rewards certificates in one transaction at a Best Buy store?

    Since you have to spend at least the value of the My Best Buy reward certificates before tax and shipping, I thought it would be best to issue the certificates in smaller amounts (maybe $5 instead of $15).  If I do that, and I have multiple certificates of $5, can I redeem them all toward a single purchase?  For example, if I want to buy a video game, can I apply multiple $5 reward certificates toward that purchase?
    Also, can My Best Buy reward certificates be used toward a pre-order of a game? 
    Are there any restrictions on what they can be used for, other than not being able to be used for Best Buy gift cards or e-gift cards?
    Thanks for answering my three questions about My Best Buy Rewards

    Hello kre1997,
    Those are three great questions!  Let me see if I can help provide answers.
    As long as the certificates are valid, you can apply two to a single purchase.
    A certificate can be applied to a pre-order, but only on BestBuy.com.
    The main exclusion is the purchase of gift card, but there are a couple others and you can those here.
    Thank you for posting to the forum, and please let me know if you have any other questions.
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Delete all the user connected to one transaction.

    During some periods, we need to lock some transaction to avoid user modify data while we are processing some critical jobs.
    If the users are yet in the transaction when we lock the transaction they are not removed from the transaction and we need to kill them manually from SM04 transaction in each application server.
    I have been trying to adapt the RSM04000_ALV program to do this but i'm stuck with the use of the pooled session.
    I guess that the system when you select the session and click on end session, it mark in anyplace something to indicate to the fuction module TH_DELETE_USER that when the option ONLY_POOLED_USER is enable, only that session need to be killed.
    Anybody know how this works? someone have a similar fuctionality in you system?

    Hello
    Try this:
      DATA: BEGIN OF SERVER_LIST OCCURS 0.
              INCLUDE STRUCTURE MSXXLIST.
      DATA: END OF SERVER_LIST.
      DATA: BEGIN OF USER_LIST OCCURS 0.
              INCLUDE STRUCTURE UINFO.
      DATA: END OF USER_LIST.
      DATA: BEGIN OF USER_LIST1 OCCURS 0.
              INCLUDE STRUCTURE UINFO.
      DATA: END OF USER_LIST1.
      DATA: USER_TERM LIKE RFCDISPLAY-RFCHOST.
      CALL FUNCTION 'TH_SERVER_LIST'
           TABLES
                LIST   = SERVER_LIST
           EXCEPTIONS
                OTHERS = 1.
      LOOP AT SERVER_LIST.
        CALL FUNCTION 'TH_USER_LIST'
             DESTINATION SERVER_LIST-NAME
             TABLES    LIST = USER_LIST1.
        APPEND LINES OF USER_LIST1 TO USER_LIST.
        REFRESH USER_LIST1.
        LOOP AT USER_LIST WHERE TCODE = 'YOUR T-CODE'.
                CALL FUNCTION 'TH_DELETE_USER' DESTINATION SERVER_LIST-NAME
                 EXPORTING
                    USER            = USER_LIST-BNAME
                    CLIENT          = SY-MANDT
                    TID             = USER_LIST-TID
                 EXCEPTIONS
                    AUTHORITY_ERROR = 1
                    OTHERS          = 2.
        ENDLOOP.
      ENDLOOP.

  • Can two different SRM clients systems connect to one R/3 Back-end system?

    Hello,
    Trying to developing SRM Co-Exist/Global strategy, based on the following scenario:
    1.  Two different SRM client systems, each at DIFFERENT SRM Version/Release Level.  SRM system "A" runs in Stand-Alone and Extend Classic Scenario mode.  SRM system "B" runs in Classic Scenario mode
    2.  Two different R/3 back-end systems, each with SAME R/3 4.7 Version/Release Level.
    Question 1:  Can the two (2) different SRM client systems be connected to one (1) of the R/3 back-end systems?
    Question 2:  Are there any Basis Plug-In (PI_BASIS) issues/difficulties to consider from either the SRM client or R/3 back-end side?
    Question 3:  Does each SRM client need it own unique transaction document type(s) and number range(s) definitions?
    Question 4:  Are there any other difficulties, for example, with RFC and Partner Profile related definitions and what are the steps to address/resolve difficulties?
    Please advise and thanks in advance for your feedback!
    Regards,
    Ed
    Edited by: Ed Shigo on Mar 16, 2009 6:40 AM

    Question 1: Can the two (2) different SRM client systems be connected to one (1) of the R/3 back-end systems?
    They can be connected
    Question 2: Are there any Basis Plug-In (PI_BASIS) issues/difficulties to consider from either the SRM client or R/3 back-end side?
    Make sure that you have unique consumer entries for Middleware for Material replication, RFCs etc
    Question 3: Does each SRM client need it own unique transaction document type(s) and number range(s) definitions?
    Yes you need to have them.
    Question 4: Are there any other difficulties, for example, with RFC and Partner Profile related definitions and what are the steps to address/resolve difficulties?
    Don't see any difficulties as long as the a structured approach is followed.

  • JDBC connection to two different machines from the same program

    I want to use JDBC to connect to two different databases that are on two different MySQL installations on two different machines.
    One of the installations is MySQL 4.1.12 and the other is 4.1.14-nt
    For some reason, all my statements seem to be going only to one machine, even though I am very clearly set it up to go to two different machines.
    Does anyone know whether connecting to two different installations from one program presents any unusual problems?
    Thanks.

    Unless there is some horrible defect in the MySQL JDBC driver (which I doubt!), there should be no problem and like the other poster says, please post snippits of your code so we can see what your doing...

  • Saving data into two tables "in one transaction"

    Hello everybody!
    My scenario is the following: SAP PI receives message containing some data (header and MULTIPLE details data in one message) and has to transfere this data to a database.
    In the database there are two tables for storing the data contained in the message: one for HEADER data and one for DETAILS data. I need to save all the data (header and MULTIPLE details data) into these two tables "in one transaction" and roll back saving of HEADER data and DETAILS data if saving of some DETAILS data has failed.
    I am going to use receiver JDBC adapter for this purpose.
    My questions are:
    1. How can I save all the data "in one transaction"? Will it work if I transform the source message into the target message which looks something like this?
    <root>
      <StatementName1>
        <dbTableName action=u201CUPDATE_INSERTu201D>
        <table>HEADER_table</table>
        <access>
        <col1>val1</col1>
        <col2>val2</col2>
        </access>
        <key1>
        <col1>val1</col1>
        </key1>
        </dbTableName>
      </StatementName1>
      <StatementName2>
        <dbTableName action=u201CUPDATE_INSERTu201D>
        <table>DETAILS_table</table>
        <access>
        <col1>val1</col1>
        <col2>val3</col2>
        </access>
        <key1>
        <col1>val1</col1>
        </key1>
        </dbTableName>
      </StatementName2>
      <StatementName3>
        <dbTableName action=u201CUPDATE_INSERTu201D>
        <table>DETAILS_table</table>
        <access>
        <col1>val1</col1>
        <col2>val4</col2>
        </access>
        <key1>
        <col1>val1</col1>
        </key1>
        </dbTableName>
      </StatementName3>
    </root>
    2. How to roll back saving of HEADER data in the case of saving of DETAILS data has failed?
    3. What will be the response structure returned by database look like in the case of success?
    Thanks,
    Vika

    I guess the response in my case will be something as following?
    <response>
    <Statement1_response>
    <row>
    <update_count>1</update_count>
    <insert_count>0</insert_count>
    </row>
    </Statement1_response>
    <Statement2_response>
    <row>
    <update_count>0</update_count>
    <insert_count>1</insert_count>
    </row>
    <row>
    <update_count>0</update_count>
    <insert_count>1</insert_count>
    </row>
    </Statement2_response>
    </response>
    Vika

Maybe you are looking for

  • ODBC source, do I have to set up DSN? If so how do I deploy File or Machine DSN?

    I have a Datasource that uses a ODBC connection Manager. On my Dev machine, I set up a User DSN, by going into my control panel, etc.  I see you can also build it in the datasource, but it still saves it as a File or Machine Data Source. This is a pa

  • Photos-App: How do I find out which photos are used in a Shared Photo Stream?

    Hi folks, I just ecountered a "problem" using a Shared Photo Stream. FYI: I have circa 1.200 images stored in Photos-App. About 360 of them are used in a Shared Photo Stream. Now I'd like to delete all the fotos NOT used in said Stream. Since the ima

  • HDV, ProRe, and field order

    Hi all. I'm having a field order issue. I have many Quicktime movies in HDV 1080i60. I am trying to convert these to ProRes LT for editing, and then encode the result with a compressor preset for DVD. If I use the ProRes LT for interlaced material pr

  • Why wont my itunes store open

    I sign in, but cant open itunes store. The progress bar at the top says accessing itunes, but only goes about half way and stops. I have uninstalled and reinstalled itunes 10 a couple of times.

  • File extention and default application

    When i open a .doc file it's open the wrong application. How can i set the default application i want to open. thanks