Multiple listeners in Weblogic

Hi:
Can I deploy multiple Apex listeners pointing to different Databases in the same Weblogic server? Is there any documentation or OTN Notes on this?
Regards
David

You don't need multiple domains to run multiiple listeners. This is exactly what we are doing in or development environment.
As mentioned by Udo, you need to have a different config dir configuration for each apex.war deployment in WebLogic.
For example, you may have two development databases. DEV1 and DEV2
copy the apex.war file twice and rename to apex_dev1.war for the DEV1 instance and apex_dev2.war for the DEV2 instance.
Unzip/unjar the file and modify the web.xml file as follows in apex_dev1.war:
<context-param>
<param-name>config.dir</param-name>
<param-value>${apex_dev1.dir}</param-value>
</context-param>
Unzip/unjar the file and modify the web.xml file as follows in apex_dev2.war:
<context-param>
<param-name>config.dir</param-name>
<param-value>${apex_dev2.dir}</param-value>
</context-param>
In the WebLogic console go to the Server configuration->Server Start tab and under the Arguments section enter the following (or wherever depending on your environment):
-Dapex_dev1.dir=/ora/Middleware/user_projects/applications/apex_dev1_config;-Dapex_dev2.dir=/ora/Middleware/user_projects/applications/apex_dev2_config
You must create bothdirectories first before starting the server.
Deploy the new war files via the console in Weblogic and then goto /apex_dev1/listenerConfigure and configure it for the appropriate database. Do the same for apex_dev2.
This way you will know which DB you hitting via the URL.
good luck.

Similar Messages

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • How to specify multiple listeners in the init/spfile

    hi experts,
    can u explain me How to specify multiple listeners in the init/spfile ?

    you do not specify linsteners in spfile.
    The easiest way to configure more listeners is to use Net Configuration Assistant tool.

  • Question about multiple listeners and vip addresses in rac.

    We have a 2 node rac cluster running 10.2.0.3 on rhel4 on the itanium platform. We have a need where we want to connect the 2 hosts up to another network temporarily by configuring an additional network interface on each server so that we can test some connections from a different network.
    My question is can you configure multiple listeners on the same server in which the newly added listener can be configured to service requets on the new network interface?
    Because it's rac would you need to configure an additional vip address? I am not sure that you can have multiple vip's on a server?
    Has anyone configured rac in such a way, any help is appreciated.

    can you configure multiple listeners on the same server in which the newly added listener can be configured to service requets on the new network interface?Yes, you can but you should not be doing this. Listener is a node specific resource and one listener can server multiple services. You actually can create multiple services within the database for different set of users and all can be registered to the same listener.
    Because it's rac would you need to configure an additional vip address? What do you mean by additional IP?
    You have installed 10g RAC where you have already configured virtual IPs. Why do you want to have additional one? node1 - static ip1, vip1, pvtip1
    node2 - static ip2 vip2, pvtip2
    total 6
    I am not sure that you can have multiple vip's on a server?Nothing to do with the server, they are based on public IP. Yes you can create multiples vip's based on same public IP. This is possible, But you do not need to do this in RAC environment.

  • Multiple instances of weblogic pointing to same public_html

    Hi,
    I am using Weblogic 5.1 and have successfully set it up to start multiple instances
    of weblogic from one weblogic server(each instance has its own unique port).
    Currently I have multiple instances of public_html (one for each instance). Does
    anyone know what I have to do to point all instances of weblogic to a common public_html?
    Many thanks in advance
    Dipen

    create a symbolic link that is called public_html that points to the common
    docroot.
    "Dipen" <[email protected]> wrote in message
    news:3b7cf1bf$[email protected]..
    >
    Hi,
    I am using Weblogic 5.1 and have successfully set it up to start multipleinstances
    of weblogic from one weblogic server(each instance has its own uniqueport).
    Currently I have multiple instances of public_html (one for eachinstance). Does
    anyone know what I have to do to point all instances of weblogic to acommon public_html?
    >
    Many thanks in advance
    Dipen

  • Configuring multiple instances of weblogic server 7.0 on single machine

    Hi,
    I am trying to configure multiple instances of weblogic server 7.0 on single machine
    ( sun Solaris 7). I tried to create everytime new domain. Can anybody help me.
    Thanks in advance.
    Ravi

    You can have several servers under one domain. No need to create a new
    domain for each server. Just configure a server and make sure they are
    listening on different ports. you are all set.
    Kumar
    ravikiran wrote:
    Hi,
    I am trying to configure multiple instances of weblogic server 7.0 on single machine
    ( sun Solaris 7). I tried to create everytime new domain. Can anybody help me.
    Thanks in advance.
    Ravi

  • Multiple listeners on Oracle 9i instance

    Hi,
    i am having problems starting multiple listeners in an Oracle 9i instance. The contents of the listener file is
    # LISTENER.ORA Network Configuration File: /lsq2/app/oracle/product/9.2.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LSNR_LSQ=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=traindb3-lsq)(PORT=1541))
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    (ADDRESS=(PROTOCOL=IPC)(KEY=CMDP))
    (ADDRESS=(PROTOCOL=IPC)(KEY=RT1))
    (ADDRESS=(PROTOCOL=IPC)(KEY=DM1))
    (ADDRESS=(PROTOCOL=IPC)(KEY=BOB))
    (DESCRIPTION=
    (PROTOCOL_STACK=
    (PRESENTATION=GIOP)
    (SESSION=RAW)
    (ADDRESS=(PROTOCOL=TCP)(HOST=traindb3-lsq)(PORT=2481))
    STOP_LISTENER = YES
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 20
    SID_LIST_LSNR_LSQ=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=extproc32)
    (ENV='GBPATH=/lsq2/home/cmdp/GB/nr')
    (SID_DESC=
    (GLOBAL_DBNAME=CMDP)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=CMDP)
    (SID_DESC=
    (GLOBAL_DBNAME=DM1)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=DM1)
    (SID_DESC=
    (GLOBAL_DBNAME=RT1)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=RT1)
    (SID_DESC=
    (GLOBAL_DBNAME=BOB)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (SID_NAME=BOB)
    (SID_DESC=
    (GLOBAL_DBNAME=truat1)
    (ORACLE_HOME=/u01/app/oracle/product/9.2.0)
    (SID_NAME=truat1)
    (SID_DESC=
    (GLOBAL_DBNAME=tradev1)
    (ORACLE_HOME=/u01/app/oracle/product/9.2.0)
    (SID_NAME=tradev1)
    (SID_DESC=
    (GLOBAL_DBNAME=tratest1)
    (ORACLE_HOME=/u01/app/oracle/product/9.2.0)
    (SID_NAME=tratest1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.244.127.12) (PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC) (KEY=EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=HDSSQLServer)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=hsodbc)
    (ENVS=LD_LIBRARY_PATH=/lsq2/app/oracle/product/9.2.0/lib:/usr/local/easysoft/unixODBC/lib:/usr/local/easysoft/lib:/usr/l
    ocal/easysoft/oob/client)
    (SID_DESC =
    (SID_NAME=HDSSQLServerRotherham)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=hsodbc)
    (ENVS=LD_LIBRARY_PATH=/lsq2/app/oracle/product/9.2.0/lib:/usr/local/easysoft/unixODBC/lib:/usr/local/easysoft/lib:/usr/l
    ocal/easysoft/oob/client)
    (SID_DESC =
    (SID_NAME=SDCIMart)
    (ORACLE_HOME=/lsq2/app/oracle/product/9.2.0)
    (PROGRAM=hsodbc)
    (ENVS=LD_LIBRARY_PATH=/lsq2/app/oracle/product/9.2.0/lib:/usr/local/easysoft/unixODBC/lib:/usr/local/easysoft/lib:/usr/l
    ocal/easysoft/oob/client)
    I could start the listener lsnr_lsq but not the default listener. The error I get is
    TNS-01155: Incorrectly specified SID_LIST_str parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    The default listener deals with connections to a sql server while lsnr_lsq deals with connections to oracle databases.
    Thanx in advance

    Could you make sure that you've services for all the SID's below in the tnsnames.ora file..
    1)HDSSQLServer,
    2)HDSSQLServerRotherham,
    3)SDCIMart
    Regards,
    Bhagat

  • Multiple Listeners - Multiple Event Handlers

    According to the tutorial, event handling code executes in a single event dispatching thread to ensure that each event handler finishes execution before the next executes. I'm also aware that I can add multiple action listeners to a single component, like JButton. But if I add mutliple listeners to a component, is there any way to determine in what order the event handling code will execute? Is there an order to which the listeners listen..
    Thanks in advance.

    Thanks to both of you for your responses and suggestions.
    camickr...
    I don't think its good style to add multiple listeners
    and write code dependent on the order of execution.I appreciate your candor here and I'm inclined to agree. So I've reorganized things a bit and I don't need to have the listeners in any particular order. But thank you for taking a look at the source code. It didn't occur to me to do that. That is interesting.
    Deudeu..
    If you require a specific sequential order you should create cascading eventsThis would be a way to resolve the issue of sequential response. When I changed my design a bit however, I didn't need to perform anything sequentially.

  • Starting Multiple Versions of Weblogic

    Hi,
    Is it possible to run multiple versions of weblogic concurrently ?
    I have 8.1 and 9.2 on my server.
    Whenever I login to the console in 9.2, my console in 8.1 will be logged out.
    If yes, please let me know the steps to take if able.

    Hi,
    Yes, you can use multiple versions of weblogic concurrently.
    However the issue you are facing is because the browser keeps the session of the previous logged in WLS version and when you try to log in to the other version of WLS it first close the old sessions and then open the new session.
    Try to use 2 different browsers say log in in WLS 9.2 using Firefox and WLS 8.1 using IE/Chrome you would notice that it would work just fine. And if you want to use only one browser then now days you have an option as "Private Browsering" in FF and Chrome which would also solve this problem.
    Regards,
    Ravish Mody

  • Multiple apps within WebLogic

    Hi
    Can multiple applications (i.e., multiple jar files representing
    distinct functionality) run within the same WebLogic server
    instance ? I believe J2EE supports such a model ...
    thanks
    -john

    This isn't an issue. The only consideration is will you be asking a
    single WL instance to do more than it's capable of?
    Jason
    Original Message <<<<<<<<<<<<<<<<<<On 2/19/00, 7:11:13 PM, John Mani <[email protected]> wrote
    regarding Multiple apps within WebLogic:
    Hi
    Can multiple applications (i.e., multiple jar files representing
    distinct functionality) run within the same WebLogic server
    instance ? I believe J2EE supports such a model ...
    thanks
    -john

  • Deploy multiple instances of WebLogic (null)

     

    Dont' crosspost.
              - Prasad
              Rajashekar Narsina wrote:
              > Hi,
              >
              > When I have multiple instances of weblogic, can I use weblogic.properties
              > file for each instance of server.
              >
              > If so, what should I do for that,
              > it is urgent, your help will be greatly appreciated.
              >
              > Raj
              

  • How to configure multiple listeners

    Hi All,
    I have installed 2 different Oracle instances on a single machine. I found that each oracle installation created its own Listener. I cant start both of the listeners at the same time. As a result, the respective applications cant talk to their corresponding database instances.
    I could start only one listener for one database instance at any given point of time. Therefore, I am unable to use the other application.
    Can any one please help me in configuring this appropriately so that both the applications can talk to their respective databases?
    Waiting for your kind replies.
    Regards,
    Syed

    Syed Abdul Rahman wrote:
    Hi All,
    I have installed 2 different Oracle instances on a single machine. I found that each oracle installation created its own Listener. I cant start both of the listeners at the same time. As a result, the respective applications cant talk to their corresponding database instances.
    I could start only one listener for one database instance at any given point of time. Therefore, I am unable to use the other application.
    Can any one please help me in configuring this appropriately so that both the applications can talk to their respective databases?
    Waiting for your kind replies.
    Regards,
    Syedit's better to configure a single listener . Configuring multiple listener will increased system resource usage. Multiple listener may be helpful in case of RAC .
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Multiple instances of Weblogic on NT

    Is is possible to run two instances of WebLogic on an NT server as
    services? Specifically, I want to set up web server clustering on two
    machines, but I am also going to be running another custom Weblogic
    app that will access a backend database. I need to set up a separate
    weblogic server for the database app outside of the clustering
    weblogic webservers?
    Thanks
    Steve

    yes u can run multiple instance of the service.
    There is a parameter in install.exe where you can specify the name of the
    service and in this manner you can have as many services as you want
    Chuck Karish wrote:
    [email protected] wrote:
    Is is possible to run two instances of WebLogic on an NT server as
    services?No. The NT support programs aren't set up to handle the multiple
    registry keys that would be needed, and they aren't set up to
    allow for setting different names for the several services.
    Specifically, I want to set up web server clustering on two
    machines, but I am also going to be running another custom Weblogic
    app that will access a backend database. I need to set up a separate
    weblogic server for the database app outside of the clustering
    weblogic webservers?
    Thanks
    Steve--
    Chuck Karish BEA Systems
    [email protected] San Francisco, CA
    (415) 317-0182 (cell) (415) 364-4692

  • Multiple listeners on server

    hi,
    I have a server which has a number of database instances running. Each instance has been installed with a separate user (not oracle or oinstall) and this is true for the listeners and tnsnames. The correct oraenv therefore has to be run to get access. this is causing an issue in Grid Control whereby the agent reports a listener but because it is owned by a user different to that of the agent install it will not report correctly. What is the best policy for the listener. Is it a listener per instance or one listener for all instances.
    rgds
    alan

    I would think the most common setup is one listener per network protocol in use: TCP, DECNET, SNA, etc.... for all databases on the server. For most sites this means one unnamed listener of the highest Oracle version installed on the server since few sites use multiple network protocols.
    HTH -- Mark D Powell --

  • Multiple listeners/ports

    Hi All,
    I'm fairly new to Apache, but have managed to install and configure our test listener with no problem. I do have a few questions regarding future configuration though. Any info would be greatly appreciated:
    1.) I currently have one listener up and running on port 7777 for our test database which will use only mod_plsql. Eventually I will need 5 listeners. Each listener will have its own port number, document root, etc. Question is what changes do I make to httpd.conf to enable a second listener on port 8888 for our stage database? Whenever a request comes in on this port number it needs to serve out the document root and homepage for the stage database, not the test database.
    2.) Is their any way to control each of the listeners independently. I would be nice to be able to take only the test listener down while leaving the others up.
    TIA,
    Charlene Yanke, DBA
    Southern Alberta Institute or Technology

    There are several different configs that I can think of but the one for you really depends on all of your requirements.
    You can use one Oracle home. Then you would put a <virtualhost> section in your httpd.conf file for each of your environments listening on a different port. You can specify the different documentroot within the virtualhost container.
    You are using mod pl/sql though. Because these are virtual hosts, you can access any DAD configured in this Oracle Home from any of the virtual hosts. In other words:
    http://test:7777/pls/app/
    http://prod:8888/pls/app/
    This would load the same DAD regardless of the virtual host.
    If you want to use the same DAD name like in the above example but actually use different connection information, you can do this one of two ways. One way, which I explored a few months ago and found a bug, is to use mod_rewrite. Because you are on Unix, I wouldn't do this. I would install another Oracle home. When you start the other apache process, make sure the environment variable for the WV_GATEWAY_CFG is pointing to a different file than your test one. This way, you can have:
    http://test:7777/pls/app/
    http://prod:8888/pls/app/
    For test, it would use the test wdbsvr.app file (which is the config file for the DAD) and for your production environment, it would a different wdbsvr.app file. This way, you have the same DAD name used in each Oracle home but behind the scenes, the test DAD would connect to your test instance or schema and your production DAD would connect to your production instance or schema.
    In Windows, I had a very hard time configuring multiple Oracle Homes and specifying different wdbsvr.app files because it is set as an environment variable. I even tried to launch each service as a different user and specify the WV_GATEWAY_CFG setting at the user level but that didn't work either. In Unix, it shouldn't be such a big deal.

Maybe you are looking for

  • Performance Problems - Index and Statistics

    Dear Gurus, I am having problems lossing indexes and statistics on cubes ,it seems my indexes are too old which in fact are not too old just created a month back and we check indexes daily and it returns us RED on the manage TAB. please help

  • Why does the system keep requesting I download Flash 8.0.0?

    Mac G5. Final Tiger. Occasionally I listen to online audio from a variety of sources with no problem. Occasionally when I try to do that I get a message (or a button) to download Flash 8.0.0. I have done that several times. Once the app is installed

  • Cannot display NULL values as 0

    I am trying to display a count by dates (which I am grouping by), but when the value is null, nothing displays and the dates are not displayed either. I want to display every date in the range entered in the prompt and its respective count, even if t

  • Ipod Mini that shut down Windows XP Home

    Let me describe what I just went through. My daughter's 4 GB mini was wiped I think anyway she has asked me to set it up on the "family" computer. I updated iTunes and then proceeded to update the software on her mini. When it asked to restart my com

  • Can't even hit agree for the security agreement

    I have downloaded the Itunes software, but I can't even sync anything to my new Ipod nano because I can't even agree to the software license agreement! There is no scroll bar on the bottom of my screen when I look at the software license agreement pa