Configuring two listener to a database

Hi,
Oracle 11gR2 (2 node RAC) on linux.
How to configure two ports to a single listener. (by chance it's not possible, but any workaround)
Currently listener is configured to port 1521. We require to set port 1522 also to the listener.
We have encrypted tablespaces, where these encrypted ts requires to access from App tier through port 1522. For this we require to configure two ports 1521 to access non-encrypted TS and 1522 for encrypted TS access.
This is the requirement from the client end.
I got some workarond like to create two seperate listeners to listen single database.
Like 1521 listener to access non-encrypted tablespaces and 1522 listener to access encrypted tablespaces -- both listeners point single database.
any suggestions highly appreciated.
Thanks
KSG
Edited by: KSG on Oct 12, 2011 5:43 PM
Edited by: KSG on Oct 12, 2011 5:55 PM

You got the answer already several times, but just for your convenience, I repeat it here:
read documentation
And as it only requires netca to configure the port, if you would have read documentation upfront, you could have configured half your country in this fashion.
But alas, you choose to remain lazy.
The 'requirement' of have encrypted tablespaces and encrypted traffic is of course just plain idiotic. What, apart from a performance hit, will anyone gain by that?
Sybrand Bakker
Senior Oracle DBA
PS I also notice you have 134 questions unresolved out of 183. That is very unlikely. It looks more like your behavior in this forum leaves much to be desired.
I will take note of your handle.
Edited by: sybrand_b on 8-okt-2011 13:50

Similar Messages

  • How to configure one Listener for 2 databases on the same server

    Hello all,
    Please, I am stuck as with my application server which requests the port 1521. I want to configure the repository to make use of the port 1521 which is also shared by another database on the server.
    Regards,
    Nadine

    Maybe it is worth mentioning here that am installing it with two different users as to have two ORACLE_HOME independent of each other.
    Below are the configuration files for the Listener.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = test.appstech.local)
    (ORACLE_HOME = /d02/app/oracle/product/10.2.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (GLOBAL_DBNAME = testing.appstech.local)
    (ORACLE_HOME = /d01/app/oracle/product/10.1.2/ora_infra)
    (SID_NAME = testing)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ebs.appstech.local)(PORT = 1521))
    TRACE_LEVEL_LISTENER = USER
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test.appstech.local)
    TESTING =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = testing.appstech.local)
    Regards,

  • How to configure different listener for each database in 11gR2 RAC

    Hi Friends,
    Current Prod Setup :
    11gR2 (11.2..0.2) RAC on RHEL 5.5 with 3 SCAN Listeners on default 1521 port.
    Having 4 databases which are using SCAN-IP and listening on default port only.
    As per policy, we have to create separate listeners (on different port) for each database.
    like,
    DB1 - 1522
    DB2 - 1523
    DB3 - 1524
    DB4 - 1525
    Even If I configure 4 listeners using NETCA, how my failover & load balancing will happen using SCAN & Newly Created Listeners ???
    Thanks in advance..
    Regards,
    Manish

    Hi,
    I tried on 11gR2 TEST RAC Server to have different listener with different port (1529) for SCAN & Node Listener & tested failover, load-balancing which was successful.
    [oracle@ravish5 admin]$ cat listener.ora
    LISTENER_A=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_A=ON # line added by Agent
    [oracle@ravish5 admin]$ ps -ef | grep lsnr
    oracle 1985 1 0 00:46 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER -inherit
    oracle 1988 1 0 00:46 ? 00:00:00 /11g_database/11.2.0.2/product/home_1/bin/tnslsnr LISTENER_A -inherit
    oracle 2928 1 0 01:00 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER_SCAN1 -inherit
    [oracle@ravish5 admin]$ lsnrctl status LISTENER_A
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 02-MAY-2012 03:19:35
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))
    STATUS of the LISTENER
    Alias LISTENER_A
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 02-MAY-2012 00:46:42
    Uptime 0 days 2 hr. 32 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /11g_database/11.2.0.2/product/home_1/network/admin/listener.ora
    Listener Log File /11g_database/11.2.0.2/diag/tnslsnr/ravish5/listener_a/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_A)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.5)(PORT=1529)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.16)(PORT=1529)))
    Services Summary...
    Service "TEST" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    Service "TESTXDB" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    Service "srvc_test.clover.com" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    SQL> show parameter listen
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=192.
    168.3.16)(PORT=1529))))
    remote_listener string ravish-scan:1529
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    [oracle@ravish5 admin]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521,1529
    [oracle@ravish5 admin]$ srvctl config scan
    SCAN name: ravish-scan, Network: 1/192.168.3.0/255.255.255.0/eth0
    SCAN VIP name: scan1, IP: /ravish-scan.clover.com/192.168.3.22
    [oracle@ravish5 admin]$ srvctl config listener
    Name: LISTENER
    Network: 1, Owner: oracle
    Home: <CRS home>
    End points: TCP:1521
    Name: LISTENER_A
    Network: 1, Owner: oracle
    Home: /11g_database/11.2.0.2/product/home_1
    End points: TCP:1529
    [oracle@ravish5 admin]$ srvctl config service -d TEST -s srvc_test.clover.com
    Service name: srvc_test.clover.com
    Service is enabled
    Server pool: TEST_srvc_test.clover.com
    Cardinality: 2
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: true
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: TEST1,TEST2
    Available instances:
    TEST_NEW =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ravish-scan.clover.com)(PORT = 1529))
    (LOAD_BALANCE = yes)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = srvc_test.clover.com)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    Actually different ports for different databases are required to have separation of duties. Once Firewall enabled betwen Client & DB Server only privileged users would have access to particular database.
    Regards,
    Manish

  • Configuring additional listener

    Hi,
    Can anyone tell me how to configure additional listener for a database, so when the first one is down the other takes its job?
    I`ve added new listener using Net Manager. I`ve also modified tnsnames.ora to include new listener address.
    I shut down the first listener, and tried to connect to database using sqlplus:
    sqlplus system@orcl
    but I keep getting ORA-12514 error. I`ve checked services registered in the second listener and I can see my database there.
    Any ideas what else should be configured to make this work?
    My listener.ora looks like this:
    LISTENER2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Piko_laptop)(PORT = 1561))
    LOGGING_LISTENER2 = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Piko_laptop)(PORT = 1521))
    and tnsnames:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Piko_laptop)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Piko_laptop)(PORT = 1561))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

    Piko wrote:
    Can anyone tell me how to configure additional listener for a database, so when the first one is down the other takes its job? Not a good and robust approach at all - for the reasons stated by sb92075 above.
    Listeners do not crash. If it does on your platform, this is a symptom of an underlying and severe problem. It would be just plain silly to ignore it and think that creating another Listener will address it.
    As an example.. Oracle Real Application Clusters (RAC) is a high availability environment. How many listeners by default runs on a single RAC server node? One!
    So if a sophisticated high availability RAC environment only needs a single listener per server.. why on earth do you need two? What is the actual problem you are trying to solve?

  • How to configure oracle listener profile for multiple oracle database

    Hi,
    I am going to install solution manager system in the same server of ERP EHP4 on Windows. Both DB are oracle.
    I'd like to know how to configure listener in this kind of envirnmonent.
    a. use two listener and different ports
    b. use same listener but different ports
    c. use same listener and same port
    Which is the correct mothed?
    And, after installation, there seem three set of profiles of listten, one for ERP, one for SLM, and the other for OS?(%windir%system32), which one is functional?
    Please advise.
    Thanks a lot.
    Regards,
    Alex

    Hi,
    standard installation is creating new configs for listener for each instance.
    I would recommend to use one listener per each instance.
    YOU CAN NOT HAVE one port number for two differnet systems!
    If you want to use one listener than you must adapt tnsnames.ora, listener.ora and ensure that both systems will use different port numbers.
    For example PORT= 15<system number>
    Peter

  • Changing the name of the PC, I cannot configure the listener

    Hello,
    I use
    Windows 7 64 bit
    Apex 4.1
    Glass Fish server
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I have changed the name of my PC ( for it contained "-" and "_") Then I did the following changes:
    I changed the name of my PC in tnsnames.ora and listener.ora and "Hosts" file (in windows\system32\drivers\etc).
    When I try to configure the listener, I get webpage saying Internal Error.
    How can I reconfigure it again ????
    Regards,
    Fateh

    Hello Fateh,
    I think there are two options on how to reconfigure. In both cases, you'll have to locate your apex-config.xml .
    h3. Option 1: Edit the apex-config.xml
    h4. Steps
    <ol>
    <li>stop APEX Listener
    <li>edit apex-config.xml (change hostname for the database connection)
    <li>start APEX Listener
    </ol>
    h3. Option 2: Delete the apex-config.xml
    h4. Steps
    <ol>
    <li>stop APEX Listener
    <li>delete apex-config.xml
    <li>start APEX Listener
    <li>re-run the configuration process by calling http://<yourAPEXListenerHost>:<port>/apex/listenerConfigure
    </ol>
    -Udo

  • Listen to a database table (inserts, deletes etc)?

    Hi,
    is there a chance to listen for a database table for updates?
    The programm should not stress the system. I'm looking for something like a listener in JAVA.
    Thank You!

    Wow! Two development systems, a dream for many! I now see your dilemma. I don't think this can be resolved by an IT solution. You need a project management solution. Your project managers who oversee the developers and configurators on both systems should come up with a strategy of not to step on each other toes. Let us say one works on SD configuration on one system and other works on MM configuration on another. That way they will not be doing the same thing. Then there will be those touch/integration points where there should be clear cut guideline as to who does what. As far as developers are concerned, they should also have clear naming standards and should follow them.
    I am curious as to why you have two development systems. Will it not lead to duplication of work(as you see now). Then there will be the problems of one overwriting the work of others. Even if two seperate projects are in development on two different boxes, if both need to configure the same activity but different way, will it not lead to one overwriting others work?
    How are you keeping the two development environments in sync with each other? Is the purpose of two development environments is to do independent developments or is it to just provide more bandwidth and power. If it is the second reason, then have you tried a landscape similar to most production systems, where there will be multiple servers working, yet sharing the same database(distributed architecture)? If it is the first, then proper guidelines and naming standards should avoid most of those situations.
    Even, the enqueuing strategy you are looking for will be difficult to design. If you look at SPRO, there are at least 100 tasks that you can do there, and some thousands of tables will be there behind those tasks, so how are you design your enqueue table, by task or by individual table? Add to the mix the development objects, it becomes even more complicated and don't forget basis and security changes. If you design your enqueue table based on the transport objects, it will be difficult to know the content of the transport, excepts at a metadata level. Also, can you imagine how much space this table(s) going to take up?
    So many questions, but no answers. A technical solution is not necessarily always the best solution, even though I am technical person!!! Either your scope should be very limited to do such a thing, or you should tackle it with non-technically, standards, procedures and guidelines.
    Regards,
    Srinivas

  • ORA-12514: TNS:listener - RMAN - Target Database

    Hi Pals,
    Today while configuring two of my machines (On same Network) for RMAN I'm facing some issues while connect to the Catalog Server and register a target database.
    Here are more details about the (Environment) -- machines:
    Machine 1 - ORCL (Catalog Server)
    Machine 2 - PRCL (Target Database)
    Both machines and in same network.
    Tnsping results: both machines are able to ping each other
    Unix Ping results: both machines are able to ping
    Listeners: Up and Running on both machines
    Names: Listeners (Both Machines)
    TNSnames: Created an for both machines in each others tnsnames.ora file.
    tnslsnr status: Connected Both Machines)
    OS: Linux Red Hat 5
    Db: Oracle 11gR2
    Status: DB are up and working good and both are in ARCHIVELOG Mode.
    Env: VMWARE Team (Version 6)
    So, while trying to connect to Catalog Server(DB Name: ORCL) from Target Machine (DB name: PRCL) I'm getting a TNS:Listener based error.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    [oracle@localhost ~]$ rman target / catalog rman/oracle90@orcl
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon May 21 20:49:08 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: PRCL (DBID=459947553)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04004: error from recovery catalog database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    [oracle@localhost ~]$
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Please assist and let me know in case more details required.
    Thanks
    Prashant Dixit

    Hi Tychos/DMorgan,
    Below provided are tnsentries and listener.ora file contents from both of the machines.
    Yes, i'm using vmware (Team) and have 2 machines in the same network (1st ORCL - 2nd PRCL). Both of them are able to ping each other.
    First Machine 1 - ORCL Instance:
    *1. listener.ora file:*
    +++++++++++++++++++++++++
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    ADR_BASE_LISTENER = /u01/app/oracle
    ----> tnsnames.ora__
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.localdomain)
    PRCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = prcl.localdomain)
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Machine 2: PRCL Instance -
    listener.ora file
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    ---> tnsnames.ora file
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    PRCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = prcl.localdomain)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.localdomain)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    I've tried several options with SERVICE_NAME and HOST name after your's and Morgan's post but no luck so far. Please let me know if need (*tnslsnr* status results as well)
    So, this is what i originally have on my machine and yes I'm still getting ORA-12514: TNS:listener error.
    Thank you guys for your attention.
    Please help.
    Thanks
    Prashant Dixit
    Edited by: OracleAnt ... on May 22, 2012 4:58 PM

  • Use 1 listener for multiple database in a server

    hi guys,
    just want to check whether this is the right way to configure my Listener.ORA . I am using 1 listener.ora to listen for incoming request connection from remote client. There are multiple databases installed in a server.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )sorry i am reading about it so did not install another database to test out. Just thinking in the line that it mention that the list of SID is refering to the multiple database that is installed in a server and i am using 1 listener.
    Please further advice.

    Shivananda Rao wrote:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )Please use as above. You can have one listener for multiple databases.right right so it the pattern goes like this:
    SID_LIST_LISTENER =
         (SID_LIST =
              (SID_DESC =
              (GLOBAL_DBNAME = AAAA)
              (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
              (SID_NAME = AAAA)
              (SID_DESC =
              (GLOBAL_DBNAME = BBBB)
              (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
              (SID_NAME = BBBB)
         )thanks !

  • Two listener for the same queue - different extraction rule

    Hi all.
    I've the following situation that I'm trying to troubleshoot.
    OSB communicates with another system using JMS Queues.
    One queue for teh request, one for the response.
    Depending on the kind of service, the request is published on the request using a dynamical routing to a Business Service. Depending on the cases, this business service could be:
    1. Just insertion on the queue (no response required)
    2. "Queue Manager" - Insertion and wait for response (response required, JMS Correlation ID as correlation pattern)
    About the extraction from the response queue, when the messages are published from the "Queue Manager", then they must be extracted from the same resource based on the Correlation ID.
    Otherwise, all the messages published in other way (not the "Queue Manager" but the option #1), a different resource should extract them from the response queue (a proxy service with protocol JMS).
    What happens at runtime is that the messages published from the "Queue Manager" are extracted from the other resource.
    How can I solve this?
    Do I need to use two separate queues or there is a way to configure two different listener on the queue, one based on the JMS Correlation ID and the other one that extracts all the other requests?
    Thanks in advance to anyone that will help.

    Unfortunately, I've already evaluate the message selector option, but in the following case:
    BS1 (Request Only)----->JMSQRequest ----->Your Logic ----->JMS Reponse--->JMS Proxy service with Message selector
    The JMS Proxy with message selector should know the value that is the key for the extraction. In this case we have not this infornation since when we run this scenario there is an external system that extracts the request and provides the response... and in the middle we lost the informations (e.g. if we use a key ID, the Proxy with message selector doesn't knwo which value is has to search for in the ID).
    For the moment I think that the best solution could be to have two separate queues, but I'm trying to figure out if there is any other option.

  • Can I configure two webserver domain in one windows server

    Can I configure two webserver domain in one windows server with default port. ( i.e 80 )
    For Ex:- http://server-name/psp/DOMAIN/?cmd=login and another one
    http://server-name/psp/DOMAIN2/?cmd=login.
    If not please let me know the workaround to do so. B'coz i don't want to put portnumber in my second URL..

    Hi,
    You can even have serveral domains within the same webserver instance.
    During PIA installation (of the second) choose option existing domain and then add an additional site.
    Give the domain a unique name and port to your second application server and you are ready to go.
    I usually do this on sandbox environments to keep the sandbox small , with several databases (Portal, HCM, FIN, CRM) and one PIA with serveral domain.
    But is definitely not what you should do for production systems.
    Each application should have it's one PIA instance.
    Hakan
    I didn't read the port number requirement.
    You can only run one webserver instance on a port number for example port 80.
    But you can still have one webserver PIA with serveral domain on the same port number as described above.
    Edited by: Hakan Biroglu on Mar 14, 2012 2:28 PM

  • Configuring IDOC Listener on MII 12.1

    Hi,
    I had a basic question around the configuration.
    This is from 12.1 help:
    "The SAP Java Resource Adapter (SAP JRA) server is used to connect to SAP ERP Central Component (SAP ECC) to receive remote function calls (RFC) and IDocs. You can use the asynchronous HTTP interface to post data to SAP MII for asynchronous transaction processing."
    In this regard is it mandatory to first configure SAP JRA on NW and then proceed with the IDOC specific config both on the R/3 as well as NW side?
    The reason I ask this is that we are currently struggling with this config on 12.1.8 (build 30) where the BASIS folks are observing that the system hangs when they try to add enteries to the XMIIIDOC component . Before going through with the IDOC config they made sure that the JRA is configured and followed the steps as mentioned in the 12.1 installation guide under "Configuring JRA for JRA Actions" & "Cloning the default JRA Config" sections.They are simultaneously also following up in the NW forums to find a solution.
    Additionally I had another question (this one's specifically for MIke Appleby ). Would one have to follow similar config steps as IDOC when configuring the RFC listener , atleast from the NW CE perspective? We are trying to download Control Recipes from R/3.
    Thanks
    Udayan

    Hi Udayan,
    Yes, the configuration for the RFC Listener is essentially the same as the IDoc Listener, except the binding is different (do not change either type from the default values and you should be fine).
    The differences between the two Listener types are really on the ECC side.  The installation instructions for Batch Manufacturing included the RFC Listener setup.  Keep meaning to write a separate document for RFC Listeners, but haven't yet.
    One general note of caution for all readers:
    Do not reuse ProgIDs from an IDoc Listener in an RFC Listener and vice versa.  Only use a unique ProgID once (and deleting them from one Listener or MII server to use them elsewhere is generally not advisable). 
    Roughly 90% of the tickets entered for IDoc Listeners with MII are because of ProgIDs used in more than one place.
    Regards,
    Mike

  • Struts 2 - SEVERE: Error configuring application listener of class mailread

    Struts 2 - SEVERE: Error configuring application listener of class mailreader2.ApplicationListener
    Ol�
    Hi
    All
    I'm getting this erro: when I run my app in struts 2, but I don't know what is going on ?
    Someone can help me
    What is going on?
    Thanks
    SEVERE: Error configuring application listener of class mailreader2.ApplicationListener
    java.lang.ClassNotFoundException: mailreader2.ApplicationListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Feb 1, 2008 10:46:31 AM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Skipped installing application listeners due to previous error(s)
    Feb 1, 2008 10:46:31 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Edited by: NetoJose on Feb 1, 2008 5:33 AM

    I think it's not a jar it's a java class on my package take a look, now i don�t know why the problem?
    Look the erro :
    Struts 2 - SEVERE: Error configuring application listener of class mailreader2.ApplicationListener
    this is my package and a java class:
    mailreader2.ApplicationListener
    package mailreader2;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.apache.struts.apps.mailreader.dao.impl.memory.MemoryUserDatabase;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletContextEvent;
    import javax.servlet.ServletContextListener;
    import java.io.*;
    public final class ApplicationListener implements ServletContextListener {
    * <p>Appication scope attribute key under which the in-memory version of
    * our database is stored.</p>
    public static final String DATABASE_KEY = "database";
    * <p>Application scope attribute key under which the valid selection
    * items for the protocol property is stored.</p>
    public static final String PROTOCOLS_KEY = "protocols";
    // ------------------------------------------------------ Instance Variables
    * <p>The <code>ServletContext</code> for this web application.</p>
    private ServletContext context = null;
    * The {@link MemoryUserDatabase} object we construct and make available.
    private MemoryUserDatabase database = null;
    * <p>Logging output for this plug in instance.</p>
    private Log log = LogFactory.getLog(this.getClass());
    // ------------------------------------------------------------- Properties
    * <p>The web application resource path of our persistent database storage
    * file.</p>
    private String pathname = "/WEB-INF/database.xml";
    * <p>Return the application resource path to the database.</p>
    * @return application resource path path to the database
    public String getPathname() {
    return (this.pathname);
    * <p>Set the application resource path to the database.</p>
    * @param pathname to the database
    public void setPathname(String pathname) {
    this.pathname = pathname;
    // ------------------------------------------ ServletContextListener Methods
    * <p>Gracefully shut down this database, releasing any resources that
    * were allocated at initialization.</p>
    * @param event ServletContextEvent to process
    public void contextDestroyed(ServletContextEvent event) {
    log.info("Finalizing memory database plug in");
    if (database != null) {
    try {
    database.close();
    } catch (Exception e) {
    log.error("Closing memory database", e);
    context.removeAttribute(DATABASE_KEY);
    context.removeAttribute(PROTOCOLS_KEY);
    database = null;
    context = null;
    * <p>Initialize and load our initial database from persistent
    * storage.</p>
    * @param event The context initialization event
    public void contextInitialized(ServletContextEvent event) {
    log.info("Initializing memory database plug in from '" +
    pathname + "'");
    // Remember our associated ServletContext
    this.context = event.getServletContext();
    // Construct a new database and make it available
    database = new MemoryUserDatabase();
    try {
    String path = calculatePath();
    if (log.isDebugEnabled()) {
    log.debug(" Loading database from '" + path + "'");
    database.setPathname(path);
    database.open();
    } catch (Exception e) {
    log.error("Opening memory database", e);
    throw new IllegalStateException("Cannot load database from '" +
    pathname + "': " + e);
    context.setAttribute(DATABASE_KEY, database);
    // -------------------------------------------------------- Private Methods
    * <p>Calculate and return an absolute pathname to the XML file to contain
    * our persistent storage information.</p>
    * @throws Exception if an input/output error occurs
    private String calculatePath() throws Exception {
    // Can we access the database via file I/O?
    String path = context.getRealPath(pathname);
    if (path != null) {
    return (path);
    // Does a copy of this file already exist in our temporary directory
    File dir = (File)
    context.getAttribute("javax.servlet.context.tempdir");
    File file = new File(dir, "struts-example-database.xml");
    if (file.exists()) {
    return (file.getAbsolutePath());
    // Copy the static resource to a temporary file and return its path
    InputStream is =
    context.getResourceAsStream(pathname);
    BufferedInputStream bis = new BufferedInputStream(is, 1024);
    FileOutputStream os =
    new FileOutputStream(file);
    BufferedOutputStream bos = new BufferedOutputStream(os, 1024);
    byte buffer[] = new byte[1024];
    while (true) {
    int n = bis.read(buffer);
    if (n <= 0) {
    break;
    bos.write(buffer, 0, n);
    bos.close();
    bis.close();
    return (file.getAbsolutePath());
    Edited by: NetoJose on Feb 1, 2008 7:25 AM

  • Need help with possible dual listener configuration and listener traffic

    Hello:
    We seperate our network traffic to the database servers using VLAN's. We have application traffic on 192.168.1.x and replication/admin traffic on 10.112.28.x. We are looking to configure 2 listeners for the database, one to listen and respond on 192.168.1.x and one to listen and respond on 10.112.28.x. Right now, we have one listener that is configured for both networks, however, for servers that are connected to both networks, the client sends on 192.168.1 but receives a TNS redirect to 10.112.28. For clients only on the 192.168.1, the TNS redirect to 10.112.28 times out because the client cannot resolve the address. I can make available a Visio diagram of our current configuration. We also utilize server-side load balancing.
    Here is our dilemma, confirmed by analyzing packet traffic to and from the database on a Fluke:
    1) For servers in our environment that reside on BOTH network segments (multihomed), application "traffic" generated on 192.168.1.x arrives at the listener. Through server-side load balancing, a TNS redirect string is returned to the client, which, based on the following listener configuration, redirects the connection to the 10.112.28.x segment:
    LISTENER_RMLNDB01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.112.28.8)(PORT = 1521)(IP = FIRST))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.8)(PORT = 1529)(IP = FIRST))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    2) For servers that reside on only one network (ex. 192.168.1.x), when the redirect is returned to that server, it experiences a timeout and connection failure because it cannot physically reach 10.112.28.x
    Is there any way, through tnsnames, splitting listener.ora, VLAN's, the database itself, anything, for us to have requests for 192.168.1 be returned on 192.168.1 and not redirected. Would client side load balancing be a better option? Any way to manipulate the service registrations?
    Thanks for all future responses!
    Paul

    Hello:
    We seperate our network traffic to the database servers using VLAN's. We have application traffic on 192.168.1.x and replication/admin traffic on 10.112.28.x. We are looking to configure 2 listeners for the database, one to listen and respond on 192.168.1.x and one to listen and respond on 10.112.28.x. Right now, we have one listener that is configured for both networks, however, for servers that are connected to both networks, the client sends on 192.168.1 but receives a TNS redirect to 10.112.28. For clients only on the 192.168.1, the TNS redirect to 10.112.28 times out because the client cannot resolve the address. I can make available a Visio diagram of our current configuration. We also utilize server-side load balancing.
    Here is our dilemma, confirmed by analyzing packet traffic to and from the database on a Fluke:
    1) For servers in our environment that reside on BOTH network segments (multihomed), application "traffic" generated on 192.168.1.x arrives at the listener. Through server-side load balancing, a TNS redirect string is returned to the client, which, based on the following listener configuration, redirects the connection to the 10.112.28.x segment:
    LISTENER_RMLNDB01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.112.28.8)(PORT = 1521)(IP = FIRST))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.8)(PORT = 1529)(IP = FIRST))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    2) For servers that reside on only one network (ex. 192.168.1.x), when the redirect is returned to that server, it experiences a timeout and connection failure because it cannot physically reach 10.112.28.x
    Is there any way, through tnsnames, splitting listener.ora, VLAN's, the database itself, anything, for us to have requests for 192.168.1 be returned on 192.168.1 and not redirected. Would client side load balancing be a better option? Any way to manipulate the service registrations?
    Thanks for all future responses!
    Paul

  • I am trying to configure two WRV200 from 2 different loca...

    I am trying to configure two WRV200 from 2 different location and ADSL
    accounts. One location has PPPoE and the other has PPPoA. Both of it are
    having a Speedtouch 356 6V modem. The router which using PPPoE and having a DDNS from TZO.com has no problem with the Quick VPN but the router which using a PPPoA connection could not able to connect even the quick VPN.
    There is an option to ridirect the Public IP of Speedtouch to other network device and I manage to configure it and now my router who is having a PPPoA connection has a Public IP. But still the same problem VPN still not working.
    Is there any chance that I could make this router work with the PPPoA connection. I will really appreciate if somebody could help me with this problem.

    Sorry for making you confuse. Here is the VPN log details of the 2 routers.
    Router 1:
    000 "TunnelA": srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
    000 "TunnelA": ike_life: 28800s; ipsec_life: 3600s; rekey_margin: 5s; rekey_fuzz: 100%; keyingtries: 5
    000 "TunnelA": policy: PSK+ENCRYPT+TUNNEL+PFS+UP+AGGRESSIVE; prio: 24,24; interface: eth0; 000 "TunnelA": dpd: action:hold; delay:30; timeout:120;
    000 "TunnelA": newest ISAKMP SA: #0; newest IPsec SA: #0;
    000 "TunnelA": IKE algorithms wanted: 5_000-1-2, flags=strict
    000 "TunnelA": IKE algorithms found: 5_192-1_096-2,
    000 "TunnelA": ESP algorithms wanted: 3_000-1, flags=strict
    000 "TunnelA": ESP algorithms loaded: 3_000-1, flags=strict
    000 #12: "TunnelA":500 STATE_AGGR_I1 (sent AI1, expecting AR1); EVENT_RETRANSMIT in 9s; nodpd
    000 #12: pending Phase 2 for "TunnelA" replacing #0
    Router 2:
    000 "TunnelA": srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
    000 "TunnelA": ike_life: 28800s; ipsec_life: 3600s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 3
    000 "TunnelA": policy: PSK+ENCRYPT+TUNNEL+UP+AGGRESSIVE; prio: 24,24; interface: ppp0;
    000 "TunnelA": dpd: action:restart; delay:30; timeout:120;
    000 "TunnelA": newest ISAKMP SA: #0; newest IPsec SA: #0;
    000 "TunnelA": IKE algorithms wanted: 5_000-1-2, flags=strict
    000 "TunnelA": IKE algorithms found: 5_192-1_096-2,
    000 "TunnelA": ESP algorithms wanted: 3_000-1, flags=strict
    000 "TunnelA": ESP algorithms loaded: 3_000-1, flags=strict
    000 #3: "TunnelA":500 STATE_AGGR_I1 (sent AI1, expecting AR1); EVENT_RETRANSMIT in 8s; nodpd
    000 #3: pending Phase 2 for "TunnelA" replacing #0
    Hope this could help you.

Maybe you are looking for

  • Help with displaying data in advanceddatagrid

    Hi, I am working on flex 4.5.0 with java 5 as back end using blazeds. I've to display nested data in advanceddatagrid. Complex Person -> Person From the backend i am sending an ArrayList of ComplexPerson which consists of Person Object as well. code

  • What do I do if I have forgotten my password for my ipod??

    I have forgotten my password into my ipod after changing it to a letter password! I dont know whether I have spelt it wrong or not but I keep getting locked out of it! What can I do?? 

  • Display a subset of data?

    I have a data grid populated by an XMLList from an XML file. Currently, it displays data from the entire file. However, there is a node for each item in the list indicating a category, e.g. "Fruits", Vegetables" I want to have a toggle button bar wit

  • Forte Batch Services

    Hi Forte Users. I am trying to write a Forte service that will control background batch style jobs. I want an Environment Visible non replicated service that will listen out for events from clients and start tasks in other partitions to carry out lon

  • My iphone 3gs is stucked on the updating !

    I'm trying to update my iphone 3gs, for version 5.0.1, but in the middle of it, it says the server is off, and i can't come back to my old ios. What do i do ?