Connecting to two database instances using the same Toplink

Hi,
We are trying to create a process using BPEL where data from one database instance needs to be passed to the other. The process is compiling properly and we could deploy it in BPEL Process Manager. But when we try to run the process, the data is not getting inserted into the second instance. There is no error /exception being thrown at most of the time, but at times we are getting a 'Unique constraint error' eventhough there is no duplication of data.
Can we connect to two different instances using the same toplink. How can we achieve this.
Thanks in advance
Pratheusha

You need to use two different sessions with two different mapping descriptors

Similar Messages

  • Connecting to two database instances from the same TopLink

    Hi,
    We are trying to create a process using BPEL where data from one database instance needs to be passed to the other. The process is compiling properly and we could deploy it in BPEL Process Manager. But when we try to run the process, the data is not getting inserted into the second instance. There is no error /exception being thrown at most of the time, but at times we are getting a 'Unique constraint error' eventhough there is no duplication of data.
    Can we connect to two different instances using the same toplink. How can we achieve this.
    Thanks in advance
    Pratheusha

    You need to use two different sessions with two different mapping descriptors

  • CNR: Two cnr instances in the same server (lab environment)

        Hello, we are trying to install two cnr 7.2 intances on the same server in order to replicate in lab the real environnment (failover local cluster) without deploying two servers.
    I've seen on the installation guide that installing both a local and regional server on a single machine is supported, but what about two local servers working as a failover pair?
    up to date, we've managed to install both installs, the dhcp servers are configured for using different interfaces and web gui are listening in different ports. scp ports have been changed (1234 and 4321 ) and, on dhcp-server expert configuration: failover-remote-port and failover-port are configured to be different (677 - 678 in one , and 678 - 677 in the other)
    We can manage both servers from DHCP - failover configuration, as they show up and running, and even see logs... The other configs are
    When trying to syncronize we get the error
                                                "ChangeSet list is empty."
    is this configuration supported?
    best regards!

    user10127912 wrote:
    Hi,
    We are planning to install second instance of Oracle 11gR2 in Linux server 2.6.39-400.21.1.el6uek.x86_64 x86_64. This is something we never haven done before. If you have such experience, please give us some insight.
    The existing instance has all the standard ports:
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Enterprise Manager Console HTTP Port (pterpdb02) = 1158
    Enterprise Manager Agent Port (pterpdb02) = 3938
    What ports should we select for second listener and enterprise manager? Is there anything else that we need to know before we install the second instance?If you want a second database instance, no additional installation is required - as long as you want to run the second instance at the same version as the the first. Just fire up dbca and create the second database. One installation of Oracle (one ORACLE_HOME) is capable of supporting many database instances, though the same may or may not be said of the hardware it is running on.
    As already said, one listener is enough. One listener, running from one oracle home, using the default name of LISTENER, running on the defualt port of 1521, is quite capable of -- indeed, WAS DESIGNED TO, supporte multiple database instances of multiple versions running from multiple ORACLE_HOMEs.
    One instance of dbcontrol/dbconsole will support only one database. If you do not use Grid Control (extra installation, extra license) you will need to use the emca utility or one of the options in the dbca utility to configure a seperate instance of dbcontrol for each database. Don't worry about the ports, the creation utility will take care of it and report what it does.

  • Can I have a Face Time conversation between two Apple devices using the same Apple ID?

    Can I have a Face Time conversation between two Apple devices using the same Apple ID?

    Yes, you can, but the two devices can't have the same e mail address associated with both.  Each, device needs its own unique e mail ADR.  In your case, the iPod can call your iPhone if you use the phone number, but the iPhone can not call your iPod because it must use the e mail address, and if the email address is the same on both, the iPhone will think it's calling itself, so the call will not go through.

  • Is there a way my two daughters can use the same laptop and have their own individual I Tune music??

    Is there a way my two children can use the same laptop and have their own individual music accounts?

    Do you mean different music collections, camille?
    If so, there's several options given in the following document:
    How to use multiple iPods, iPads, or iPhones with one computer

  • Communication between Two WebLogic instances on the same machine

    Hi,
    We're having a problem with communication between two copies of Weblogic on
    the same machine. They are configured with seperate ports (regular and SSL).
    Independantly, they run fine. I can access EJBs running on either of them.
    The problem is that a bean in one of them has code which attempts to access
    an EJB on the other one. The procude fails when trying to obtain the initial
    context. This same code works if compilied independantly of WebLogic on the
    same machine.
    Are there any known issues regards communication between two running
    instances of Weblogic on the same machine?
    Thanks in advance,
    Randy Yarger
    marchFIRST
    [email protected]

    Thanks for the prompt reply.
    There is one IP address (internal address 10.227.1.34) one the machine. WLS1
    is set up at ports 7001 and 5133. WLS2 is setup at ports 7004 and 7005.
    When WLS1 attempts to obtain a context to WLS2 with the URL
    t3://10.227.1.34:7004/ it pauses for a long period of time. Running truss
    on the both WLS processes shows communication occuring between the two
    followed by long periods of silence. Finally WLS2 spits out the error
    ConnectionException[7001,7001,5133,5133,7001,7001] (paraphrased, I can get
    the entire error if it would help).
    After another long pause, WLS1 quits trying with the error 'Server
    10.227.1.34:7004 not found' (again paraphrased).
    Among the things we've tried:
    * Changing the URL from the IP to 127.0.0.1
    * Enabling/disabling SSL on either or both WLSs.
    * Changing the server name in WLS2's copy of weblogic.properties from
    'myserver' to 'myserver2' (previously they were both 'myserver')
    * Upgrading WLS2 to 5.1.0sp5 (Tried upgrading WLS1, but was getting class
    not found errors and quit because that WLS is being used by other people)
    This is a Solaris server. WLS1 is running 5.1.0 and WLS2 is running 5.1.0sp5
    Any suggestions would be appreciated.
    Best,
    Randy Yarger
    marchFIRST
    [email protected]
    "Michael Girdley" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    There should not be. What is your network configuration? Are they on
    separate IP addresses?
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Randy Jay Yarger" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    We're having a problem with communication between two copies of Weblogicon
    the same machine. They are configured with seperate ports (regular andSSL).
    Independantly, they run fine. I can access EJBs running on either of
    them.
    The problem is that a bean in one of them has code which attempts toaccess
    an EJB on the other one. The procude fails when trying to obtain theinitial
    context. This same code works if compilied independantly of WebLogic onthe
    same machine.
    Are there any known issues regards communication between two running
    instances of Weblogic on the same machine?
    Thanks in advance,
    Randy Yarger
    marchFIRST
    [email protected]

  • Two web apps using the same EJB client jar

    I am currently deploying two web apps on a server. Both web apps use an EJB client
    jar (the same jar) to access EJB's and both apps work when tested independently.
    The problem arises when I log into app A and then log into app B. As soon as
    I do app A loses it's references to the EJBHomes, and other classes.
    It seems a classloader is unloading the first classes and instances loaded by
    the first app and then loading them from app B's client.jar.
    If I put the client.jar in the system classpath everything is fine, but that's
    just a hack.
    Is it not possible to deploy two web apps on a server using the same client.jar's
    in their own WEB-INF/lib's?

    Joe,
    As Pravin mentions, the checking of those boxes in Workbench triggers scheduled jobs within the EAC that kicks off the scripts at the appropriate time/day. But as you've noticed, there's not a ton of flexibility and you don't get cron or Windows Scheduler-type capabilities.
    If you need to do something special, you can manually kick off the report generation scripts from your control directory using the runcommand.bat (or sh) script or place the command into a cron/Windows Scheduler job:
    For example, to kick off the WeeklyReports job, you would do this:
    runcommand.sh WeeklyReports runSo, assuming you go down the route of creating multiple ReportGenerators and scripts, you would create a job to kick off the new script you've created at the appropriate time.
    Hope that helps,
    Patrick
    http://branchbird.com

  • Connecting DB Oracle/SQL server using the same SQL Navigator  release 5.1.0

    I have
    SQL Navigator release 5.1.0.655 installed in my desktop
    License version X-pert Edition
    Licensed Options
    PL/SQL Debugger
    CodeXpert
    Knowledge Xpert For Pl/SQL
    Xper Tuning
    Currently I have the access of Oracle DB using this SQL navigator and MS-SQL server using MS-Sql server Query Analyzer
    My question is -- using the same SQL Navigator can I connect MS-SQL server DB/Tables and can I run sql query using this..
    Thanks in advance.
    Mash

    Why, in an Oracle forum, are you asking a question about a Quest product connecting to a Microsoft product?
    How does this relate to the Oracle Database?

  • Two Essbase instances on the same box

    Hi folks,I was wondering if it is possible to have two instances of Essbase running on the same box (Win 2K server). We want the dev and the test environments to be logically seperate but physically on the same server.Thanks a lot for your help.

    It depends on the version of Essbase you are using. If you are on 6.2 or above, you can change the default listening port for the Essbase agent and application server processes, which allows you to have multiple instances on the same box.An easier way to run multiple servers on one box might be to use technology like VM Ware or Microsoft Virtual PC - they allow you to create a virtual machine which can have its own Essbase install, with your production Essbase environment running on the "base" OS.RegardsJade-------------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • HT202213 can two apple ids use the same itunes account?

    I'm pretty new to apple products and have an itunes question. My husband and I just bought iPhones and have separate apple id's. We will also using an iPod. Is it possible to use itunes with both id's? Is there any way to share the files between both of us?

    If you want to share a single AppleID with a single iTunes Library, then simply sync both devices to that iTunes library using the same user account.
    If you want to sync two AppleIDs to one iTunes library, in iTunes on the computer, login and authorize each AppleID, then sync the devices to that common iTunes library in the same user account.
    You do not do anything on the device being sync'd itself - it all has to do with how iTunes that you are syncing to is set up and what AppleIDs are authorized there.  You can sync multiple devices to iTunes, just be sure that each device gets a unique device name in the iTunes sidebar.
    To then use unique AppleIDs for iCloud and iMessage on a iOS device, first, make an iCloud account with the AppleID you want to use (go to http://www.iCloud.com), then set up that iCloud account on the device with that ID and password.  In iMessage, just log out with whatever AppleID you are using now, log in with the new AppleID and it will reauthorize, now linking that device with the new iMessage account just created with that AppleID (your iMessage primary account ID is always the AppleID used to initially create and verify the iMessage account).

  • HT201272 Can two synchronised ipads use the same purchased apps

    I have two i-pads with shared free apps, but when I purchased one from the i-tunes store recently it would not show up on both.  How do I share this language course with both i-pads?

    If you are using the same iTunes account on both iPads then you should be able to re-download the app on the second iPad via the Purchased tab in the App Store app. If you always want any new app purchases to download on both then you should be able to turn on automatic downloads via Settings > Store (Settings > iTunes & App Stores if they are on iOS 6).

  • Can I download itunes on two different computers using the same apple id?

    Can I download itunes on two totally different computers using the same apple id and go back and forth between them (ie home computer and work computer)?

    You can use a laptop to set up multiple devices with the same apple ID and you can maintiain different content on each device.

  • [solved] question about two soundcards which use the same module

    Hi
    I have two external soundcards, an Edirol UA-25 and a MAudio Transit. Both use the snd_usb_audio kernel driver. When I only had the MAudio, I configured it to be soundcard number 2 with the following in /etc/modprobe/modprobe.conf
    options snd-usb-audio index=2
    Now I'd like to have one be soundcard number 2 and the other one soundcard number 3. The internal soundcard is number 0, my tv card is number 1, I don't want to change that.
    How can I do this?
    Last edited by Army (2011-08-26 16:31:10)

    Ok, works. For documention, here's what I did:
    If you have two (or more) soundcards, which use the same kernel module, this is what you need in your modprobe.conf (or call this file just like you want, it only has to be in /etc/modprobe.d and has to be called *.conf)
    options snd-usb-audio index=2,3 vid=0x0582,0x0763 pid=0x0074,0x2006
    This is what I have now. Index is the number of the card, e.g. you see those numbers in alsamixer when you press F6. The vids and pids you can get with
    lsusb -v|grep idVendor # this is for the idv
    lsusb -v|grep idProduct # this is for the idp
    Just pick the line which stands for the soundcard, put these ids into the *.conf file and you're done. Now it doesn't matter in which order you plugin the soundcards, they get the right index.
    Quite easy after all

  • Problem importing two service interfaces using the same data types

    Hi,
    I've been playing around with BPM for a while. Now I wanted to add a custom service interface to my starting event. I created the interface in ESR of CE 7.11. After importing I get this error message and I can't use the interface:
    Cannot change XsdSimpleTypeDefinition AcademicTitleCodeContent by importing the document http://sap.com/xi/APPL/SE/Global::src/wsdl/TestInterface.wsdl, because it is already defined in the document http://sap.com/xi/APPL/SE/Global::src/wsdl/rootwsdl_CustomerERPByIDQueryResponse_InService.wsdl in this project. Importing into another project might be possible.
    Of course the problem is clear, but how can I achieve importing two service interfaces that use the same data type without changing the xsd source?
    Thanks in advance,
    Mane

    Sorry for the late answer, but I am really busy at the moment.
    Unfortunately I can't the Interface and data types are already changed.
    But this happened various times. Each time I already had imported a SAP Enterprise Service into NW BPM that contains a bunch of inline data types. While creating my own interface I referenced one of those data types that are stored in a SAP namespace. After import the error message appeared.
    In the wsdl of the created interface there is a import statement for the namespace where the referenced data types origin from. Additionally there is a namespace definition xmlns:p1="SAPnamespace". In the element the type is "p1:ReferencedType". Could this maybe cause the error, because one time it is with this leading p1 in my created wsdl and once without in the SAP Service wsdl?
    Thanks and I am looking forward to next EhP of NW BPM,
    Mane

  • Can i judge the two runtime instance are the same handle?

    can I judge the two instance is the same handle, just like in C++ to get their address by "&" for compare?
    if yes, how?
    thanks in advance
    Frederick

    Integer a = new Integer(7);
    Integer b = new Integer(7);
    boolean sameValue = (a.equals(b)); // true
    boolean sameInstance = (a == b); // falseJust in case jsalonen's answer was a bit terse.

Maybe you are looking for

  • Microsoft Office 2007

    If i installed Microsoft Office 2007 on my old laptop and just got a new laptop, is there any way that I can take it off of my old laptop and put it on the new one? Solved! Go to Solution.

  • Address Template question

    I made a spelling mistake when entering a custom field. Is there a way to either delete or edit this incorrect field. Thanks for any help!!!!!!!

  • How to download ALL MAIL from the server in a Mail app ?

    How to download ALL MAIL from the server in a Mail app ? I want all the mail messages, sent, received ON my computer... Thanks much !!!!!!!

  • Web Cache For Forms

    Dear Sir/Madam, What is the benefit for Oracle Forms when we use Oracle Web Cache ? Best regards Boris

  • Apshell changes

    Hi all,    Assume i made some changes to Apshell App Set. How can i revert back the changes? Can i install business content for ApShell in SAP BW? Thanks, Ben.