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.

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

  • 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

  • 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.

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • Multiple Input ports - Single Form

    Hi,
    I have a RFC which has multiple input ports. How do i use a single form to provide data to all the input ports.
    Regards
    Bharathwaj

    Hi,
    you can create the single form direct, if you pull a line out of the RFC, then the form must be created with the fields. If not, then you have to create it manually and map the fields with the input port.
    Best Regards,
    Marcel

  • 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 midi ports....When will this happen?!

    So frustrating that there is still no multiple midi ports yet. I've been a long time user and am considering switching to Cubase because of this as I can not use Logic with VE Pro the way it is intended to be used. Will this ever be an option? Kind of defeats the whole purpose of VE Pro to have to open up multiple instances in Logic.

    I agree. Logic Physical Input supports Multiple Ports however the Sequencer does not. The Logic Sequencer is limited to record up to 16 MIDI Channels coming from Any Port. The alternative is to direct cable the Physical Input Ports to Channel Splitters in the Environment and wire them to different Channel Strips. In this scenario you can wire up to say 256 Instruments cabled from different Physical MIDI Ports. If you want to Mixdown the incoming MIDI Ports you have to bounce in real time.
    www.audiogrocery.com
    Author of:
    Logic X Toolkit PRO - Articulation Maps and more...NEW; Logic Snapshot Console - mixer snapshots; ORPHEUS - Bulgarian Vox Trilogy; Vox De Bulgaria - s.a.g.e vocal pack for Stylus RMX etc.

  • Need a sample cme with multiple fxo ports, hunt fashion

    hi,
    anyone kind enough to provide a sample working configuration of multiple fxo ports (each being a pstn line) and I assuming the telco is doing hunting...
    so let's say 4 lines, if line 1 is busy the call is sent by the telco on line 2 and so on...
    incoming and outgoing.
    thank you very much!!                  
    I did google it and can't find anything with multiple fxo ports.

    trunk group 1
    max-calls voice 4 (or however many POTS lines you want to use)
    hunt-scheme round-robin (or whatever method you like)
    voice-port 0/0/0
    trunk-group 1
    connection plar opx XXXX (extension)
    caller-id enable
    voice-port 0/0/1
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    voice-port 0/0/2
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    voice-port 0/0/3
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    dial-peer voice 1 pots ( I like creating this for troubleshooting, by default cisco router accept incoming calls)
    trunkgroup 1
    incoming called-number .
    direct-inward-dial
    dial-peer voice 2 pots
    trunkgroup 1
    destination-pattern 8[2-9]......           (8 for an outside line or 9 or nothing, then adjust your forward-digits to match)
    forward-digits 7
    dial-peer voice 3 pots
    trunkgroup 1
    destination-pattern 81[2-9]..[2-9]......
    forward-digits 11
    dial-peer voice 4 pots
    trunkgroup 1
    destination-pattern 8911
    forward-digits 3
    dial-peer voice 5 pots
    trunkgroup 1
    destination-pattern 911
    forward-digits 3

  • 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.

  • Aggregating multiple fiber ports on MDS directors

    Hi All,
    Going forward our new servers will have the capability of aggregating multiple fiber ports into fewer connections on the SAN switch. I am told that there is a particular setting that needs to be enable on the switch for this functionality to work, kindly let me know more details on this?
    What we intend is to reduce the port usage on Cisco MDS9509 like in map in many hba's to few physical ports instead of one to one?
    regards,
    Samir

    Switch-Server port channeling feature was added in MDS NX-OS 4.1(3). Make sure your MDS at least runs that release.
    http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/sw/4_1/configuration/guides/cli_4_1/pc.html#wp1291942
    http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/sw/4_1/configuration/guides/cli_4_1/pc.html#wp1209658
    Regards,
    Roman

  • Multiple Output Ports In Logic Audio.

    Multiple Output Ports In Logic Audio.
    Many people have had problems with Multiple Output Ports with Logic Audio I have come up with a solution that allows me to program 8 synths using 8 ports. Have a look at my site if you have problems with your Output Ports
    http://logicports.webs.com/

    Hi
    King Mike Here wrote:
    I have come up with another way to look at the problem, and I have come up with an alternative solution to the problem. In the process I have learned something, but thank you for showing me the correct method.
    For sure, your efforts have lead to a greater understanding of how the Environment works, and yes, your method would work, but it's really long-winded :-)
    Another way to set this whole shebang up is to use Audio MIDI Setup to configure the 'Virtual" external synths, MIDI Ports, Receive Channels etc.
    When you make an External MIDI track in Logic via the Library, Logic will automatically create the Multi-Instrument objects, preconfigured with the correct channels enabled.
    The downside of this method comes with regard to Patch Names within the Multi-Instruments. You would need to set these up every time (or save as a template).
    Note: do not use the "Manual" Multi's at the same time as the Audio MIDI Setup method.... you end up with 2 of everything in the Library (and potentially duplicates in the Environment).
    Best
    CCT

  • Multiple serial port initialisation problem

    Good Morning All
    I have attached a vi which is giving me a problem that I can't solve, and would appreciate any help.
    The vi is supposed to intialise up to 7 serial ports (only using 5 at the moment), and I'm assuming this is a plausible way to do the initialisation (could be wrong). The serial ports are connected to a pc via a usb hub. The windows XP o/s does recognise the ports according to the device manager.
    The problem is that when the vi is run the following error is reported as shown in the attached word document.
    I have compared the port settings in the device manager properties for each port to the vi settings and they match. What more can I do?
    If somebody has a setup with mutliple serial ports could they try the vi and see if it works for them?
    Thanks and best regards
    Ray
    Solved!
    Go to Solution.
    Attachments:
    ax500 serial port init.vi ‏37 KB
    init error.docx ‏518 KB

    It has nothing to do with multiple serial ports.  It has to do with an invalid setting you are trying to use to configure any one of the serial ports.
    Look at the information in the error message.  Argument 4 of the property node in Configure Serial Port VI is the Stop Bits setting.  I see a coercion dot going into that VI, so that tells me the datatype you are wiring in doesn't quite match.
    You have an array of I32 values, and your values consist of 1's.  Disconnect that array and right click on the terminal of Configure Serial Port VI and pick Create Constant.  You'll see you get a ring data type.  It is a U16.  But if you look at the items in there, you'll see that stop bits 1.0 has a value of 10.  1.5 has a value of 15, 2.0 has a value of 20.  So the value of 1 has no meaning to that property node and you get an error.  You should be wiring in a value of 10.
    Delete that array.  Create an array of the ring constants.  Turn it into a control, and choose the correct ring value for each element of your array.
    You have several other coercion dots.  They may not be causing you problems, but I would consider disconnecting them, creating a constant of the correct datatype, and using that in the array you wire to the Configure subVI.
    I modified your VI and attached it.  See if it works for you.
    Attachments:
    ax500SerialPortInitMOD.vi ‏37 KB

  • HT1688 Just bought a 5c and when I connected to our desktop it doesn't recognize that the iphone is plugged in.  We have tried multiple usb ports and nothing.

    Just bought a 5c and when I connected to our desktop it doesn't recognize that the iphone is plugged in.  We have tried multiple usb ports and nothing.

    Hello csmithhisler,
    Congratulations on your new iPhone 5c!  I am sure you are eager to get your new iPhone set up, but sounds like your iPhone is not appearing in iTunes.  I recommend following the steps in this article to troubleshoot the issue:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Multiple listeners on the same IP and Port - is this possible?

    Hi all,
    I think I know the answer but thought I'd ask anyway, as someone might have some suggestions.
    So in IIS we can have multiple websites bound to the same IP - this is called "Hostname binding", and means that IIS will check the Host header of incoming traffic before deciding on what to serve.
    Can we do anything similar in TMG?
    Or, if I want to handle requests for the same port (443) for multiple applications, do I simply need to get another IP address an interface onto the TMG box?
    Thanks in advance.

    Hi,
    When you publish multiple Web sites with different host names on the same Web server, you can install a wildcard certificate on the Web server that can be used to prove the identity of the Web server to the Forefront TMG computer. A SAN certificate can also
    be used.
    There is a article describing how  to configure Web publishing rules in Microsoft Internet Security and Acceleration  2004 (ISA 2004) Server or Microsoft Forefront Threat Management Gateway, Medium Business Edition to redirect HTTP requests from
    the Internet to a specific internal Web server by using the original host header.
    http://support2.microsoft.com/kb/838252/en-us
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • BAM integration with BPM 11gR1

    Hi, I am trying to integrate BPM 11gR1 with BAM starting with a simple scenario as am a newbie with BAM. The requirement is to generate a report for tracking a BPM process and whenever a new instance of a BPM process is created, the report should be

  • GPS question about Michelin x-930 with Navteq maps...

    I unfortunately have a Michelin GPS x-930 with a grossly outdated 2006 map by Navteq. Michelin no longer produces GPS equipment. Going to their old site is fruitless; their GPS site no longer exists for the US, only info on their tires, a GPS site in

  • Scanning in as a Bitmap. How to change this back to scanning in as a .PSD file?

    Hello, I'm running CS3 on W7. Photoshop works fine. Problem is, when I used to scan anything it always came in as a PSD file. Now, it's coming in as a Bitmap file. How can I change it to scan in docs as a .psd or .pdf extension? Thanks. Mark

  • ClassCastException problem...

    Ok, here's my problem. The method in question, processFindBookTransaction, is supposed to search go into a binary search tree and find a "book" with a certain key. Here's the code for that method:   private static Book processFindBookTransaction(Tran

  • INSERTs  Blocking WPs

    Hi Experts, We have a strange issue in our production system. During month end we have noticed so many INSERTS against BSAS table and eventually Work processes are getting blocked. We also see locks on AGKO table during this issue. Even after killing