How to Synchronize Test Instance with Production database on regular basis.

Hello
How to Synchronize Test Instance with Production database on regular basis.
I want to update my Test Instance with Production ERP on daily basis without downTime.?

Hi,
I recomend to configure physical standby database for your production and when ever you requir open standby Using a Physical Standby DB in Read Write Mode and Flashback DB, so that you can revert all the changes back and put the db in sync. Please follow below metalink notes.
Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database (Doc ID 1070033.1)
Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC (Doc ID 1068913.1)
Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g (Doc ID 216212.1)
update my Test Instance with Production ERP on daily basis without downTime.?With zero down time is not possible I think.

Similar Messages

  • How to handle refreshing TEST schema with PRODUCTION schema ?

    - we have database 10g ( standard edition), database name : ABC
    - Schema name: ABC.PRODUCTION (which is our production schema)
    - Schema name: ABC.TEST (which is our testing schema, where developers work)
    Both the production & Test schemas exist in the same database.
    Now once a week I wanted to refresh TEST schema with PRODUCTION data
    Here is what I have been doing all these years:
    => Take a logical backup (EXPDP) of PRODUCTION schema (prod.dmp)
    => Drop user TEST cascade ( i don't need a backup of this TEST schema)
    => Create user TEST
    => Import PROD.DMP data into TEST schema
    All the above 4 steps are being done manually.
    Questions:
    ======
    1. Is there any easier way of doing the above steps using some tool ?
    2. Does Oracle enterprise manager which comes free with database installation (http://localhost:118/em)
    has any utility or tool to do this job ?
    3. I want everything to be refreshed (all database objects including data) ?
    Thanks
    John P
    Edited by: johnpau2013 on Feb 23, 2011 4:32 AM

    This is crazy. One inadvertent typo and you'll overwrite your Production schema. Plus, what happens if a developer 'tests' against the test schema and slows the Production database to a crawl.
    I presume you know all about this, though and can't make the case to management. I hope it's not a business-critical Production database!
    Anyway, your method is decent. I would advise against doing it automatically, to be honest, especially when your system is so precariously set up. But if you exist, you could use encapsulate all the steps into a script and use crontab to automate the process. I, personally, wouldn't use DBMS_SCHEDULER as you have to be careful with priorities and workload sometimes (at least in my experience) and you might end up having your export/import clash with other jobs in the system if you don't pay attention.
    Here are the steps I would use:
    Create a 'create user' script for the test schema based on dynamic SQL. That way you can be sure you have all the grants necessary for the user, in case things change.
    Drop the test user (use EXTRA caution and be defensive when coding this part!)
    Export the schema using FLASHBACK_SCN to ensure you have a consistent export
    Run your 'create user' script to create the test user
    Import the schema with a REMAP_SCHEMA option (use EXTREME caution with this!!!!)
    Compile invalid objects
    Compare objects and exclude any recycle_bin objects. Send an email alert if the object counts are different.
    Compare invalid objects. Any objects which aren't invalid in Production should be flagged up if they're invalid in test.
    Again, it's absolute insanity to have a test schema in a Production database. You absolutely must insist on addressing that with management.
    Mark

  • 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

  • How to change a connection with the database in Runtime?

    How to change a connection with the database in Runtime?
    My connection was made using ADF Business component (ApplicationModule).
    ADF Swing.
    JDeveloper Studio 11.1.1.4.0.

    When deploying ADF applications with database connection, you should be using JDBC data sources configured in the weblogic server.
    You could change the JDBC data sources to a different DB instance or location - by changing the JDBC data source and restarting the weblogic server.
    For more details, check
    http://techiecook.wordpress.com/2010/12/02/oracle-weblogic-adf-datasources/
    Thanks,
    Navaneeth

  • How to synchronize Outlook 2010 with SAP Calendar

    Hello colleagues,
    How to synchronize Outlook 2010 with SAP Calendar??
    Thanks

    Install MfE (Mail for Exchange), then follow this: http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=147951
    You can sync your mail, contacts and calendar with Google Sync. Tasks and notes are not supported. (Notes syncing is not possible with MfE anyway.)

  • Can I synchronize my iDevice with Aperture database on external volume?

    Hi everyone,
    I'm a photography enthusiast and I would always take photos.
    Recently, my built-in harddisk was full and I transferred my photos to an USB-connected 2.5" external harddisk. That's not the problem - I can browse and edit the photo freely whenever I plug in my external harddisk.
    But when I tried to synchronize my iPad with a database on the external volume, the problem comes. iTunes told that it cannot find the aperture database (in local drive) and I have no idea to match it with my current database.
    Who can give me a solution? Thanks!
    ALC
    (Sorry for my poor English as I'm not an English native speaker)

    Hi Ap Lei Chau,
    Your English is fine.
    Though I do not have a iPad, I do have an iPhone. With my iPhone plugged in, open iTunes, under Devices click my phone, then Photos tab mine reads Aperture. Clicking that drop down I have a option to choose Folder. From there I can walk the path to an Aperture library.
    It is my hope it appears the same in an iPad.
    Cordially,
    RicD

  • How does Oracle client communicate with a database server

    Looking to idenify how Oracle Database Client for OpenVMS communicates with database server and whether the protocol used is secure. Realize that it is using whatever the configured network protocol is (ie. tcpip) but is languauge it uses ( ie. SQL, etc..)  secured/encrypted and if not what steps can be taken to encypt

    Arizuddin wrote:
    I have installed oracle client 10g on client pc for getting connection to Oracle databse 10g (runng on windows server) usng ODBC through SAGE ACC PAC (ERP). Working fine earlier. Now all of a suddent user starts complaining about database connection. When checked his pc registry values. Two values of ODBC keys are reset to null. Those are DSN and DRIVER values. How come this values reset to null? What is causing this to reset?Nothing in this has anything to do with the sever. You need to check what the client did on his machine that caused registry to get modified?
    How does oracle ODBC works with Oracle database? Need to know all the steps involved?The connectoin from any client is initiated by a client process. This client process is supposed to get a server process to do his work. So if this is done, the client can work now with oracle . Please see the concepts guide for the gory details of the entire process.
    HTH
    Aman....

  • How can I test servelt with application at Tomcat?

    how can I test servelt with application at Tomcat?

    Assuming u have coded the servlet already there are certain things u need to do for exceuting the servlet in Tomcat,
    1) Assuming u r putting the servlet inside the directory named 'Mywebapp' under webapps directory, u need to create directory named Web-inf under Mywebapp and classes under Web-inf.
    Copy web.xml file from any of the webapps (like the example webapp) into mywebapp.
    Copy any one of the sample servlet specification in the web.xml and customise for ur servelt.
    then save the web.xml file and start the Tomcat.Am assuming u have included the mywebapp entry in the server.xml file.
    then invoke the servlet like http://machinename:8080/mywebapp/servletname

  • How to Synchronize an association with Database Changes

    Hi,
    I was wondering if someone has any ideas about how to manage FK changes with the BC associations. In general my questions center around tooling support for re-factoring associations and syncing them with db changes. I have read the following but all these discuss entity attribute related changes which are simple to manage.
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcentities.htm#ADFFD169
    http://jdeveloperfaq.blogspot.com/2010/02/faq-15-how-to-synchronize-adf-entity.html
    Re: How to manage ADF BC components in the case of datamodel changes
    I have 4 use cases.
    Case 1: When an association is added to the db, how does one bring it to the BC layer.
    Case 2: Deletion of an association from db is easy to manage because once it exists in bc layer, it can be treated as a valid one at the model later regardless of its existence on the db.
    Case 3: When an association is modeled in BC layer and a corresponding FK does not exist in DB. How does one turn that association into a physical FK in the db if one wants to install a FK. What is the naming convention for installing such a db FK constraint that can sync easily with tooling. I understand that it is not necessary to have a physical FK as the BC layer will take care of enforcing the relationship. But my requirement is that first the modeling at bc layer can go on and then the constraint can be implemented at a later date.
    Case 4: When a FK is renamed in db how does one reconcile that with a previously created association at the model layer based on an old fk with a different name.
    Thanks,

    The synchronize with DB will pick up new FK defined in the DB and will suggest to add them to your ADF BC layer.
    You can also generate DB objects from your ADF BC layer.
    Drag your ADF BC into an ADF BC diagram, select all of them, right click and select Generate Business Object->Database Objects
    This will create the objects in the DB - note though that this will override your DB objects.

  • How to synchronize test schema objects with the prod schema objects.

    Hi,
    I have a requirement of synchronizing test schema objects with the production schema objects. Please let me know the below
    1. if there is a standardized method for such activity,
    2. if there are oracle utilities for this task.
    3. If i had to do this job manually, can you let me know the check list if any.
    Thanks
    Purushotham M

    http://www.oracle.com/technetwork/issue-archive/2012/12-sep/o52sqldev-1735911.html
    You could try database diff tool in sql developer(but there are some licence restrictions).
    I don't know your database version, you could try DBMS_COMPARISON package also.
    Look at this link http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_comparison.htm
    Other solution is to create db link between test and production database, and then you can try different types of queries like
    select table_name from user_tables
    minus
    select table_name from user_tables@db_link_to_other_database
    And you can do this for columns, indexes and so on.
    But you must have proper DDL scripts for this, to generate sync script.
    Also there is a question about work process, you are doing sync in reverse order(from production to test). Test db is for test, after test you go to production db with proper ddl and dml scripts, so these schemas shouldn't be different in the first place(talking about schema, not data here).

  • Service Manager 2010 lab environment syncing with production database

    I am trying to setup a lab environment for SCSM 2010 to test the upgrade to SCSM 2012. I have been following the instructions found here:
    http://technet.microsoft.com/en-us/library/hh914226.aspx
    I have successfully made it to step 16. However, when I open the SCSM console in the lab environment it still shows the Data Warehouse and Reporting buttons. When I create a new ticket in either the lab or production environment it shows up in both consoles,
    even though the production console is connected to the production server and the lab console is connected to the lab server.
    Any ideas on why the lab environment is still syncing with the production server?
    Thanks

    Thread of the Necro-Dancer:
    Regardless, the step Katie was apparently implying (but seems to be missing from her description) is the bit where you backup the database and restore it to a separate instance. after this is done, you can then install a new management server targeting this
    new instance, and then promote the new management server to the workflow server, and run the isolated database using the new management server. 
    i would recommend, however, that you use
    the supported method of producing a upgrade lab with production data, which is very similar to the method Katie implied, includes directions covering all of these steps involved, and allows you to periodically restore production data to the lab database
    with minimal overhead. 
    I didn't notice the date before now. I just look at the latest unanswered posts, so not sure how I got into this one. But technet has been acting weird lately. I get an internal server error far too often.
    http://codebeaver.blogspot.dk/

  • How to resolve the datasource with Cloudspace database?

    Hi,
    I am running WebLogic 6.1 on Win2k and I have problem with
    Cloudscape database in Default Admin Server.
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException:
    Unable to resolve MyJDBCDataSource.
    Resolved: '' Unresolved:'MyJDBCDataSource' ; remaining name ''
    === Finish init method in myJDBCReadServlet.java ===
    1. I created simple table in the Cloudscape database using IJ utility and inserted
    some values:
    prompt>java -classpath %CLASSPATH%;..\lib\tools.jar COM.cloudscape.tools.ij
    ij version 3.5 (c) 1997-2000 Informix Software, Inc.
    ij> CONNECT 'jdbc:cloudscape:demo;create=true';
    WARNING 01J01: Database 'demo' not created, connection made to existing database
    instead.
    ij> SHOW CONNECTIONS;
    CONNECTION0* - jdbc:cloudscape:demo;create=true
    * = current connection
    ij> CREATE TABLE employee(name CHAR(25), location CHAR(20), id INTEGER);
    0 rows inserted/updated/deleted
    2. I created Connection Pool and Data Source using Default Console
    The Connection Pool configuration is the following:
    Name : MyJDBC Connection Pool
    URL : jdbc:cloudscape:demo
    Driver Classname: COM.cloudscape.core.JDBCDriver
    Properties : user=none password=none server=none
    My Data Source configuration is the following:
    Name : MyJDBC Data Source
    JNDI Name: MyJDBCDataSource
    Pool Name: MyJDBC Connection Pool
    I added the following line to myserver startup script to point
    to the database location:
    -Dcloudscape.system.home=./samples/eval/cloudscape/data
    3. I wrote the servlet and here is the piece of the myJDBCReadServlet
    code which generated the exception:
    public void init()
    System.out.println("=== Start init method in myJDBCReadServlet.java ===");
    try {
    ctx = new InitialContext();
    ds = (javax.sql.DataSource) ctx.lookup ("MyJDBCDataSource");
    } catch (Exception E) {
    System.out.println("Init Error: " + E);
    System.out.println("=== Finish init method in myJDBCReadServlet.java ===");
    Why it cannot find the database using JNDI name?
    Any help will be greatly appreciated,
    Jacob Nikom

    Great.
    Here is a link where you can find more cloudscape details:
    http://www.cloudscape.com/docs/doc_36/doc/html/coredocs/docs2.htm
    S.
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    >
    Problem solved!
    Slava - thank you for your help.
    Yes, cloudscape.jar file should be on the CLASSPATH.
    I also put tools.jar from the same directory (I am not sure
    is it necessary or not, but I did not test it).
    However,it is not enough to run WebLogic with Cloudscape
    successfuly. You have to tell WebLogic where the database
    files are. To do it you have to include start-up option
    in the startWebLogic.cmd file.
    It looks like:
    -Dcloudscape.system.home="C:~\samples\eval\cloudscape\data"
    After that it runs. Actually, the file cloudscape.html in the
    directory ~\samples\eval\cloudscape has quite a bit of information.
    Unfortunately, it is difficult to comprehend it until you understand whatthe
    problem is.
    Regards,
    Jacob
    "Slava Imeshev" <[email protected]> wrote:
    Hi Jacob,
    You need to specify the Cloudscape classes in your
    CLASSPATH, which exists in weblogic/samples/eval/cloudscape/lib.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    This is the source of the error:
    <Error> <JDBC>
    <Cannot startup connection pool "MyJDBC_Connection_Pool"
    Cannot load driver class: COM.cloudscape.core.JDBCDriver>
    but I don't know how to fix it.
    I don't know the name of the Cloudscape JDBC driver.
    I looked at cloudscape.jar file and found the following class file:
    COM/cloudscape/core/JDBCDriver.class
    Is it the right driver?
    I tried to use COM.cloudscape.core.XADataSource driver
    classname, but got the same problem - WebLogic cannot find it.
    Which .jar file has correct Cloudscape JDBC driver?
    What else should I do to ensure that driver loads properly?
    Thank you,
    Jacob Nikom
    "Slava Imeshev" <[email protected]> wrote:
    Ok. I don't see that neither connection pool nor data source
    trying to start. You did not added targets to them or may be
    you provided wrong target.
    S.
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    Thank you for your response. I am sending you the full
    log as .txt file attachment. It is not very large in order
    to zip it.
    I added some Cloudscape parameters to the startup script,
    so you can see them there. They show to the WebLogic where
    the database is located.
    Also, I think the database was running because I could see
    my tables using IJ utility (Cloudscape tool), however I am
    not sure how Cloudscape exactly starts and runs.
    Regards,
    Jacob Nikom
    "Slava Imeshev" <[email protected]> wrote:
    Could you zip the whole log and send it to me?
    I just want to see what the console says about
    creation of your datasources and pools.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    This is the output with Stdout severity threshold = "info".
    I only split a couple of very long lines.
    <Oct 2, 2001 6:29:33 PM EDT> <Info> <HTTP>
    <[WebAppServletContext(5891807,myJDBCReadServlet,/myJDBCReadServlet)]
    myJDBCReadServlet:
    init>
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException: Unable to resolveMyJDBC_Data_Source.
    Resolved: '' Unresolved:'MyJDBC_Data_Source' ; remaining name
    === Finish init method in myJDBCReadServlet.java ===
    === Start service method in myJDBCReadServlet.java ===
    Service Error: java.lang.NullPointerException
    === Finish service method in myJDBCReadServlet.java ===
    "jacob nikom" <[email protected]> wrote:
    Hi Slava,
    Thank you very much for your response.
    I followed your advice and changed the names
    of my ConnectionPool and DataSource, removing
    all spaces. Now they are MyJDBC_Data_Source and
    MyJDBC_Connection_Pool (is underscore OK?).
    I think I turned on the message level on "info" few days ago.
    Could you remind me how to check it?
    I am sending you the full log of my session starting
    from the beginning up to the crush:
    prompt>"C:\WebLogic61\jdk131\bin\java" -hotspot -ms64m -mx64m
    -classpath
    .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\cos.jar
    -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver
    "-Dbea.home=C:\WebLogic61"
    -Dcloudscape.system.home="C:\WebLogic61\wlserver6.1\samples\eval\cloudsc
    a
    p
    e
    \data"
    >
    -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=false
    >
    "-Djava.security.policy==C:\WebLogic61\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    <Oct 2, 2001 5:21:57 PM EDT> <Info> <Security> <Getting bootpassword
    from user.>
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    <Oct 2, 2001 5:22:02 PM EDT> <Notice> <Management> <Loadingconfiguration
    file
    .\config\mydomain\config.xml ...>
    <Oct 2, 2001 5:22:07 PM EDT> <Notice> <WebLogicServer> <StartingWebLogic
    Admin
    Server "myserver" for domain "mydomain">
    <Oct 2, 2001 5:22:10 PM EDT> <Notice> <Management> <Starting
    discovery
    of Managed
    Server...
    This feature is on by default, you may turn this off bypassing -Dweblogic.management.discover=false>
    <Oct 2, 2001 5:22:17 PM EDT> <Notice> <Management> <Application
    Poller
    started
    for development server.>
    <Oct 2, 2001 5:22:17 PM EDT> <Notice> <WebLogicServer><SSLListenThread
    listening
    on port 7002>
    <Oct 2, 2001 5:22:17 PM EDT> <Notice> <WebLogicServer>
    <ListenThread
    listening
    on port 7001>
    <Oct 2, 2001 5:22:18 PM EDT> <Notice> <WebLogicServer> <StartedWebLogic
    Admin
    Server "myserver" for
    domain "mydomain" running in Development Mode>
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException: Unable to
    resolve
    MyJDBC_Data_Source.
    Resolved: '' Unresolved:'MyJDBC_Data_Source' ; remaining name
    === Finish init method in myJDBCReadServlet.java ===
    === Start service method in myJDBCReadServlet.java ===
    Service Error: java.lang.NullPointerException
    "Slava Imeshev" <[email protected]> wrote:
    Jacob,
    Just FYI, DataSource or ConnectionPool name can not
    contain spaces. Change the names and let me know if it helps.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi Slava,
    Thank you for your message. I did assign target to
    my Connection Pool and Data Source. It is "myserver".
    Also, there is not any error messages form WebLogic
    shell except the ones which I place in my message.
    So far the misery remains unresolved.
    Regards,
    Jacob Nikom
    "Slava Imeshev" <[email protected]> wrote:
    Hi Jacob,
    Make sure you assigned targets to the connection pool and
    data
    source.
    Also
    check Weblogic shell console for errors.
    Regards,
    Slava Imeshev
    "jacob nikom" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am running WebLogic 6.1 on Win2k and I have problem
    with
    Cloudscape database in Default Admin Server.
    === Start init method in myJDBCReadServlet.java ===
    Init Error: javax.naming.NameNotFoundException:
    Unable to resolve MyJDBCDataSource.
    Resolved: '' Unresolved:'MyJDBCDataSource' ; remainingname
    === Finish init method in myJDBCReadServlet.java ===
    1. I created simple table in the Cloudscape database using
    IJ
    utility
    and
    inserted
    some values:
    prompt>java -classpath %CLASSPATH%;..\lib\tools.jarCOM.cloudscape.tools.ij
    ij version 3.5 (c) 1997-2000 Informix Software, Inc.
    ij> CONNECT 'jdbc:cloudscape:demo;create=true';
    WARNING 01J01: Database 'demo' not created, connection
    made
    to
    existing
    database
    instead.
    ij> SHOW CONNECTIONS;
    CONNECTION0* - jdbc:cloudscape:demo;create=true
    * = current connection
    ij> CREATE TABLE employee(name CHAR(25), location
    CHAR(20),
    id
    INTEGER);
    0 rows inserted/updated/deleted
    2. I created Connection Pool and Data Source using Default
    Console
    The Connection Pool configuration is the following:
    Name : MyJDBC Connection Pool
    URL : jdbc:cloudscape:demo
    Driver Classname: COM.cloudscape.core.JDBCDriver
    Properties : user=none password=none server=none
    My Data Source configuration is the following:
    Name : MyJDBC Data Source
    JNDI Name: MyJDBCDataSource
    Pool Name: MyJDBC Connection Pool
    I added the following line to myserver startup script
    to
    point
    to the database location:
    -Dcloudscape.system.home=./samples/eval/cloudscape/data
    3. I wrote the servlet and here is the piece of themyJDBCReadServlet
    code which generated the exception:
    public void init()
    System.out.println("=== Start init method inmyJDBCReadServlet.java
    ===");
    try {
    ctx = new InitialContext();
    ds = (javax.sql.DataSource) ctx.lookup
    ("MyJDBCDataSource");
    } catch (Exception E) {
    System.out.println("Init Error: " + E);
    System.out.println("=== Finish init method inmyJDBCReadServlet.java
    ===");
    Why it cannot find the database using JNDI name?
    Any help will be greatly appreciated,
    Jacob Nikom

  • How to use HR application with Remote Database ?

    Hi,
    I tested the HR application but it working on local database.
    How can I create same application which will communicate with Remote Database.
    Any guideline ?
    Regards,
    Ajay Sharma

    Hi,
    Thanks for the reply.
    My scenario is that there is one web service and this web service has one method name "getQueryOutput".
    Input parameter to this method is Select query
    select ename form empthe return type of this method is Document. Currently I hard coded the select statement as I want to display all employee name as application starts.
    But I am getting following error
    Unable to read DataControl Usages, on loadDataControl for id: Genericwebfollowing is the code of method where I am calling Webservice data control
        public void Execute() {
            Trace.log(Utility.ApplicationLogger, Level.INFO, EmployeeList.class, "Execute",
                      "##############Inside Execute");
            List pnames = new ArrayList();
            List params = new ArrayList();
            List ptypes = new ArrayList();
            pnames.add("query");
            ptypes.add(String.class);
            params.add("select ename from emp");
            try {
                Trace.log(Utility.ApplicationLogger, Level.INFO, EmployeeList.class, "Execute",
                          ">>>>>> Before invokeDataControlMethod");
                // This calls the DC method and gives us the Return
                GenericType result =
                    (GenericType)AdfmfJavaUtilities.invokeDataControlMethod("Genericweb", null, "getQueryOutput",
                                                                            pnames, params, ptypes);
                GenericType cfgt = (GenericType)result.getAttribute("Results");
                int count = cfgt.getAttributeCount();
                for (int i = 0; i < count; i++) {
                    GenericType fgt = (GenericType)cfgt.getAttribute(i);
                    Employee e = (Employee)GenericTypeBeanSerializationHelper.fromGenericType(Employee.class, fgt);
                    GenericType tempgt = (GenericType)fgt.getAttribute("ENAME");
                    e.setEname((String)tempgt.getAttribute(0));
                    s_employees.add(e);
            } catch (AdfInvocationException e) {
                Trace.log(Utility.ApplicationLogger, Level.SEVERE, EmployeeList.class, "Execute",
                          ">>>>>> AdfInvocationException=" + e.getMessage());
                //AdfException ex = new AdfException("Error Invoking Web Service.  Please try later", AdfException.WARNING);
                AdfException ex = new AdfException(e.getMessage(), AdfException.WARNING);
                throw ex;
            } catch (Exception e2) {
                Trace.log(Utility.ApplicationLogger, Level.SEVERE, EmployeeList.class, "Execute",
                          ">>>>>> Exception=" + e2.getMessage());
                //AdfException ex = new AdfException("Error Invoking Web Service.  Please try later", AdfException.WARNING);
                AdfException ex = new AdfException(e2.getMessage(), AdfException.WARNING);
                throw ex;
        }Regards,
    Ajay sharma

  • How to create an instance of the database

    No that won't work. I have to set it up independant from each other because I can't get to Uni until Monday and I want to have this done over the weekend really.
    The main issue seems to be now how to create an instance of the database

    To create a database:
    you first connect as internal (user) with the passeword 'oracle'
    the syntax is: connect internal/oracle
    You type in this script:
    STARTUP NOMOUNT PFILE=$PFILE
    CREATE DATABASE db01
    LOGFILE
    GROUP 1 ('c/oracle/oradata/db01/redo_01a.log',
    'c/oracle/oradata/db01/redo_01b.log'
    ) size 100k,
    GROUP 2 ('c/oracle/oradata/db01/redo_02a.log',
    'c/oracle/oradata/db01/redo_02b.log'
    ) size 100k
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXLOGHISTORY 1
    DATAFILE 'c/oracle/oradata/db01/system01.dbf'
    size 7M
    MAXDATAFILES 254
    MAXINSTANCES 1;
    This script could be modified to reflect the features you want for your database.
    db01 = the name you can give to your database
    Good luck,
    Henri

  • Can we link one application instance with multiple databases ?

    We have R12.1.1 and db is 11.1.0.7 on redhat 5.3 ( 64 bit).
    Can we link one application instance ( apps / , inst / ) with multiple database ( db / ),
    is this possible ?
    if yes how ?

    >
    Can we link one application instance ( apps / , inst / ) with multiple database ( db / ),
    is this possible ?
    No. You cant link application tier with more than one database.
    Similar query already answered by Hussein in detail in the forum :Re: Multiple instances, single Apps tier Please check that for more details
    -Rk

Maybe you are looking for