Creating Obiee another instance

Hi all,
I would like to create an additional instance for the obiee which I have. But I'm not aware of doing it.
Could any body help me in providing a link for that?
Thanks in adv.
The environments are both Windows and Linux as well.

Hi,
Refer section 2.2.3.2 - Installing Multiple, Standalone Oracle Business Intelligence Instances on a Single Computer - of the Oracle Fusion Middleware Installation Guide for Oracle Business Intelligence 11g Release 1 (11.1.1) E10539-02
The link is here: http://docs.oracle.com/cd/E21764_01/bi.1111/e10539/c2_scenarios.htm#CHDDIDGE
http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-vertical-clustering-fault-tolerance-multiple-bi-servers-in-a-box/
Thanks
Deva

Similar Messages

  • Why archived log of an instance got created in another instance?

    Hi All,
    It is a 2 nodes RAC. I found that there are archived log of instance#1 created in instance#2. It is strange. Do you have any idea?
    instance#1
    [oracle@server1 dbs]$ ls -l /appl/erp/arch/orcl/
    total 1501340
    -rw-r-----  1 oracle erpdba 49469952 Jan 17 09:33 1_781_715695404.arc
    -rw-r-----  1 oracle erpdba 50551808 Jan 17 09:34 1_782_715695404.arc
    -rw-r-----  1 oracle erpdba     1024 Jan 17 09:39 1_785_715695404.arc
    -rw-r-----  1 oracle erpdba 49051648 Jan 17 10:00 1_786_715695404.arc
    -rw-r-----  1 oracle erpdba 83065344 Jan 17 10:00 2_615_715695404.arc
    -rw-r-----  1 oracle erpdba 51148800 Jan 17 10:01 1_787_715695404.arc
    -rw-r-----  1 oracle erpdba     1024 Jan 17 10:01 2_616_715695404.arc
    -rw-r-----  1 oracle erpdba 48924672 Jan 17 10:01 1_788_715695404.arc
    -rw-r-----  1 oracle erpdba 48935424 Jan 17 10:01 1_789_715695404.arc
    -rw-r-----  1 oracle erpdba 23964160 Jan 17 10:06 1_790_715695404.arc
    -rw-r-----  1 oracle erpdba 51796480 Jan 17 10:07 1_791_715695404.arc
    -rw-r-----  1 oracle erpdba 52080640 Jan 17 10:08 1_792_715695404.arc
    -rw-r-----  1 oracle erpdba 51973120 Jan 17 10:09 1_793_715695404.arcinstance#2
    [oracle@server2 dbs]$ ls -l /appl/erp/arch/orcl/
    total 1501340
    -rw-rw----  1 oracle erpdba 101348352 Jan 16 15:46 2_605_715695404.arc
    -rw-rw----  1 oracle erpdba 101351424 Jan 16 16:05 2_606_715695404.arc
    -rw-rw----  1 oracle erpdba 101347840 Jan 16 16:06 2_607_715695404.arc
    -rw-r-----  1 oracle erpdba 101350400 Jan 16 16:55 2_596_715695404.arc
    -rw-rw----  1 oracle erpdba   3522560 Jan 16 18:13 2_609_715695404.arc
    -rw-rw----  1 oracle erpdba  47719424 Jan 17 09:33 2_610_715695404.arc
    -rw-rw----  1 oracle erpdba      7168 Jan 17 09:33 2_611_715695404.arc
    -rw-rw----  1 oracle erpdba   5175296 Jan 17 09:34 1_783_715695404.arc
    -rw-rw----  1 oracle erpdba   6170112 Jan 17 09:34 2_612_715695404.arc
    -rw-rw----  1 oracle erpdba  50551808 Jan 17 09:34 1_782_715695404.arc
    -rw-rw----  1 oracle erpdba      1024 Jan 17 09:34 1_784_715695404.arc
    -rw-rw----  1 oracle erpdba 102879232 Jan 17 09:36 2_613_715695404.arc
    -rw-rw----  1 oracle erpdba 103360512 Jan 17 09:38 2_614_715695404.arcRegards,
    nww

    Hi Salman,
    I don't know. I just modified your SQL a bit as below.
    select inst_id, name, thread#, sequence#, first_time from gv$archived_log
    where first_time like '16-JAN-13%'
    and sequence# between 605 and 793
    order by FIRST_TIME ;I tried again with the follow SQL. Do you know what's going on? The FIRST_TIME changed?
    select inst_id, name, thread#, sequence#, first_time from gv$archived_log
    where first_time >= trunc(sysdate-1)
    and sequence# between 605 and 793
    order by FIRST_TIME ;
       INST_ID NAME                                          THREAD#  SEQUENCE# FIRST_TIM
             2                                                     1        770 16-JAN-13
             2 ORCLSB                                              1        770 16-JAN-13
             1 ORCLSB                                              1        770 16-JAN-13
             1                                                     1        770 16-JAN-13
             1                                                     1        771 16-JAN-13
             2                                                     1        771 16-JAN-13
             1 ORCLSB                                              1        771 16-JAN-13
             2 ORCLSB                                              1        771 16-JAN-13
             2 ORCLSB                                              1        772 16-JAN-13
             1                                                     1        772 16-JAN-13
             2                                                     1        772 16-JAN-13
             1 ORCLSB                                              1        772 16-JAN-13
             1                                                     2        605 16-JAN-13
             2                                                     2        605 16-JAN-13
             2 ORCLSB                                              2        605 16-JAN-13
             1 ORCLSB                                              2        605 16-JAN-13
             1                                                     2        606 16-JAN-13
             2                                                     2        606 16-JAN-13
             1 ORCLSB                                              2        606 16-JAN-13
             2 ORCLSB                                              2        606 16-JAN-13
             2 ORCLSB                                              2        607 16-JAN-13
             2                                                     2        607 16-JAN-13
             1                                                     2        607 16-JAN-13
             1 ORCLSB                                              2        607 16-JAN-13
             1 ORCLSB                                              2        608 16-JAN-13
             2 ORCLSB                                              2        608 16-JAN-13
             1                                                     2        608 16-JAN-13
             2                                                     2        608 16-JAN-13
             2 ORCLSB                                              1        773 16-JAN-13
             2                                                     1        773 16-JAN-13
             1 ORCLSB                                              1        773 16-JAN-13
             1                                                     1        773 16-JAN-13
             2                                                     1        774 16-JAN-13
             1 ORCLSB                                              1        774 16-JAN-13
             2 ORCLSB                                              1        774 16-JAN-13
             1                                                     1        774 16-JAN-13
             2 ORCLSB                                              2        609 16-JAN-13
             1 ORCLSB                                              2        609 16-JAN-13
             1                                                     2        609 16-JAN-13
             2                                                     2        609 16-JAN-13
             1 ORCLSB                                              1        775 16-JAN-13
             1                                                     1        775 16-JAN-13
             2                                                     1        775 16-JAN-13
             2 ORCLSB                                              1        775 16-JAN-13
             2                                                     2        610 16-JAN-13
             1 ORCLSB                                              2        610 16-JAN-13
             1                                                     2        610 16-JAN-13
             2 ORCLSB                                              2        610 16-JAN-13
             2 ORCLSB                                              1        776 16-JAN-13
             2                                                     1        776 16-JAN-13
             1 ORCLSB                                              1        776 16-JAN-13
             1                                                     1        776 16-JAN-13
             2 ORCLSB                                              1        777 17-JAN-13
             1                                                     1        777 17-JAN-13
             1 ORCLSB                                              1        777 17-JAN-13
             2                                                     1        777 17-JAN-13
             1                                                     1        778 17-JAN-13
             1 ORCLSB                                              1        778 17-JAN-13
             2                                                     1        778 17-JAN-13
             2 ORCLSB                                              1        778 17-JAN-13
             2                                                     2        611 17-JAN-13
             1 ORCLSB                                              2        611 17-JAN-13
             2 ORCLSB                                              2        611 17-JAN-13
             1                                                     2        611 17-JAN-13
             2 ORCLSB                                              1        779 17-JAN-13
             1                                                     1        779 17-JAN-13
             1 ORCLSB                                              1        779 17-JAN-13
             2                                                     1        779 17-JAN-13
             2 ORCLSB                                              1        780 17-JAN-13
             2                                                     1        780 17-JAN-13
             1 ORCLSB                                              1        780 17-JAN-13
             1                                                     1        780 17-JAN-13
             1                                                     2        612 17-JAN-13
             1 ORCLSB                                              2        612 17-JAN-13
             2                                                     2        612 17-JAN-13
             2 ORCLSB                                              2        612 17-JAN-13
             1 ORCLSB                                              1        781 17-JAN-13
             1                                                     1        781 17-JAN-13
             2                                                     1        781 17-JAN-13
             2 ORCLSB                                              1        781 17-JAN-13
             1                                                     1        782 17-JAN-13
             2                                                     1        782 17-JAN-13
             2                                                     1        783 17-JAN-13
             1                                                     1        783 17-JAN-13
             2 ORCLSB                                              1        783 17-JAN-13
             1 ORCLSB                                              1        783 17-JAN-13
             1 ORCLSB                                              1        784 17-JAN-13
             1                                                     1        784 17-JAN-13
             2                                                     1        784 17-JAN-13
             2 ORCLSB                                              1        784 17-JAN-13
             2                                                     2        613 17-JAN-13
             1                                                     2        613 17-JAN-13
             1 ORCLSB                                              2        613 17-JAN-13
             2 ORCLSB                                              2        613 17-JAN-13
             2                                                     2        614 17-JAN-13
             1                                                     2        614 17-JAN-13
             1 ORCLSB                                              2        614 17-JAN-13
             2 ORCLSB                                              2        614 17-JAN-13
             2 ORCLSB                                              2        615 17-JAN-13
             1                                                     2        615 17-JAN-13
             1 ORCLSB                                              2        615 17-JAN-13
             2                                                     2        615 17-JAN-13
             1 ORCLSB                                              1        785 17-JAN-13
             1                                                     1        785 17-JAN-13
             2                                                     1        785 17-JAN-13
             2 ORCLSB                                              1        785 17-JAN-13
             2 ORCLSB                                              1        786 17-JAN-13
             2                                                     1        786 17-JAN-13
             1 ORCLSB                                              1        786 17-JAN-13
             1                                                     1        786 17-JAN-13
             2                                                     1        787 17-JAN-13
             1 ORCLSB                                              1        787 17-JAN-13
             2 ORCLSB                                              1        787 17-JAN-13
             1                                                     1        787 17-JAN-13
             1 ORCLSB                                              2        616 17-JAN-13
             2 ORCLSB                                              2        616 17-JAN-13
             1                                                     2        616 17-JAN-13
             2                                                     2        616 17-JAN-13
             2                                                     1        788 17-JAN-13
             1 ORCLSB                                              1        788 17-JAN-13
             1                                                     1        788 17-JAN-13
             2 ORCLSB                                              1        788 17-JAN-13
             2 ORCLSB                                              1        789 17-JAN-13
             1                                                     1        789 17-JAN-13
             1 ORCLSB                                              1        789 17-JAN-13
             2                                                     1        789 17-JAN-13
             1 ORCLSB                                              1        790 17-JAN-13
             1                                                     1        790 17-JAN-13
             2                                                     1        790 17-JAN-13
             2 ORCLSB                                              1        790 17-JAN-13
             1                                                     1        791 17-JAN-13
             1 ORCLSB                                              1        791 17-JAN-13
             2 ORCLSB                                              1        791 17-JAN-13
             2                                                     1        791 17-JAN-13
             1                                                     1        792 17-JAN-13
             1 ORCLSB                                              1        792 17-JAN-13
             2 ORCLSB                                              1        792 17-JAN-13
             2                                                     1        792 17-JAN-13
             2 ORCLSB                                              1        793 17-JAN-13
             2                                                     1        793 17-JAN-13
             1 ORCLSB                                              1        793 17-JAN-13
             1                                                     1        793 17-JAN-13
             1 ORCLSB                                              2        617 17-JAN-13
             1                                                     2        617 17-JAN-13
             2                                                     2        617 17-JAN-13
             2 ORCLSB                                              2        617 17-JAN-13
             2 ORCLSB                                              2        618 17-JAN-13
             1 /appl/erp/arch/ORCL/2_618_715695404.arc             2        618 17-JAN-13
             1 ORCLSB                                              2        618 17-JAN-13
             2 /appl/erp/arch/ORCL/2_618_715695404.arc             2        618 17-JAN-13
             2 /appl/erp/arch/ORCL/2_619_715695404.arc             2        619 17-JAN-13
             1 /appl/erp/arch/ORCL/2_619_715695404.arc             2        619 17-JAN-13
             2 /appl/erp/arch/ORCL/2_620_715695404.arc             2        620 17-JAN-13
             1 /appl/erp/arch/ORCL/2_620_715695404.arc             2        620 17-JAN-13
             2 /appl/erp/arch/ORCL/2_623_715695404.arc             2        623 17-JAN-13
             1 /appl/erp/arch/ORCL/2_622_715695404.arc             2        622 17-JAN-13
             1 /appl/erp/arch/ORCL/2_623_715695404.arc             2        623 17-JAN-13
             1 /appl/erp/arch/ORCL/2_621_715695404.arc             2        621 17-JAN-13
             2 /appl/erp/arch/ORCL/2_621_715695404.arc             2        621 17-JAN-13
             2 /appl/erp/arch/ORCL/2_622_715695404.arc             2        622 17-JAN-13
             2 /appl/erp/arch/ORCL/2_624_715695404.arc             2        624 17-JAN-13
             1 /appl/erp/arch/ORCL/2_624_715695404.arc             2        624 17-JAN-13
    162 rows selected.BTW, what are those records having blank name?
    Regards,
    nww

  • Error while creating the view from one instance to another instance

    Hi Experts
    I want to Create a view which reside in one instance for example xxx Instance . I want to create the same view which reside in xxx instance to another instance for example YYY Instance How to acheive this ?
    I tried desc the View take the view script from XXX instance and copied the view script to YYY instance when I compiled Iam getting an Error
    For Example My view in XXX Instance
    CREATE OR REPLACE FORCE VIEW xxx.sample
    First_name,
    last_name
    as
         select "F_NAME",
                 "L_NAME"
         FROM  EMP;When try to copy and compile the same view in my YYY Instance
    i am getting error
    ORA: table or view does not exist
    Advance Thanks
    AT

    A.T wrote:
    Hi Experts ,
    Thanks For all your valuable information I amTrying Of DB Link i think so
    As per My understanding If wrong anywhere please advice me
    Here Instance is Like : One DB 10g divided into several Instance like (test , devlopement , production Instance)
    Now hope i ll make my req clear .
    Coming to my reqirement
    the actual table EMP is in xxi.TEST (Here xxi => Schema and test is an Instance )
    I want to create the view which is based on by table EMP which in my test instance to devoplment instance
    For example xxo.development (here xxo => Schema and development is an Instance )
    Need to access the xxi schema in Test Instance How can I create a DB Link please share your ideas and advice me
    Advance Thanks
    ATIt's still not at all clear, but let me outline what I think you are after
    Given a database, ORCL_A
    In database ORCL_A we have a schema, HALFTRACK
    User HALFTRACK has a table, MYSTUFF
    Given a database, ORCL_B
    In database ORCL_B we have a user GREENBRASS
    User GREENBRASS needs to be able to query the table HALFTRACK.MYSTUFF.
    In database ORCL_B, as user GREENBRASS
    create database link mylink
    connect to halftrack identified by halftracks_pswd
    using ORCL_A;
    select * from mytable@mylink;The db link defines a connection specification to ORCL_A, using the credentials of a user on ORCL_A. The target of the USING clause in the link definition must be an entry in the tnsames.ora file on the server hosting database ORCL_B.
    When querying through the link, database ORCL_B is simply acting as a client to ORCL_A, no different that a sqlplus session on ORACL_B's server. As far as ORCL_A is concerned, ORCL_B is just another client requesting a connection, connecting with the credentials defined in the link definition.

  • How to create another instance on linux without using dbca?

    I have an oracle database (or instance) named viton1 on my linux.
    Now I want to create another instance (or database) named viton2 on my linux without using dbca.
    I know I can create a database by runing a sql script : create database ......
    But my problem is:
    before I can run the script for create database, I must startup nomount database.
    Before I can startup nomount the instance, I have to connect the instance.
    So I do it:
    $sqlplus /nolog
    sql > conn sys/password as sysdba;
    sql >
    then I connected to viton1, that's not what I expected.
    In order not to connect to viton1, I set ORACLE_SID=viton2. Then it show error: insufficient privilege.
    Who can tell me the right way to create another database without using dbca?
    Thanks in advance.

    In $ORACLE_BASE/admin you should have a directory structure for the viton1 instance : create a similar directory structure for the viton2 instance.
    In the pfile subdirectory create the initviton2.ora file : you can copy it from initviton1.ora file and change all occurrences of viton1 to viton2.
    At OS prompt : export ORACLE_SID=viton2, then
    sqlplus /nolog
    conn / as sysdba
    startup nomount pfile=$ORACLE_BASE/admin/viton2/pfile/initviton2.ora
    then CREATE DATABASE.....

  • Creating a bean instance in another bean

    hi pals, i need your help on this. i'm havin this compiler error i.e. the bean instance(LoginBean) i created in another bean(LoginDataBean) which is for my database connection for client profile.this is the code & error message:
    CODE:
    package webclass;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import webclass.LoginBean.*;
    public class LoginDataBean
         private Connection cn;
         private PreparedStatement addRecord;
         public LoginDataBean()throws Exception
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              cn = DriverManager.getConnection("jdbc:odbc:portal");
         public void addClient(LoginBean log)throws SQLException
              addRecord.executeUpdate("insert into clientprofile(firstname,middlename,lastname,address,occupation,organisation,gender,email,username,password)values('"+log.getFNfield()+"','"+log.getMDfield()+"','"+log.getLNfield()+"','"+log.getAdresfield()+"','"+log.getOrgfield()+"','"+log.getEmail()+"','"+log.getUsername()+"','"+(String)log.getPasword()+"'");
              addRecord.close();
              cn.close();
    ERROR:
    cannot resolve symbol class LoginBean
    Location LoginDataBean public void addClient(LoginBean log)throws SQLException

    thanks, but look at the new code i modified still given error on not resolving the class LoginBean in the class LoginDataBean. here is the new code.
    package webclass;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class LoginDataBean
         private Connection cn;
         private PreparedStatement addRecord;
         public LoginDataBean()throws Exception
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              cn = DriverManager.getConnection("jdbc:odbc:portal");
         public void addClient(LoginBean log)throws SQLException
              addRecord.executeUpdate("insert into clientprofile(firstname,middlename,lastname,address,occupation,organisation,gender,email,username,password)values('"+log.getFNfield()+"','"+log.getMDfield()+"','"+log.getLNfield()+"','"+log.getAdresfield()+"','"+log.getOrgfield()+"','"+log.getEmail()+"','"+log.getUsername()+"','"+(String)log.getPasword()+"'");
              addRecord.close();
              cn.close();

  • Downgraded, created another instance, now two rogue windows open automatically in the new instance!!

    So I need to open another instance of Firefox so I can log onto other email accounts simultaneously with the first browser instance. I followed the directions and using profile creator, made another profile, and the sync worked (mostly).
    However, no matter what option I choose under:
    Options -> General -> Startup
    I get two ADDITIONAL tabs!!
    First one says
    "Download Firefox - Free Web Browser
    Second one says
    "PROFILE.COM"
    What gives???

    If you downgraded Firefox you are now on an unsupported version so please upgrade again and then we can try to help you.
    Ther are other alternative methods but the easiest method of logging in to more than one email acount is to open additional windows for the other accounts as ''Private Browsing'' windows e.g. use keyboard shortcut Sift+Ctrl+P
    * See [[Private Browsing - Browse the web without saving information about the sites you visit]]
    Does that suggestion help ?
    Please post back to say how you get on.
    '''Not updating Firefox is usually considered bad practice.'''
    * Please see the article [[Install an older version of Firefox]] <br /> That includes the links you need for old versions.
    * And glance at https://www.mozilla.org/security/known-vulnerabilities/firefox.html
    Once a new Released out and security fixes are made and publicised bad guys take advantage of the exploits and that puts your '''System and Personal Data at an increased risk. ''' <br />Those with strong reasons for using an insecure version and understanding the risks may take appropriate steps to mitigate the risk. Possibly using a Virtual Machine, maybe having a well rehearsed bare metal restore procedure.
    Perhaps if you say why you do not wish to upgrade we may be able to suggest a suitable way forward with an upgrade and some sort of workaround.
    Or are you talking as an administrator of a network of Computers, in which case a special Release of Firefox may be more appropriate.
    If the problem relates to Firefox 29 these articles may help
    * [[Learn more about the design of the new Firefox]]
    * [[What happened to the Add-on Bar?]]
    * [[How to make the new Firefox look like the old Firefox]]
    It may also be worth noting that Fx29 now respects the setting to not upgrade until you agree. Firefox 28 upgraded regardless of the setting if you used the ''about'' dialogue to check the version.

  • How do I create a second instance of oc4j in a standalone enviroment

    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Phil

    jphilb wrote:
    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Philgday Phil -- Melli Annamalai from the Oracle Server PM team pointed me to your question. I was an OC4J Product Manager before we bought out BEA and I swapped over to WLS -- so I have some information below that hopefully is of assistance to you.
    Since you are using OC4J standalone, the simplest way to get a second instance, is to just clone the existing, whole directory structure of your working OC4J instance into another directory, and configure/run it from that directory. To map the OracleSemDS to another target (QAR) you change the data-sources.xml file in the second instance. If you want to run them concurrently on the same server, you'll need to change the ports in the second instance so they have unique values: default-web-site.xml, rmi.xml, internal-settings.xml, jms.xml. These additional ports can be specified on the command line as a Java property string, albeit this is not a documented nor supported feature. See http://buttso.blogspot.com/2007/02/specifying-oc4j-standalone-ports-from.html for more information.
    Now as an example, assuming you have your OC4J you want to clone in the dev directory, and now want to create a second instance of OC4J in qar, I'd do this:
    cp -rp dev/* qar
    cd qar/j2ee/home/config
    vi data-sources.xml
    (edit any other files if needed to alter ports) ...
    cd ..
    java -jar oc4j.jar That should work, and should create the second instance using the current configuration (ie dev) as its basis (including deployed apps). Of course, you'll need to manage them independently from here as they really are just two separate OC4J standalone instances.
    Now what else you could potentially do is to create a secondary configuration file subset only which only changes the necessary files to support running the second instance. In this case, you'd make a copy of the j2ee/home/config/server.xml, j2ee/home/config/application.xml and j2ee/home/config/data-sources.xml files, renaming them to qar-server.xml, qar-application.xml and qar-data-sources.xml.
    Then do the following:
    1. In qar-server.xml file, you'd change the global-application application to point at qar-application.xml instead of application.xml:
    <global-application name="default" path="qar-application.xml" parent="system" start="true" />
    2. Change qar-application.xml so that it used the qar-data-sources.xml file:
    <data-sources path="qar-data-sources.xml" />
    3. Change qar-data-sources.xml file so it points to the qar database target.
    4. Start OC4J, telling it to use qar-server.xml instead of the default server.xml
    D:\java\oc4j-10135-prod\j2ee\home>java -jar oc4j.jar -config config/qar-server.xmlI think you could run into some concurrency problems if you try and run the two instances simulataneously, but in general it should be OK I think if you run them separately.
    Another solution here is look at how the application specifies/uses datasources. The hard coding of the data-source name into the applicaiton via a direct JNDI lookup works, but restricts the flexibility you as a deployer/administrator has.
    If the application used the Java EE resource-ref approach to look up and use the datasource, then the actual JNDI name of the datasource the application uses it totally abstracted from the actual physical name of the datasource that is created on the container -- so you'd have DEVDS and QARDS as physical datasources configured and running on OC4J -- and what happens is that as you deploy the application, you essentially map its lookup and use of OracleSemDS (which would need to change to a java:env/ namespace) to the physical datasource you want it to use (DEVDS or QARDS for example). You can easily alter this post deployment by changing the generated orion-application.xml file to point at the alternate physical datasource. Following that, you can also create separate deployment plans which map the app to the different datasources, then feed this in with the deployment operation so that the correct mapping to either DEVDS or QARDS is done during the deployment process.
    I don't know what scope you have to change the application so the above may not be possible -- you'd need to change the lookup code so that it uses the Java EE reference model and change the meta-inf/application.xml to add the corresponding resource-ref entry which declares the logical datasource name that needs to be mapped on deployment.
    Another approach here may be to use an application embedded datasource, where you put a data-sources.xml file into the application archive itself (along with an orion-application.xml file which references it) whereupon at deployment time, a datasource specific to the application will be created. In this manner, you'd have say two copies of the same application to deploy (DEV, QAR) which contain different data-sources.xml file. From memory, each application will have its own JNDI namespace so their datasources can co-exist with the same names, with application level data-sources overriding server level ones. Since you'll most likely want to keep the same context-root for the web modules (which has to be unique per server) you'll generally need to run just one of the applications at a time. I'd do this like this: deploy one, stop it, deploy the other, stop it, then start only the one you need to test. In that way, you'll have one copy of the application running (either DEV or QAR) and one datasource definition running within it.
    Here's some documentation links to get you going:
    Managing Application Lifecycle (start, stop): http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13978/adminclient.htm#BABHJAFE <-- describes admin_client.jar but general principles apply to ascontrol management of application.
    Packaging and Testing Applications: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13979/packag.htm#BHCFBEEC
    Application Level DataSources: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/datasrc.htm#CHDIBFHG
    Using Deployment Plans: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13980/deployplan.htm#CHDFEFAE
    cheers
    -steve-

  • Problems While Creating A Oracle Instance In Windows 7

    Hi All,
    I am trying to create a primary standby configuration in windows 7. When I am trying to create a oracle instance using oradim I am facing the below issue:-
    I am using Oracle version 10.2.0.1.0.
    C:\>ORADIM -new -sid STDBY -SRVC OracleServiceSTDBY -STARTMODE auto -SRVCSTART s
    ystem -SPFILE;
    DIM-00003: An argument is missing for the parameter.
    I am not sure which parameter is missing. can you help me in this..
    Regards,
    Arijit

    Hi Abdul,
    I did the same thing mentioned by you but now I am facing some different error:-
    C:\>ORADIM -edit -sid STDBY -STARTMODE manual -SRVCSTART system -pfile E:\Arijit
    \oraclestby\dbs\initstdby.ora;
    DIM-00077: Failed to change service configuration.
    O/S-Error: (OS 5) Access is denied.
    When I tried the first step I am getting another error:-
    C:\>oradim -edit -sid STDBY -startmode auto -srvcstart system
    DIM-00077: Failed to change service configuration.
    O/S-Error: (OS 5) Access is denied.
    Please suggest.
    Regards,
    Arijit

  • Problems when creating a new instance of an Input parameter for a REM

    I am working in a small demo which calls a Remote Enable Function Module in order to read data from the back end system. Since the function module I need to call ("BP_BUPA_SEARCH_BY_USER") is not Remote Enable I created a copy of it and made it Remote Enable ("Z_BUPA_SEARCH_BY_USER"). I have created the model within webdynpro without any problems but when my application reaches the line where I create a new instance of the object Z_Bupa_Search_By_User_Input (see below the source code), just before to call the remote function, the application stops there. I have exactly the same code in another bapi calls and it works fine. I am wondering if my problem has anything to do with the fact the function module i am calling is the function module I created. Any advice is very welcome.
    Regards,
    Diego.
    Source Code:
    msg.reportSuccess("------>>>");  "THIS LINE IS PRINTED
    Z_Bupa_Search_By_User_Input searchByUser =
    new Z_Bupa_Search_By_User_Input();  "PROGRAM STOPS HERE          
    msg.reportSuccess("<<<------");  "THIS LINE DOES NOT                
    wdContext.nodeZ_Bupa_Search_By_User_Input().bind(searchByUser);
    msg.reportSuccess("<----
    msg.reportSuccess("if (Internet_User != null)");
    if (Internet_User != null) {
    Usselmodbe ir_user = new Usselmodbe();
    ir_user.setSign("I");
    ir_user.setOption("EQ");
    ir_user.setLow(Internet_User);
    searchByUser.addIr_User(ir_user);

    Hi,
    Try to get some more error info, e.g. like this:
    try {
    Z_Bupa_Search_By_User_Input searchByUser =
    new Z_Bupa_Search_By_User_Input(); "PROGRAM STOPS HERE
    } catch (Exception e) {
        msg.raiseException(e.getMessage(), true);
    msg.reportSuccess("<<<------"); "THIS LINE DOES NOT
    good luck,
    Roelof

  • Tried to upgrade from firefox 3.6.2 to 3.6.3, error message says another instance of firefox is running, then 3.6.2 opens. This occurs when i start firefox after restarting the computer, or when i try to install the upgrade

    Whenever i try to open firefox, i get a message that firefox cannot install the upgrade because another instance of firefox is running. Then firefox 3.6.2 will start. running windows 7 64 bit. This will occur every time i try to open firefox, after rebooting or any time i close it and reopen firefox.
    == This happened ==
    Every time Firefox opened
    == I Ok'd the upgrade from 3.6.2 to 3.6.3

    Do a clean (re)install and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • PS2013 - When creating a new instance of Project Server hangs in 'Waiting for resources' status

    Hi,
    I have one instance of Project Server 2013 fully operational and I tried to duplicate the instance to make some tests. As I know the issue of using the same Content Database of Project Server in the same Server Farm, I used the powershell  backup/restore/dismount
    and mount the content database to change the site IDs to avoid index duplication. The Project server database was a regular SQL backup and restore in another database.
    I created a new Web App in the port 90 as show below.
    Then I included the Content database of Project Server as separated DB from SharePoint for this new SharePoint -acme90 and I tried to create the new instance. The creation hanged in "Waiting for Resources" status.
    To make another check excluding the reuse of the SharePoint-80 I tried to create another instance both in the SharePoint-80 where is the working instance and in the SharePoint-90, everything default and again they all hanged in Waiting for Resource.
    If I try to create the instance using PowerShell I got the following error:
    PS C:\Users\epm_setup> Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCo
    llection http://acme02/epm -Lcid 1046
    Mount-SPProjectWebInstance : Cannot find an SPSite object with Id or Url:
    http://acme02/epm.
    At line:1 char:1
    + Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCollection
    http://acme02/ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Offic...ountPwaInstance:
       PSCmdletMountPwaInstance) [Mount-SPProjectWebInstance], SPCmdletPipeBindEx
      ception
        + FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletM
       ountPwaInstance
    All SharePoint and Project Server services are running, all App Pools and sites are started at the IIS. I could not find a hanging timer job.
    I cannot stop the hanged process or dismount the instances using Powershell since no instance created.
    How should I solve the hanging status of creation of the instance? As they are in Hyper-V I can go back using one snapshot.
    Thank you.
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

    Hi Eric,
    Thank your for your interest in this case.
    I checked for running and crashed PWA jobs and deleted all of them just after restoring the snapshot and tried to create the new instance in the new web app in port 90 (besides the existing and working instance in port 80), but again it hanged in "waiting
    for resources". There is not any timer job hanging, no error in event viewer or in log. So the error is well before working with cloned dbs.
    Answering your questiion, I am working all on 2013. My intention is backup one instance of the port 80 and copy to the instance of port 90, changing of course the url and the index of the content db of SharePoint. The process I used was:
    Create a new web app in port 90, creating a new SharePoint_Content_2 on a
    http://server:90 site.
    Created the top level site called Portal using the Team Site template.
    Create a new content db for new instance of Project Server named EPM_Content_2 using Central Admin.
    Backup content db from port 80 instance of Project Server and restore to this EPM_content_2 using PowerShell cmd.
    Dismounted and mounted this Project Server content db to create new index for existing sites to avoid index conflicts.
    Backup the Project Server DB from port 80 using SQL backup and restored as ProjectWebApp2 db for port 90 instance.
    Tried to create a new instance of Project Server
    http://server:90/pwa on web app of port 90 using the ProjectWebApp2 db and using the same app pool of the other instance. But as in the previous case, it hang out in "Waiting for resources".
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

  • Instead of creating multiple Instances I want to create only one Instance.

    Hi Everyone
    Good morning, How are you.
    I have a requirement to transfer files from one location to another location, I am able to do this successfully using FTP Adapters.
    I have some Issues please help any one.
    1) When I deployed my process it is creating one instance for one file transfer, Suppose If I have 50 files in my Get
    directory, After deploy the process 50 instances are creating and 50 Email generating saying files are not tranfered successfully.
    Instead of creating 50 Instances I want to create only one Instance.
    2) When files are not transferd it will fire error mail saying that not success (I want to display all file names(not tranfered files) in my mail , i.e whatever files are not tranfered, need to diplay in mail).
    3) And I am not able to transfer 0 size files, But in BPEL Console Instance is creating for 0 size file also and I am getting Email for success... and In put directory 0 size file is not showing. (Instance is creating and Success Email coming but file is not exists in Put directory)
    Please help me.
    Regards
    Venkat
    Edited by: user10263255 on Oct 1, 2008 8:10 AM
    Edited by: user10263255 on Oct 1, 2008 9:15 AM

    Hi Dharmendra,
    Thanks for your reply.
    I am not able to see any thing about singleton process in mentioned URL.
    Can you please provide me the another URL or please paste here about singleton process .
    Thanks in Advance.
    Regards
    Venkat

  • Create a second instance by DBCA

    I have a simple RHEL3 box with 1 G memory, I had used the DBCA to install a database, 10g r2, on it. How can I use the DBCA to create a second instance on the same DB? Someone´s thread said it can, But when I run the dbca, there is no place I can pick to create second instance, all I have is to create another database and next. My oracle was 10g r2 (10.2.0.1) SE1 version downloaded from Oracle. Is a problem with my original download copy or setup of the dbca? Thx.
    Chi

    Thanks Kuljeet. I think I missed that part of fundamentals. So how about the second schema vs second instance? Some users said that the second instance will need more overhead for oracle structure. and many experienced users said that second schema on the same instance is bad idea. The reason I want is to separate the test part of the database operation to a second environment (not sure it is a good word). So the management of Oracle will be simpler. My 10g r2 is part of BAAN erp application, BAAN uses Oracle as a data/index storage only, Most of the processes is around running SELECT, UPDATE and INSERT sql (developed from BAAN´s 4G script). No procedure, no function, no trigger or any other involved. However, during the set-up of the BAAN, contractor created a test set of database, then repeated the data/index tables to a prod set. So that our BAAN users can test some processes and move that processes to prod.

  • Creating New Entity Instances within OPA

    This is another one that I think I know the answer to, but I think it is best to confirm.
    In prior versions, it was not possible to create entity instances within RuleBurst/Haley Office Rules. Is that still the case in OPA?
    For example, my rules are determining the status of a case and the reason(s) why that status was determined. The case status may be Denied and the reasons may be "invalid customer Id", "expenses to income ratio too high", "primary customer not employed long enough", etc. I want to return all the reasons for the status. While the list of reasons is pre-determined, the ones that apply to a particular case are dynamic, as any, but not all can apply.
    Given this situation using a database, I would create an instance of reason for each applicable one and link it to the case. In the past, with OPA's predecessor(s), it was not possible to create new instances from within. They either had to all be passed into the rulebase or a list of all allowable reasons attributes had to be created and then set to true for the ones that applied.
    My preference is to create the instances inside OPA. Is that functionality provided in the current version?
    Thanks,
    Terry

    Hi Terry,
    Michael is correct that you can't write rules at design time which will dynamically create new entity instances at runtime. However, perhaps the new inferred relationships functionality in v10 could address what you're trying to do.
    You can write rules which conclude membership of an inferred relationship. So you might always have, say, 10 instances of 'the reason' in every case, but as for which of those instances apply in any particular case, it depends on the details of the case. You could use an inferred relationship to collect up the entity instances which apply in the case.
    First you'd need to set up a regular one-to-many relationship to instantiate the 10 instances at runtime - this would be done in the usual way. Then you'd also need to set up an inferred relationship and write rules to conclude the members of the inferred relationship. The instances which are members of the inferred relationship are then effectively the list of entity instances you wanted to create in your example above.
    Have a look at this OPM Help article: http://www.oracle.com/technology/products/applications/policy-automation/help/opm10_1/Content/Rules%20using%20entity%20instances/Reason_about_relship_between_2_entities.htm
    Cheers,
    Jasmine

  • SharePoint 2010 creates a new instance for SharePoint server.

    I have installed SP 2010.My env is Windows server 2008 R2 and SQL 2008 r2 (10.50.1600). When I install the SP 2010,
    configuration wizard (Start the SharePoint Products Configuration Wizard) directly goes to configuration wizard and installed SP 2010 server successfully.
    It skips the below Manual configuration.
    1. Specify Configuration DB settings
    2. Specify Farm Security settings.
    3. Configure CA Web Application settings. etc...
    So I get the new SQL instance with the name <MachineName>\sharepoint.
    This new Instance is looking SQL 2008 version(10.0.2531).
    Now I face the below issues,
    1. When I restore DB backup, i get the compatability issue 
    2. Unable to restore the SP2010 site which is backuped from SQL 2008 r2 (10.50.1600) has 9GB size.
    3. Unable to extend the DB size from 4096 MB. 
    How to avoid create new SQL instance with the name <MachineName>\sharepoint and install in SQL server default <MachineName> instance?
    Loganathan S

    Hi Paul
    stork,
    thanks for the help. Now I have another Two questions. I'm search service application in SP 2010. It works fine when I search data from home sites it works fine.
    1. When I search from within sub-sites i don't get any search results. What mistake I have done here?
    Second question from Restore spsite...
    2. When I restore the site in 80 port, the search service does not crawl and pick the new properties from the restore site. But when I restore the same site in another port<8080/8099/etc>  the search service does crawl and pick the new
    properties from the restore site. Why the service not working in 80 port.?
    Note: I have checked with 3 test env my bak file. but all the 3 env gives same result.... 80 port  does not crawl and pick the new properties.
    Loganathan S

Maybe you are looking for

  • After upgrading to Mountain Lion Quicktime doesn't work

    I have a 2009 macbook pro and just updated to mountain lion and now all my limewire movies that are in AVI format wont play on quicktime but they will play on FLV. I didnt have this problem before i upgraded. any help would be great!

  • High Frequency Noise from Headphones Out Jack

    I have isolated the following issue to audio that is monitored via the headphones output on the back of my iMac: I've been encountering a very high-pitched (and at times a cycling through high frequencies) noise when working with headphones to monito

  • How to turn on vacation (away) message from iPad?

    I can't seem to get to the mobile me site to set an absence greeting. Is there some way of doing this?

  • Are New CD-R's Incompatible w/iMac?

    Hi All, Two new Verbatim CD-R 52X discs failed to complete a Backup burn. I had an older Verbatim CD-R 48X disc, tried that, and it worked. Are the new 52X discs incompatible with the CD drive in my iMac? I successfully burned 100 photos from iPhoto

  • Centering layout and Z-Indez

    I have been having a difficult time debugging why my layout will not center in the browser window. The CSS for body and wrapper are: body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: center; margin: 0px; padding: