Changing database connection in bpel process

Hi i have a problem and three different choices.
Problem:
i have an application made in oracle forms that calls an oracle bpel process and interacts with the database.
the problem is that i have 3 differents databases with differents users to impact that form.
i have already working that process in 1 database.
I have three choices and only two are worthy.
First choice:
create 2 new process for each database from zero. (setting different string connections to the databases,so the form will call differents url depending on what database is in).
second choice:
create 2 new process by copying the first one and changing the process name and the string connection and the url connection (but dunno how to do this).
third choice:
Switch inside the process somehow between the 3 different string connections to different databases.
The first one is not actually an option because the flow of the process is really large and have a huge amount of variables.
If someone could help me i would really apreciate it. THANKS!

what I understood is that your forms may call any of the 3 databases. give a try to Dynamic PartnerLink http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html. You will have one parent process that will be called by the forms. Now this bpel process based on the parameters sent by form, will call any of the three bpel process pointing to three different databases.
Please explain in further details if my understanding is wrong.

Similar Messages

  • Change database connection for FRS Report

    currently we are using ASO BSO model and all FRS reports are retrieve against BSO Database.Now we are converting to ASO only model. can i use the same report against ASO database .
    There is a option of chang database connection under tool in workspace . will this work or do i have to make all reports again
    can you please help me with this
    thank you

    IN some cases even if the report has additional dimensions it will work. After you change the connection. Open the report in designer. The new dimensions will automatically update. Save the report and you should be good to go. If dimensionality is exactly the same you don't even have to do that, just change the connection, point ot the new database and run the report.

  • Change database connection in SQL-Worksheet to a not connected db

    Hi,
    change the active database connection of a SQL-Worksheet to a currently not connected database does not work. The login window pops up, but the password entry field cannot be activated to enter the password. On dragging the login window the screen does not get refreshed correctly. The only way to get back to work is to kill the sqldeveloper.exe process.
    The affected version is 3.2.09.23 on the 32 bit MS Windows plattform.
    sincerely yours
    Matthias

    Hi Matthias,
    Thanks for reporting this. It is caused by a deadlock between Java threads. I will log a bug for it.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Aug 23, 2012 4:26 PM
    Bug 14532491 - FORUM - DEADLOCK OCCURS WHEN SWITCHING WORKSHEET CONNECTIONS
    Edited by: Gary Graham on Aug 23, 2012 4:27 PM
    Bug 14534488 - DEADLOCK OCCURS WHEN OPENING WORKSHEET CONNECTION FOR A SQL FILE

  • How to connect to BPEL Process Manager from Jdeveloper11g

    Hi,
    I am trying to connect to the local BPEL process manager server through Jdeveloper. However, I cannot seem to find the right option to do that in the Connections navigator i.e. there is no option under which I can define the connection for my local BPEL server.
    These are the only options I get to create a new connection for, under Applications Server Navigator are -
    1.) Applications Server Connection
    2.) BAM Connection
    3.) BI Presentation Services Connection
    4.) Content repository Connection
    5.) Database Connection
    ... and some others, but there is no BPEL process manager connection option just like we had it in the Jdeveloper BPEL designer edition.
    Any pointers/guidelines would be appreciated.
    Thanks,
    Shishir

    How is it possible through Jdeveloper BPEL Designer 10g to connect to a BPEL oj4J server. I tried to use Jdeveloper 10.1.3.2 to connect to my BPEL process manager but the same problem is there as well ( i.e. no BPEL connection option).
    Is it possible to use BAM connection to connect to BPEL server?
    Anirudh Pucha wrote:
    Also, The connections tab supports only Oracle (BEA) Weblogic 10g R3. Deployments to OC4J is not supported but will be incorporated later. So, I dont think you can use BPEL 10.1.3.1.0 for this.

  • Changing Database connection at runtime in CR2008

    Hi,
    I have a VS2008 application which is using CR2008 to generate pdf reports for the user. Problem is I am not able to change the database connection to any server other than the one that was used to create the report template.
    My environment has CR2008 SP2. I have tried reports with no paramter as well as the ones with parameters both dont seem to work.
    I have already tried a couple of things:
    a) report document refresh after loading it
    b) setting the database connection as
    this._crReport.DataSourceConnections[0].SetConnection(dbServerName, dbName, dbUserId, dbPwd);
    c) setting the database connection as
    tbls = this._crReport.Database.Tables;
                    bool test = false;
                    foreach (Table tbl in tbls)
                        tblLogonInfo = tbl.LogOnInfo;
                        tblLogonInfo.ConnectionInfo = connInfo;
                        tbl.ApplyLogOnInfo(tblLogonInfo);
                        test = tbl.TestConnectivity(); ** note this alwys return a true for the changed database server
    I have read a couple of thread but none has worked for me...Is this a known issue with CR2008?
    Thanks
    Kajal

    Hi Kajal,
    I am assuming that you are not changing the schema of the report at any point of time. I would suggest you to try pointing to the other database through designer to make sure that you can hit the database and the schema is correct. You can also create a udl file to check the database connectivity.
    Then just for testing purpose you can try the following code:
    ReportDocument reportDoc = new ReportDocument();
    reportDoc.Load("path of the report");
    reportDoc.SetDatbaseLocation("uid","pwd","Servername","tablename");
    reportDoc.SetParameterValues("Parameter-Name","values");
    CrystalReportViewer.ReportSoure=reportDoc;
    Does that help?
    Thanks.

  • Changing database connection at runtime

    Hi All,
    I have multiple screens based from different database instances. How can I make a single menu screen which will allow log in for another database connection? I tried using the LOGIN_SCREEN built in but it does not change the connection once you are already connected to one database.

    If you want to change connections, you first have to logout. Besides the logon_screen builtin does not change the connection, but it only sets several application properties.
    In the Forms Help there is an example how to use the logon_screen. It basically comes to the next pl/sql code:
    declare
    MyUsername VARCHAR2(40);
    MyPassword VARCHAR2(40);
    MyConnect VARCHAR2(40);
    begin
    logon_screen;
    MyUsername := Get_Application_Property(USERNAME);
    MyPassword := Get_Application_Property(PASSWORD);
    MyConnect := Get_Application_Property(CONNECT_STRING);
    logout;
    if MyConnect is not null then
    logon(MyUsername,MyPassword| |'@'| |MyConnect);
    else
    logon(MyUsername,MyPassword);
    end if;
    end;
    null

  • Changing Database connection on webservice deployment

    Hi All,
    I am having a problem changing the Database connection when deploying a PL/SQL generated webservice.
    What I have done is to use the WebService wizard to create a webservice based on a database Pl/SQL procedure. During this you have to specify the database connection (which initially is our dev server).
    When I come to deploy the service to our production platform I want to change the database descriptor name to point to an existing App Server data source.
    This is the problem - the Database Connection information is protected in the properties of the webservice - which means I cannot deploy to our production platform with the connection names I need.
    I can change the names of the Connections defined in the Connections tab - but then I cannot access the webservice in JDev.
    Everytime I deploy to our production platform I keep getting the development data sources created.
    Basically I need to develop a PL/SQL webservice using a Development connection (with a unique connection name), and then deploy to a production application server (10g AS) with a different connection name that points at our production env.
    I could create generic names, but that then would make my development system very confusing with the potential of messing up the production platform.
    Anyone got any ideas????
    Thanks and Regards
    Neil

    When you deploy the web service to the app server, if the connection to the other database is available from JDev at deployment time, the data sources xml file should be set up correctly with the db connection info. Otherwise this will have to be modified by hand on the app server to contain the connection details for the other DB.
    There are 3 files that will also have to be hand modified to reflect the different db connection details. 2 deployment descriptors, web.xml and oracle-webservices.xml which have references to the connection's jndi name, and also one of the JPublisher generated classes (the one whose name ends in 'Base') also has references to the jndi name (to look up the connection from the data source file) which will have to be modified, recompiled and redeployed.
    The simplest way to change the connection would actually be to leave everything alone and just modify the data sources xml file on the server such that the same jndi lookup points to a new connection, but it looks like the customer wants to change the name as well.
    An alternative to all this hand editing is to regenerate the service against the producion DB connection, test & then deploy the service.
    dai
    JDev devt. team

  • Changing database connection details aftre WAR file deployment

    Hello,
    I create a WAR deployment file and distribute this to a Tomcat web container. The package unpacks as expected however the production database details are different from my devlopment environment. The database connection name is the same. I thought if I simply change the connection details in the connections.xml file and restart the web app this would do the trick. It does not. What am I missing?

    Maybe your application is using a connection as defined in data-sources.xml. Check there.

  • Error when changing database connection

    I changed my connections.properties file to a database other than the one I used to develop my application. I was able to connect to the new database successfully from the application but when I tried to insert a new row I received the following error:
    JBO-26041: Failed to post data to database during "Insert". SQL Statement "BEGIN INSERT INTO ITEMS (ITEM_ID, ITEM_STATUS, CATEGORY, SOURCE_TYPE, IMAGE_TYPE) VALUES (:1,:2,:3,:4,:5) RETURNING ITEM_ID INTO :6; END;".
    ORA-06550: line 1, column 102: PLS-00103: Encountered the symbol "RETURNING" when expecting one of the following...
    Does anyone know what is causing this problem?
    Thanks,
    Joanna.
    null

    Your new database connection must be pointing to an older database which doesn't support the returning clause. I believe this was added in the 8.x series.
    Rob
    null

  • Error connecting to BPEL process manager

    We are trying to connect to our BPEL process manager and find the DeliveryService from a java webapp running in 10gAS and are getting the following exception/stacktrace. The last call of ours is creating a com.oracle.bpel.client.Locator using the default ID and password.
         javax.naming.AuthenticationException: No such domain/application: OC4J_BPEL/hw_services [Root exception is javax.naming.AuthenticationException: No such domain/application: OC4J_BPEL/hw_services]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218)
         at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:140)
         at com.oracle.bpel.client.Locator.<init>(Locator.java:111)
    We are using a provider URL that looks like this: opmn:ormi://hostname:6003/OC4J_BPEL/hw_services
    Can anyone explain why this is happening?

    I believe there might be a typo in the provider URL. It should be
    opmn:ormi://hostname:6003:OC4J_BPEL/hw_services
    instead of
    opmn:ormi://hostname:6003/OC4J_BPEL/hw_services
    Note the colon instead of the forward slash.

  • Change payload of a BPEL process

    Hi,
    I'm trying to change the payload of a BPEL process which is in Financial image processing accelerator.
    can anyone tell me what are the steps to change the payload of that.
    I tried to change the payload by changing XSD files.is it correct??
    Thanks in advance.
    Edited by: user13074557 on Apr 21, 2011 2:39 AM
    Edited by: user13074557 on Apr 21, 2011 2:51 AM

    Try using this: http://soa-howto.blogspot.com/2008/04/how-to-change-inputoutput-variable-for.html
    Cheers,
    - AR

  • Dynamically Changing Database Connections Information

    Post Author: Robert Flaherty
    CA Forum: .NET
    USing Crystal 2008 and Visual Studio 2008 in C#:
    Below is the code that I am using to set the database connection at runtime.  This does not work when the Server/Database is different from the Server/Database that was used when the report was generated.  What happens is a dialog box appears with the original connection information,  The textbox for the server and the database are disabled.
    public partial class ViewOrder : Form
    string sqlStmt;
    public ViewOrder(string SqlStmt)
    InitializeComponent();
    GlobalVaribles gv = GlobalVaribles.Instance;
    sqlStmt=SqlStmt;
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.ServerName = gv.Server;
    connectionInfo.DatabaseName = gv.Database;
    connectionInfo.UserID = gv.UserID;
    connectionInfo.Password = gv.Password;
    crystalReportViewer1.SelectionFormula = sqlStmt;
    string reportPath = Util.BuildFileName(gv.ReportPath, "Order001.Rpt");
    crystalReportViewer1.ReportSource = reportPath;
    crystalReportViewer1.ShowGroupTreeButton = true;
    crystalReportViewer1.EnableDrillDown = false;
    SetDBLogonForReport(connectionInfo);
    private void SetDBLogonForReport(ConnectionInfo connectionInfo)
    TableLogOnInfos tableLogOnInfos = crystalReportViewer1.LogOnInfo;
    foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
    tableLogOnInfo.ConnectionInfo = connectionInfo;

    Post Author: Robert Flaherty
    CA Forum: .NET
    USing Crystal 2008 and Visual Studio 2008 in C#:
    Below is the code that I am using to set the database connection at runtime.  This does not work when the Server/Database is different from the Server/Database that was used when the report was generated.  What happens is a dialog box appears with the original connection information,  The textbox for the server and the database are disabled.
    public partial class ViewOrder : Form
    string sqlStmt;
    public ViewOrder(string SqlStmt)
    InitializeComponent();
    GlobalVaribles gv = GlobalVaribles.Instance;
    sqlStmt=SqlStmt;
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.ServerName = gv.Server;
    connectionInfo.DatabaseName = gv.Database;
    connectionInfo.UserID = gv.UserID;
    connectionInfo.Password = gv.Password;
    crystalReportViewer1.SelectionFormula = sqlStmt;
    string reportPath = Util.BuildFileName(gv.ReportPath, "Order001.Rpt");
    crystalReportViewer1.ReportSource = reportPath;
    crystalReportViewer1.ShowGroupTreeButton = true;
    crystalReportViewer1.EnableDrillDown = false;
    SetDBLogonForReport(connectionInfo);
    private void SetDBLogonForReport(ConnectionInfo connectionInfo)
    TableLogOnInfos tableLogOnInfos = crystalReportViewer1.LogOnInfo;
    foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
    tableLogOnInfo.ConnectionInfo = connectionInfo;

  • Change database connection string

    Hi, does anybody know if it possible (and eventyally how) to change the DB connection string of the farm (both WF and SB). I do not need to change DB or server, just a parameter of the connection string.
    Thanks,
    Simone

    The Connection string will be persisted in the config database as well as in the registry. I don't think there are any APIs to change it.
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Allow users to change database connection at runtime

    Folks,
    CR 12.2.0.290
    BOE 12.1.0
    I develop CR on desktop and then save to the BOE repository.  Users need the ability to point the report to a different Oracle schema.  Tables and elements are the same, just the data is stored via streams so that each location has its own reporting schema.  So one (16 total) report needs to run against multiple schemas based on which origin the user is trying to report against; one at a time.  Other than having a set of reports for each site, how can I allow the users to select the schema to run against at runtime?
    Thanx
    Mike

    When you schedule a report with InfoView, there is a Database option where an ODBC connection, user and password can be specified.  Can this be used?  (I'm not familiar enough with Oracle to know for sure...  Also, this option doesn't show if the report uses Business Views.)
    HTH,
    Carl

  • Code change management in JDeveloper & BPEL Process Manager

    Hi,
    I am finding that when we make any changes such as adding more parameters to a database adapter query, internally generated variable / message type names change, and you have to re-do most of the work downstream of the database adapter.
    It seems the message types etc are generated using the parameter names
    e.g. a generated message type name ..
    ns2:extractGLDataSelect_last_extract_end_date_user_agency_code_current_end_date_inparameters
    This was a message type name generated for a query which takes
    las_extract_end_date, user_agency_code, and current_end_date as input parameters.
    Due to this, if I need to change by adding one more parameter or removing one for that matter, JDev keep all existing definitions and I have to go and make all the relevant downstream changes ...
    Am I missing something? Or that's the way the schema, WSDL and other name generation works... and we can't do much about it ..
    Would like to know if there's a better way to manage, and if others have seen similar issue with maintenance of the source code...
    Thank you,
    M

    I did get it to work after making the changes, just didnt like the way I had to make them. Had several steps, transformation etc. which were using the output from this adapter and had to make appropriae changes there.
    Was looking to see if there is a more efficient way of handling this....
    Thank you,
    M

Maybe you are looking for

  • IPad and Content Redirect in Citrix not playing MP4.

    We are trying to enable Content Redirect in a Citrix environment to play videos and show PDFs through a Wiki.  We can get the PDFs to show but the videos are not working consistantly.  Our assumption was that Content Redirect was not compatable with

  • Activating Photoshop CS2?

    Help: I have CS2 and Photoshop is giving me an error message that I have to get a new authorization because it detected changes to my computer (running windows 7) the options given to get authorization are no longer valid (tried two phone numbers and

  • Power Manager 3.0 on X220

    One of the most usefull features, having Power Manager to display the remaining battery charge on the task bar, disappeared when I installed Power Manager 3.0.0114 (or something). Before I upgraded it worked great! Well, Power Manager crashed horribl

  • How to change the original system of a CR?

    Dear gurus, we have imported some workbench and customizing CRs into a system B mannually from system A, there is no transport link between A and B. But when we want to import those CRs into system C , which has transportation link with B, we can not

  • Restoring stuck on 'waiting for ipod' SOMEONE PLEAAASE HELP:( lol

    my ipod wont finish its restoring it locks up on 'waiting for ipod' x