Two apex instances on one machine

I am trying to create two apex instances using the embedded PL/SQL gateway on a single machine. I have two database instances up and running, one for development and one for production. I successfully installed apex 3.2.1 on the development instance, created some simple apps and everything seems to work as advertised, running from port 8080.
I installed 3.2.1 on my other instance and everthing went fine until I had to create a way to connect. My
select dbms_xdb.gethttpport from dual;
returned zero, so I knew I had to set a port to wake up the network services on the instance. That's where I have my question. I cannot find out whether I need to use port 8080 and somehow separate my apex instances based on the DAD or if I should use a separate port for each instance. I tried setting the httpport to 8090 on the new install and my listener shows it active, but when I hit it, I cannot get a response with ~/apex/apex_admin - just a browser password dialog.
The apex environment on the development install continues to work fine, responding to ~:8080/apex/apex_admin.
I am guessing that I have a logical gap somewhere. Where can I read about how to manage this kind of setup?
Thanks,
Brandt

Brandt:
You want to check if a DAD named 'apex' is configured in the Oracle instance where you have the http port set to 8090.
Login to this instance as the sys user and run this bit of pl/sql. It will display all DADS and their mappings
SET SERVEROUTPUT ON SIZE UNLIMITED
DECLARE
  pths  DBMS_EPG.varchar2_table;
  dads DBMS_EPG.varchar2_table;
BEGIN
  dbms_epg.get_dad_list(dads);
  for i in 1..dads.count loop
    DBMS_EPG.get_all_dad_mappings (
       dad_name => dads(i),
       paths    => pths);
    DBMS_OUTPUT.put_line('Mappings for DAD'|| dads(i));
    FOR j IN 1 .. pths.count LOOP
       DBMS_OUTPUT.put_line(pths(j));
    END LOOP;
end loop;
END;Varad
Edited by: varad acharya on Sep 10, 2009 6:53 AM

Similar Messages

  • Two ASM instance on one machine

    Can we have two ASM instance on one machine ? My Manager is saying he is positive and I don't have anything to show him that we can not do that. Is there any link, document anything available for this ?
    Thanks

    Keyur,
    This is an interesting question. I have seen references where in it clearly says that only one ASM instance is required per node irrespective of number of databases on a node. But, I haven't seen a clear indication, wherein it is mentioned that you can't start more than 1 ASM instances on a node. Therefore, I thought, I would give it a shot, by attempting to bring up a second ASM instance and here is what I get:
    SQL> startup nomount pfile=init+ASM5.ora
    ORA-00304: requested INSTANCE_NUMBER is busy
    SQL>
    If I shutdown my ASM1 (first ASM instance) then it allows me to bring up the ASM5 instance. This leads me to believe that you can't startup up more than one ASM instance on a single node.
    Here is a note, which mentions that you need only one ASM instance per node. https://metalink.oracle.com/metalink/plsql/docs/ASM%20best%20practices.pdf
    Thanks
    Chandra

  • Question on Oratab file when installing two Oracle instances in one machine

    OS: AIX 5.3
    DB version:10.2.0.1.0
    I already have an instance of version 9.2 which is very important and which we don't want to upgrade and we wanted another test(unimportant) oracle instance called testdb_10gR2 of version 10.2.0.1.0 on the same machine.
    So i installed 10.2.0.1.0 on a different ORACLE_HOME .Installation of the new 10.2.0.1.0 (testdb_10gR2) went ahead successfully and at the last step i have to log in as root and execute root.sh
    I entered 'n' for the options "dbhome", "oraenv", "coraenv" as shown below so that the settings for our 9.2 instance (which is very important) will remain intact.
    What would have happened if i entered 'y' ie. Overwrite ?
    The following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME=  /u04/testdb_10gR2_Feb2009
    Enter the full pathname of the local bin directory: [/usr/local/bin]: /usr/local/bin
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: n
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: n
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: n
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    During installEdited by: Citizen_2 on Jan 30, 2009 5:05 AM

    'dbhome','oraenv','coraenv' are sripts used to set a proper environment (see the descriptions at the beginning of these scripts). These scripts rely on oratab (they check for existing SIDs), but answering 'Y' does not mean you will modifiy an existing oratab.
    I think these scripts change rarely, so it's very likely overwriting the existing 9i scripts with the 10g scripts changes nothing. To be honest I don't use the scripts , so in my case 'Y' or 'N' doesn't matter. But important is you don't have to worry about 'oratab'.
    Werner

  • How to install more than one instances on one machine

    Hi ALL,
    I want to install more than one instances on one machine, but i am a freshman on SAP field. How and where can i get the related infomation for that? thank you very much !!

    Hi tieyan,
    Glad the information was of some help.
    For Windows, there is an older note <a href="http://service.sap.com/sap/support/notes/28392">28392</a> that has some more information. It is important also that the SAP parameter PHYS_MEMSIZE is sized correctly according to note <a href="http://service.sap.com/sap/support/notes/88416">88416</a> (the bottom of the note gives some examples). For example, if there were two central instances and the two Oracle database instances on one host, PHYS_MEMSIZE for both instance profiles (of the central instances) would be 35% of the RAM (1/2 of 70%). In the case of MSSQLSRV 2000, for PHYS_MEMSIZE you would refer to the scenarios of note <a href="http://service.sap.com/sap/support/notes/327494">327494</a>.
    If you ever want to thank somebody else for helping in answering a question, the <a href="https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement">Rules of Engagement</a> has a section 'Thank Others by Giving Points' that explains this further.
    Regards, Mark

  • Two Instances on one machine questions

    I need to install about 4 db instances on one windows machine for the start of a peoplesoft migration. I am not interested in grid computing.
    I know I need to have multiple ports for the oem's but how do I sign on to the correct database when doing rman/, sqlplus and other common functions?
    I am particularly concerned with upgrades and running opatch .
    How do I set "ENVIRONMENT VARIABLES" when there are two oracle_sids?
    I am starting to think 4 small boxes may be better?
    Any advice?
    THANKS!

    There are two ways of setting the environment variables in WIndows:
    command line (valid for that command line window only)
    set {env var}={value}
    eg: set ORACLE_SID=abc
    system wide (valid for everything, and therefore may interfere if not unset when not in use)
    Start > Settings > Control Panel > System > Advanced > Environment Variables
    If you are attempting to create a second database in the same Oracle Home, consider using the steps here

  • Two SAP installation in one machine

    Dear Experts
    SAP ECC6 EHP4 READY
    DB2
    HP-UX
    i have a requirment to install DEV and QAS server in single server. i already installed the DEV server. now i need to install the QAS server my query is what the prerequisite i need to fallow before starting the QAS server installation. and i there any file which need to be modifi. ITS my first time to work on this kind of landscape. kindly guide me.
    i have the below file system.
    /sapmnt/DEV
    /db2/DEV/sapdata1
    /db2/DEV/sapdata2
    /db2/DEV/sapdata3
    /db2/DEV/sapdata4
    /db2/DEV/saptemp1
    /db2/DEV/db2dump
    /db2/DEV/log_dir
    /db2/db2dev
    /db2/DEV/db2dev
    /db2/log_archive/
    /db2/log_retrieve
    /db2dev
    /usr/sap/DEV/DVEBMGS00
    /usr/sap/trans
    /sapmnt/QAS
    /db2/QAS/sapdata1
    /db2/QAS/sapdata2
    /db2/QAS/sapdata3
    /db2/QAS/sapdata4
    /db2/QAS/saptemp1
    /db2/QAS/db2dump
    /db2/QAS/log_dir
    /db2/db2qas
    /db2/QAS/db2qas
    /db2qas
    /usr/sap/QAS/DVEBMGS01
    /sapdump
    thanks/regards
    sadiq

    Dear Sadiq,
    From DB point of view there is no problem to install two separate databases     
    of DB2 on one machine. The DB2 source files are installed into different directories and will not                      
    impact each other.
    After installing the software, the DB2 instance called "db2<SID>' is   
    created with the DB2 version you choose. The installation procedure    
    depends on the SAP release.                                            
    Whether of not your machine is able to handle both systems running on one server depends on         
    the hardware and settings.                                             
    Regards,
    Paul

  • Installing two OBIEE instances on One RCU Schemas

    Hello ,
    I need some help.
    I am planning to install Database(DB1) on one machine and OBIEE(OB1) on the other machine and OBIEE 2(OB2) will be my back up machine for disater recovery.
    First i will install OB1 by using the DB1 and that works fine.
    now i can i use the same DB1 for installing OB2.?
    if not please suggest me a way to make this work.
    Please help me out
    Thanks.

    Hello,
    While it is possible to share the MDS schema,
    you have to create one BIPLATORM schema for each instance you install !
    You can refer to http://docs.oracle.com/cd/E23943_01/bi.1111/e10539/c3_requrmnts.htm#BABBICDA for details...
    Kind Regards,
    Roman

  • Can i have two iTunes accounts on one machine

    i have recently moved in with my partner and we both have our own iTunes accounts. is there a way to have both these accounts linked so that they can be kept seperate and still sync them both to our iPhones from one iMac. it is important that they are kept seperate as we have verry different tastes in music i want to be able to re split them should i need to.

    alfont01 wrote.
    my Question was if its possible to link two iTunes accounts to one OSX user account?
    iTunes accounts are not linked to an OS X user account..

  • Multiple Apex Instances for ONE listener

    Hi All,
    ENV:
    1) Weblogic 10.3.5 hosting Apex Listener
    2). Front END HTTP server for SSO
    So... Apex request ---> HTTP SERVER AT Port 7777 ----> Apex Listener with weblogic.
    So the question is:
    1) is it possible to HOST another APEX INSTANCE on the SAME SERVER using this existing listener?
    Sorry, if its vague , let me know.
    thanks

    ENV:1) Weblogic 10.3.5 hosting Apex Listener
    2). Front END HTTP server for SSO
    So... Apex request ---> HTTP SERVER AT Port 7777 ----> Apex Listener with weblogic.
    So the question is:
    1) is it possible to HOST another APEX INSTANCE on the SAME SERVER using this existing listener?
    Sorry, if its vague , let me know.>
    ApexListener version?
    Possible with 2.0EA, not earlier versions.
    Cheers,

  • Install two Process Server on one machine

    Hi everyone,
    I would like to install two Process Server on only one server (machine). This machine will be use for two different environnements?
    Do you think it's possible? and what would be the impact about this kind of installation?
    If it's possible, the port used by the two Process Server will not be in conflict?
    Thanks,
    Regards,
    Jean-Christophe

    Hi,
    With software trees I meant software installation directory trees, so say:
    - /opt/redwood/dev for your development process server and
    - /opt/redwood/test for your test process server
    If you install in two different directories like above, because you want to be able to do independent upgrades, then it is recommended to have two network agents too on different ports, so these can be independently upgraded too. For future reference it then helps to name the services rwna_dev and rwna_test respectively in the above directory example.
    If you need to run two process servers on the same box but connecting to the same repository, then you can use one software installation (f.i. /opt/redwood/server) and you need only one network agent.
    Regards,
    Anton.

  • Two clusterware homes on one machine?

    I want to install a test environment for 11g RAC.
    I have a test environment with 10g RAC, and to avoid requesting new machines I want to install 11g on same two nodes.
    I know that I can have 10g and 11g databases on top of 11g clusterware, but I want to do something a bit different.
    I'd like to have 11g DB on 11g clusterware and 10g db on 10g clusterware, by installing two clusterwares in two different clusterware homes on the same machine.
    Any reason this will not work?

    Well clusterware exists on disk as a set of files and entries in confguration files etc. you'd have to rename - /etc/oracle and also poke about inside /etc/inittab amongst other changes.
    It would be easier to base your system on Oracle Clusterware 11g
    Philip...

  • Two persistent routes on one machine

    Hello experts
    in may workstations and server i have seen two Persistent Routes:
    i have one gateway and i don't know why i have two persistent routes" it exist on windows 7,8,2012, on servers and on workstations, on virtual (on Hyper-V) and hardware.
    i have deleted the routes and then add new one. after it show one. but it is in my all corporate network workstations and server. i don't know where from it? and what can i correct it?
    what bad reasons can it bring ?

    in this example there is one network interface.
    PS C:\Windows\system32> route print
    ===========================================================================
    Interface List
    15...00 15 5d c8 3d 39 ......Microsoft Hyper-V Network Adapter #3
      1...........................Software Loopback Interface 1
    13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
    ===========================================================================
    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0    192.168.200.1   192.168.200.77    261
            127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
            127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
      127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
        192.168.200.0    255.255.255.0         On-link    192.168.200.77    261
       192.168.200.77  255.255.255.255         On-link    192.168.200.77    261
      192.168.200.255  255.255.255.255         On-link    192.168.200.77    261
            224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
            224.0.0.0        240.0.0.0         On-link    192.168.200.77    261
      255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      255.255.255.255  255.255.255.255         On-link    192.168.200.77    261
    ===========================================================================
    Persistent Routes:
      Network Address          Netmask  Gateway Address  Metric
              0.0.0.0          0.0.0.0    192.168.200.1  Default
              0.0.0.0          0.0.0.0    192.168.200.1  Default
    ===========================================================================
    IPv6 Route Table
    ===========================================================================
    Active Routes:
    If Metric Network Destination      Gateway
      1    306 ::1/128                  On-link
      1    306 ff00::/8                 On-link
    ===========================================================================
    Persistent Routes:
      None
    PS C:\Windows\system32>

  • IPhoto '09: Two Facebook users on one machine

    Hello,
    My wife and I each have a Facebook account. When I want to upload pictures on my Facebook page, I get an error message saying iPhoto cannot connect to the social network. This happens afer a session where my wife added pictures in her own Facebook account. Then, I have to reenter my Fb username and password in iPhoto.
    When my wife wants to upload pics to Facebook, she has to deal with the same situation.
    Is there something we're not doing the right way? Can't we just provide both accounts' details in iPhoto and live a happier life???
    Thanks!

    Thanks for the reply.
    I'm sure there would be a better way to ask an user to provide the necessary authentication information, instead of the actual error message...
    Maybe someday Apple will consider the fact that more than one member of a family can use a computer and online services.
    But I appreciate the reply. Thanks

  • Possible to install two groupware connectors on one machine/system?

    Hi gurus,
    we want to save the money for a new machine, so I'm currently looking to get a second groupware connector installation done on the same machine. Anyone having experience with that? Is it even possible?
    The setup.exe does not really offer to do a second groupware connector installation for exchange. Even if that would be possible I fear the created services for our machine (SAP MS Exchange Groupware Connector 2.1) will be overwritten by the second installation?
    Torsten

    Torsten,
    I know from how the Lotus Notes version of the connector works, it just wouldn't work because of how it uses the Lotus Notes libraries.  For exchange I'm not sure if there is as tight of integration.  The connector is relatively light weight, so have you considered piggy backing it on another box such as a SAP webdispatcher or something else.  You could also look at using a VM as the requirements for the connector aren't that much for a test system.
    Take care,
    Stephen

  • ASCP One instance with two source instance

    Hi,
    We are in a position to work with two source instances and One APS (ASCP) instance (Decentralized).
    What are all the setups we need to do in 1. Admin > Instances 2. Profile option and other
    Appreciating your valuable answers
    - Ramesh

    Using administrator responsibility, first create 2 instance partitions.
    Then using the instances screen, create the 2 instances. Make sure you have setup the db links prior to that.
    Then assign appropriate orgs to the 2 instances.
    After that, the remaining setups (such as DC, defining plans etc.) should be repeated for instances.
    Hope this answers your question
    Sandeep Gandhi
    Independent Techno-functional Consultant

Maybe you are looking for

  • Jerky playback of 1080p files

    When trying to play back HD video captured with my Canon S1X, playback through QT is subtly jerky at actual size. When I decrease the window size, or strangely enter full screen, playback becomes smooth. Processors are barely working. Frame rate says

  • Itunes does not start anymore after upgrade to 6.05.20

    I upgraded itunes to the current version and after that itunes does not start anymore. I scanned for virus with an up-to-date scanner, scanned for adware with Windows defender and ewido and used the tips from http://docs.info.apple.com/article.html?a

  • Missing libraries

    Installed 8.1.5 EE on Redhat 6.1. When I attempt to make the demos in $ORACLE_HOME/rdbms/demo, I get an error that libskgxpd.a cannot be built. Its not in $ORACLE_HOMOE/rdbms/lib, where it should be. Anyone seen/solved this? Thanks!

  • DV Start/Stop detect with iMovie

    http://discussions.apple.com/thread.jspa?forumID=936&threadID=557928 Because this thread was marked solved I can't add to it. I think the problem is the rendering as you surmised. There is no way to fix this problem because of the way iMovie works. I

  • Linksys Router WRT54G

    I reset my router today and when I go through the setup it asks for a password when it checks my computer settings I have no idea what password it wants so I try everyone I know, No dice. Is it asking for the password that came in th box or something