Multiple instances of same database adapter

Hi!
For our use of bpel, we are connecting 3 or 4 legacy systems. In these systems we construct a staging area where we collect the information that is to be sent over.
For these systems, the staging area is identical. This means, that for wiring those up to BPEL, I construct four identical partner links using database adapters.
Is there a way to make this easier? Is there a way to construct just one adapter and deploy this four times? It seems a waste of time and resources to recreate the same thing over and over again. And, when another legacy system turns up, I need again to create an adapter.
Thanks for your input,
Jeroen van Veldhuizen
Itude Technology

Hi Jeroen,
I like your request for being able to simultaneously poll from multiple distinct endpoints in a single process. Recently this came up in another context and there is now support for this, but it will not be available until the next patch set (off of 10.1.2.0.2).
If everything is identical except for which database you are connecting to, you could have 4 oc4j-ra.xml entries (i.e eis/DB/DBConnection1, eis/DB/DBConnection2, etc..), and then change your bpel.xml from:
<activationAgents>
<activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="BPELSamples">
<property name="portType">PollingService_ptt</property>
</activationAgent>
</activationAgents>
to:
<activationAgents>
<activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="BPELSamples">
<property name="portType">PollingService_ptt</property>
<property name="eis_location">eis/DB/DBConnection1</property>
</activationAgent>
<activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="BPELSamples">
<property name="portType">PollingService_ptt</property>
<property name="eis_location">eis/DB/DBConnection2</property>
</activationAgent>
</activationAgents>
Then in your wsdl, replace:
<service name="pollingService">
<port name="pollingService_pt" binding="tns:pollingService_binding">
<jca:address location="eis/DB/DBConnection1"
with a variable:
<service name="pollingService">
<port name="pollingService_pt" binding="tns:pollingService_binding">
<jca:address location="$eis_location"
Also make sure to drop the schema qualification from your toplink_mappings.xml, i.e. do a search and replace of 'SCOTT.EMP' with just 'EMP'.
Again this will only be available starting with the first 10.1.2.0.2 patch.
Thanks
Steve

Similar Messages

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

  • Can we have Multiple Instance on same Node in Oracle 10g RAC

    Hi All,
    I am planning to implement the RAC in Oracle 10g.Before that i have one doubt regarding RAC.
    My question is "Can we create multiple Instance on Same node(Server) ?"
    is it possible.
    Any ideas or thoughts would be apperciable.
    Thanks in Advance.
    Anwar

    This is where it is important to keep the separation between 'database' and 'instance'.
    A database is the set of files that contains the data (and the redo, control files, etc). A database does nothing by itself, other than take up lots of disk space.
    An instance is theCPU cycles (running software) and the memory to control the database.
    In Oracle RAC, you can have as many instances controlling one database [at the same time] as you want (within reason). Each instance must be able to access the disk(s) that contains the database.
    These multiple instances can be on the same computer (effectively taking up a lot of server memory and CPU for nothing) or they can be on separate computers.
    If they are on separate computers, the disk subsystems must be able to be shared across computers - this is occasionally done using operating system clusterware and is the main reason why clusterware is required at all. (This is also the toughest part of the pre-requisites in setting up a RAC and is very vendor dependent unless you use ASM.)
    These instances need a communication connection to coordinate their work (usually a separate network card for each computer) so they do not corrupt the disk when they are trying to access the same file, and possibly the same block, at the same time.
    In a RAC configuration, instances can be added, started, running, stopped and removed independent of each other (allowing a lot of high availability) or can be started and stopped as a group.
    Each instance gets it's own SID, which is in no way any different than a non-RAC SID. It's just the name of a service that can be invoked. The neat thing is that the SID
    a) helps the DBA keep things straight by lettiung us talk about 'instance A' (the Oracle software to be running over on computer A) vs 'instance B' when starting, stopping and managing;
    b) helps the application by providing targets that can be listed in the TNSNAMES.ORA [against one service alias], which is used by ORacle Networking to provide automated load balance or failover (instance/SID a is not available, I guess I'll try the next in the list)
    Hope that helps the concept level a bit.

  • Create multiple instance in a database

    is it possible to create multiple instance in a database.if possible then is it possible to activate many instance at a time.(in personal edition)

    Instance in Oracle refers to the Oracle database "engine" - a collection of processes using a shared memory area, accessing a physical Oracle database.
    Multiple instances are possible on the same platform for different physical databases. But not a Good Idea..
    Multiple instances on different platforms are for the same physical database using Oracle Real Application Clusters, aka Oracle RAC.
    Thus your question does not make a lot of sense. My guess is that you are in fact refering to an Oracle session instead as this is "in the database" as you refered to.
    Each client that connect to Oracle, creates/establishes an Oracle session. A single client uses one (usually the default) or more sessions (usually used by a multi-threading client).
    By default, the Oracle Instance supports multiple Oracle (client) sessions. Including Personal Oracle. In the past, Personal Oracle limited (via the Listener) the number of remote clients (i.e. clients on other platforms) that can connect. I would assume that this is still the case. I however do not recall that there were a limit imposed on the number of local sessions that could be created - the limiting factor here is afterall the power and resources available by the PC. It's very unlikely that a common PC will be able to support a Personal Edition Oracle instance and 100's of local client sessions at the same time.
    If you do mean instance as per the strict Oracle definition - why would you want to create two Oracle instances (each with its own physical database) on a PC? That does not make sense on a large db server platform. It makes even less sense on a small PC platform.
    Each Oracle instance has overheads (processing and memory). Each physical Oracle database has overheads (system space, temp space, redo, logs, etc). Why duplicate these overheads?
    On a single platform - what can two Oracle instances (less capable because of reduced resources availability) do what a single Oracle instance cannot do faster and better and more effectively? Thus is it not a Good Idea to run multiple instances on a single platform. (exceptions acknowledged)

  • Running multiple instances from same oracle home

    Hi Gurus,
    I am preparing for OCA 11g examination. I had a question about running multiple instances from same oracle home. While reading the book I came across a statement about database control which says "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).
    I am not able to understand how exactly can you have multiple database instances in a single oracle home. I have installed Oracle 11g on my computer whose oracle home is +"D:\oracle\product\10.2.0\db_1"+; now this directory houses all the binaries (executables and folders like admin,bin, etc) for the oracle instance that I have installed (the instance name is ocp1). Now if I am to install or create another Oracle Instance (say ocp2) in the same home, wont there be a conflict of binaries of the two instances in the same home ?
    Basically,it makes sense if db_1 folder is further split into multiple folders, one for each instance (for example, one for ocp1 & one for ocp2); each of these folders will then contain the binary files, libraries,etc for its own instance; but, this is not the case, here db_1 houses all the binaries directly under it ...
    The other question which stems from the statement I mentioned above is that if having multiple instances running from same oracle home accessing the same physical database, can this arrangement be called RAC at all; or does RAC dictate that you cannot have multiple instances that are accessing the same database have to be installed on physically separate machines and so you cannot have two RAC instances (accessing same physical database) installed on the same computer ??
    I hope my questions are not too much confusing ... !!
    Cheers,
    Sudripta

    Hello,
    "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".This is true, and also means each instance will have its separate database (i.e. dbf files etc.) & separate DB Control. Usually in this case you create several instances on the same node.
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).You are correct about RAC where several instances (usually running on separate nodes) access the RAC.
    More info:
    1 Oracle Home - 1 Database - 1 SID is possible.
    1 Oracle Home - Many Databases - Many SID is possible.
    1 Oracle HOme - 1 Database - Multiple SID is possible and this is called RAC.

  • How to use/sync single data (file) across multiple instances of same application

    Currently we have an application (a diagram editor), that have the ability to save and load (serialize) its state in a xml file.
    Now we want this application to behave like Microsoft OneNote application. Where multiple users have the ability to access the same file.
    Later we may also need to enhance with other things like, (1)what is changed and who changed it, (2)option to resolve conflicts if any.
    I came to know about sync framework to resolve this. so far, i have not tried it.
    All i want is,
    Virtually single file should be edited by multiple instances of same application.
    We need a dll (sync framework) that does following
    It takes complete responsibility of file handling.
    Using this dll, each instance of the application will notify their own changes.
    Each instance of the application should have the ability to detect the changes that is recently made (when, who, what are the changes).
    My question:
    Will sync framework be suitable for this requirement?
    If so, is there a demo application that represents this?
    - Jegan

    Seems like I have found the solution.
    In the taskflow there is a property named data-control-scope and I set it to isolated instead of the default (shared) and this seemed to do the trick.
    I can now have two instances of the same taskflow running with different ApplicationModules
    Cheers,
    Mark

  • Create one more instance in same database?

    Hi All,
    Any one can u help me, How can create one more(second) instance in same database.please give the steps My environemnt is HP_UX 11.00 and Oracle 8i.
    Thanks in advanz
    ruby

    Legatti and Aryndin are correct.
    You are either asking how to create another database with its associated instance on the same server as an existing database
    OR
    you are asking how to add another instance to a RAC clusered database.
    In the first case see the DBA Administration manul which has a chapter on the subject of creating databases. The DBCA utility can be used to do this or you can do it manually.
    For the second the existing database must first be installed with the RAC option on a clustered server. There are RAC specific manuals available that cover the steps to add another instance on another node to the database.
    HTH -- Mark D Powell --

  • Multiple connection of same database

    Hi
    In my program I need to have multiple connections of same database and it must execute different procedures parallely . Can any one suggest how to do it.
    Thanks in advance

    Threads

  • Detecting multiple instances of same application on startup.

    How can I detect multiple instances of same application on startup? I would like to display a message to the user stating that the application is already running [and then close out].

    How can I detect multiple instances of same
    application on startup? I would like to display a
    message to the user stating that the application is
    already running [and then close out].Congratulations on being the bazillionth person to ask this kind of question without bothering to search the internet.

  • How to open multiple instances of same form thru menu items

    i'm not able to open another instance of the form.....if i want to open multiple instances of same form ...what should i do???

    Hi Shenaz,
    To open multiple instances of the same form you need to set a different FormUID to each form you open.
    So lets say your FormType is MyFormXPTO. You need can set the FormUID as MyFormXPTO_1, MyFormXPTO_2, and so on.
    If you need a code samples, take a look at this post.
    Regards,
    Vítor Vieira

  • Multiple instance of same mac on network

    Hello,
    Running OS X Yosemite, I've noticed multiple instances of the same mac appearing on my home network.  Has anyone else encountered this and know of a way to fix it?  Currently, I have to try more than one instance before I find the "correct" icon to connect.

    10.10.1, when I posted. Last night I installed 10.10.2.  It got hung up on the "Restarting..." (w/App Store logo) screen for over 2 hrs, so I let it run overnight.  It was still stuck in the morning so I just shut it down.  After restarting, everything looks fine (cautiously optimistic)!  There is only ONE instance on the network!!   I read some tips in other forums and the simplest one I used, which wouldn't do more harm than good, was to turn off my air printer during the reboot.  I am good for now and will repost if the problem returns. William Lloyd how long since you updated have you been multiple-instance-free?

  • Multiple copies of same database on a 2 node RAC server - How to merge ?

    I currently have multiple copies of the same database running on a 2 node Rac system. I am looking for a way to combine them into 1 large database but keeping the data separate.
    The databases are copies of production for testing, development and a yearly "historical" databases .
    All the databases are created from production, and generally have the same schema's , tables, procedures, etc however may be different versions and need to be.
    Is There a way to use one large database and logically split all the different versions of the same objects into their own space in one database ? The structure cannot change as the database is for a 3rd party's Forms application the relies on the objects not changing names etc.
    Ideally I am looking for a solution that will allow the forms application to connect to "test" and "historical" copies of our production database separately in the same database container.
    Thanks for any direction.

    I currently have multiple copies of the same database running on a 2 node Rac system. I am looking for a way to combine them into 1 large database but keeping the data separate.
    The databases are copies of production for testing, development and a yearly "historical" databases .
    All the databases are created from production, and generally have the same schema's , tables, procedures, etc however may be different versions and need to be.
    Is There a way to use one large database and logically split all the different versions of the same objects into their own space in one database ? The structure cannot change as the database is for a 3rd party's Forms application the relies on the objects not changing names etc.
    Ideally I am looking for a solution that will allow the forms application to connect to "test" and "historical" copies of our production database separately in the same database container.
    Thanks for any direction.

  • How to create multiple instances within same AS

    Ramesh,
    I have a unique problem. I might have to create B2B instances for 4 owners. As in BPEL, I can have separate domains for the 4 clients in the same instance; what is the equivalent in B2B?
    I have a limited number of CPUs and need to install the instances on the same box and hence trying to be creative yet secure here.
    Could you please provide some pointers.
    Thanks
    Shamik

    Hello Shamik,
    Please elaborate your use case. Is this just caters to user management or to really have different domain like bpel for four different users. Please see, b2b do not have the notion of BPEL domain, you might have to install multiple instances of B2B pointing to the same MR.
    Rgds,Ramesh

  • Running multiple instances on same machine

    I need to run multiple instances of BEA WLS on a unix machine. I need 4 separate instances (dev and test for two different departments) on one machine and two production instances on another machine. What is the best way to go about separating these (ex. an account or directory structure for each)?
    Thanks,
    Roger ---|-

    Dev/Test:
    Give each one its own domain name - i.e. a separate directory under config. This
    works well.
    Production:
    Do the same, but to keep licensing costs down, I'd be inclined to run everything
    on a single instance.
    simon.
    Roger Cornejo wrote:
    I need to run multiple instances of BEA WLS on a unix machine. I need4 separate instances (dev and test for two different departments) on
    one machine and two production instances on another machine. What is
    the best way to go about separating these (ex. an account or directory
    structure for each)?
    Thanks,
    Roger ---|-

  • How to Patch Multiple Instances on same oracle home

    Hi All
    I Have 4 Instances running on server like below
    DEVSTAG /opt/oracle/product/10.2.0
    DEVUAT /opt/oracle/product/10.2.0
    DEVREVT /opt/oracle/product/10.2.0
    DEVREG /opt/oracle/product/11.2.0
    i want to Apply the patch set 11.1.0.7.1 to DEVUAT & DEVREVT Instances , Can someone please help .. i dont want this patch set applied to DEVSTAG Instance .. how to exclude that Instance from getting patched ?
    Thanks in advance .. hope my requirement is clear.

    Which patch are you referring to ? The database patching tool (opatch) generally applies any database patch to an ORACLE_HOME. You will need to follow the instructions in the README of the patch. If you need to only patch one instance, then you will have to create a dedicated ORACLE_HOME for each database (i.e they will not share database executables). If you share ORACLE_HOME amongst multiple instances, then you will have to patch all of them simultaneously.
    HTH
    Srini

Maybe you are looking for

  • Script to add 4 named sub folders on creation of new folder

    can anyone help me with a  script that creates 4 sub folders with specific names within  a folder when the new folder is created????

  • Upload delivery address

    hi friends, I want to upload in SRM from R/3 only  the delivery address. There is a report for a mass upload? thx

  • Essbase 11.1.2 Connectivity

    Hello, I installed 11.1.2 on a windows 2008 R2 server in standalone mode without error. I am able to connect to essbase from EAS if I start essbase from a command prompt but not if I start it through the OPMN using opmnctl startproc ias-component=Ess

  • How to set MQMD format to String through JMS?

    any inputs on how to set the message format (MQFMT) to string (MQSTrforcibly using JMS? I have an application which writes a TextMessage to a remote Queue which is being received in MQHRF2 format. This needs to be in MQSTR format.

  • Can missing utilities prevent me from upgrading?

    Im having an issue with upgrading my (Late 2007) Macbook Pro to OS X 10.6. Im missing several utilities and im wondering can this be the cause of my upgrade failure. The original disk will not load and ejects after a few spins but other DVD's with me