Oracle RAC listener password

Hi Guys,
We have 2 node RAC setup oracle 10g(10.2.0.4) and we wish to set password on listener which registered with CRS.
Can some one please guide how can we set password on listenet thts registered with CRS.
What would be the impact if any....
Help is appreciated.
Regards,
Milan

http://docs.oracle.com/cd/B19306_01/network.102/b14213/lsnrctl.htm#CIHEFEDH
just fyi,from 10g by default we have
lsnrctl status
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 11.2.0.3.0 - Production
Start Date                29-MAR-2012 12:11:31
Uptime                    5 days 0 hr. 46 min. 19 sec
Trace Level               off
Security                  ON: Local OS Authentication     <<--------------see this
SNMP                      OFF

Similar Messages

  • Oracle RAC listener password protection

    Dear Gurus,
    We have 2 node RAC setup 11gR2 and as a part of hardening we wish to set password for listener.
    Can some one please guide how can we set password on listener that registered with CRS. What would be the impact if any?
    Also, there are two things with which should be noted.
    1) We are not using SCAN feature.
    2) Listener created should be owned by oracle user but all listener are getting started by Grid.
    Node 1 -
    ps -ef | grep -i tns
    root 125 2 0 Oct30 ? 00:00:00 [netns]
    ora11g 35141 73510 0 12:50 pts/0 00:00:00 grep -i tns
    grid 41763 1 0 Nov04 ? 00:00:05 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    grid 49634 1 0 Nov04 ? 00:00:05 /u01/app/ora11g/product/11.2.0/db_1/bin/tnslsnr LISTENER_REMCORP1 -inherit
    Node 2 -
    ps -ef | grep -i tnsroot 125 2 0 Oct30 ? 00:00:00 [netns]
    ora11g 33783 33742 0 12:50 pts/1 00:00:00 grep -i tns
    grid 49817 1 0 Nov04 ? 00:00:05 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    grid 56446 1 0 Nov04 ? 00:00:05 /u01/app/ora11g/product/11.2.0/db_1/bin/tnslsnr LISTENER_REMCORP2 -inherit
    Regards,
    Nikhil Mehta.
    Edited by: 905267 on Nov 6, 2012 1:13 AM

    Thanks for your reply Vlethakula.
    When firing command from GRID/ASM home, it says service not available where as status is available from oracle home. While stopping listener from oracle home it gives TNS-01190 error.
    remedy-ebu-db1*+ASM1:/home/grid>lsnrctl
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 06-NOV-2012 18:20:00
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> set current_listener LISTENER_REMCORP1
    Current Listener is LISTENER_REMCORP1
    LSNRCTL> stop LISTENER_REMCORP1
    TNS-01101: Could not find service name
    LSNRCTL> stop LISTENER_REMCORP1
    TNS-01101: Could not find service name
    LSNRCTL> status
    TNS-01101: Could not find service name
    LSNRCTL> exit
    remedy-ebu-db1*+ASM1:/home/grid>su - ora11
    su: user ora11 does not exist
    remedy-ebu-db1*+ASM1:/home/grid>su - ora11g
    Password:
    remedy-ebu-db1*REMCORP1:/home/ora11g>lsnrctl
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 07-NOV-2012 09:18:52
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> set current_listener LISTENER_REMCORP1
    Current Listener is LISTENER_REMCORP1
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=remedy-vip-ebu-db1)(PORT=1526)(IP=FIRST)))
    STATUS of the LISTENER
    Alias LISTENER_REMCORP1
    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date 04-NOV-2012 14:56:49
    Uptime 2 days 18 hr. 22 min. 17 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/ora11g/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/ora11g/product/11.2.0/db_1/log/diag/tnslsnr/remedy-ebu-db1/listener_remcorp1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=121.244.255.54)(PORT=1526)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=121.244.255.50)(PORT=1526)))
    Services Summary...
    Service "REMCORP" has 2 instance(s).
    Instance "REMCORP1", status READY, has 1 handler(s) for this service...
    Instance "REMCORP2", status READY, has 1 handler(s) for this service...
    Service "REMCORPXDB" has 2 instance(s).
    Instance "REMCORP1", status READY, has 1 handler(s) for this service...
    Instance "REMCORP2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> stop
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=remedy-vip-ebu-db1)(PORT=1526)(IP=FIRST)))
    TNS-01190: The user is not authorized to execute the requested listener command
    LSNRCTL>
    Regards,
    Nikhil Mehta.

  • Oracle TNS Listener password

    Where do I specify the tns listener password in CF MX. I have
    added a password to the oracle TNS listener service. I need to get
    MX to pass this password to the oracle server. Is there a place to
    do this.
    cfk

    Here is what I was given from our security group here at
    USDOJ:
    We are using 9i,
    Server Product ColdFusion MX
    Version 7,0,2,142559
    Edition Enterprise
    Serial Number
    Operating System Windows 2003
    OS Version 5.2
    Description:
    A Oracle TNS Listener has been detected on the host with
    login security disabled (SECURITY=OFF).
    Observation:
    Oracle is an enterprise level database which is available on
    many different platforms.
    A configuration vulnerability exists within the Oracle TNS
    Listener which allows remote unauthenticated access. The TNS
    Listener accepts a clients request and establishes a TNS
    (Transparent Network Substrate) data connection between the client
    and the service. A TNS connection allows clients and servers to
    communicate over a network via a common API, regardless of the
    network protocol used on either end (TCP/IP, IPX, etc). A default
    installation of the TNS listens on TCP port 1521.
    Vulnerable Systems:
    Oracle 8i
    Oracle 9i
    Recommendation:
    It is recommended to only allow certain IP's or subnet ranges
    to access the TNS listener. This can be done by adding a rule in
    the firewall. We also recommend that you enable a password for the
    TNS listener within Oracle

  • Setting an Oracle TNS Listener password

    Im trying to enable a TNS Listener password on a database that I am monitoring through UNIX.
    I have tried set current_listener, but lsnrctl only recognizes the listener on my machine.
    Do I have to find the machine (remotely or not) where the listener is configured?
    Each time I try, I get TNS-01101 error : could not service name
    (I have already doen this successfully on my own machine, but I have to do the same for one of the databases in our firm)
    Thanks.
    Message was edited by:
    Dan A

    This error means that the service name could not be resolved by name-lookup. Verify the listener.ora is properly configured, check the name and address defined either in listener.ora or in the tnsnames.ora file.
    I suggest you this reference Configuring Password Listener Authentication
    ~ Madrid

  • Advice on Oracle RAC Listener Set up

    Hi Forum
    I am installing two databases on a 2 node RAC environment.
    We have the SCAN setup which is listening on port 1521
    I want the two databases I create to have seperate listener ports
    i.e.
    database1 to listen on port 1531
    database2 to listen on port 1532
    We are using GRID 11.2.0.3 and same for databases
    Is there a best practice / process that I can follow to do this?
    Thanks in advance.

    The best practice is to have common SCAN listener (since it already have redundancy) and you are free to choose local port for each database or share the same port (default configuration). You can always change the ports even after default installation so nothing to worry here. Just make sure to decide on SCAN early before giving out to users since anything after SCAN is transparent to users but SCAN port must be advised in advance.
    Regards
    Tushar

  • Adding Standalone listener Oracle RAC

    Dear Experts
    We have oracle RAC setup on in our organization, now we also need to do streaming between our RAC server and another oracle server for public reports. We installed another network interface card on of our Oracle RAC server and connect it directly to other server but we are not able to add listener for that interfaces. I did manually entered listener configuration in "listener.ora" and added it also in CRS using "srvctl add listener". Srvctl start listener properly but when i check the status of listener using "lsnrctl status <listener_name> than it shows that listener do not support any services.
    Your help will really be appreciate.

    Dear P
    Thanks for prompt reply. My listener for RAC is working fine, but standalone listener for one node on specific interface is not working. However i have added the listener using "srvctl add listener" command and it also start successfully but it does not support any service. See below the output of lsnrctl status.
    [oracle@mangla ~]$ lsnrctl status listener_mangla_priv2
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 08-OCT-2010 13:01:35
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mangla-priv2)(PORT=1522)))
    STATUS of the LISTENER
    Alias listener_mangla_priv2
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 08-OCT-2010 12:35:54
    Uptime 0 days 0 hr. 25 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/mangla/listener_mangla_priv2/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.1)(PORT=1522)))
    The listener supports no services
    The command completed successfully
    [oracle@mangla ~]$ lsnrctl status listener_mangla
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 08-OCT-2010 13:03:07
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mangla-vip)(PORT=1521)(IP=FIRST)))
    STATUS of the LISTENER
    Alias LISTENER_MANGLA
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 08-OCT-2010 08:14:41
    Uptime 0 days 4 hr. 48 min. 26 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/mangla/listener_mangla/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.0.11)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.0.211)(PORT=1521)))
    Services Summary...
    Service "SYS$STRMADMIN.STREAMS_CAPTURE_CB_Q.PCBA" has 1 instance(s).
    Instance "pcba1", status READY, has 1 handler(s) for this service...
    Service "SYS$STRMADMIN.STREAMS_CAPTURE_GLB_Q.PCBA" has 1 instance(s).
    Instance "pcba1", status READY, has 1 handler(s) for this service...
    Service "SYS$STRMADMIN.STREAMS_CAPTURE_Q.PCBA" has 1 instance(s).
    Instance "pcba1", status READY, has 1 handler(s) for this service...
    Service "pcba" has 2 instance(s).
    Instance "pcba1", status READY, has 1 handler(s) for this service...
    Instance "pcba2", status READY, has 2 handler(s) for this service...
    Service "pcbaXDB" has 2 instance(s).
    Instance "pcba1", status READY, has 1 handler(s) for this service...
    Instance "pcba2", status READY, has 1 handler(s) for this service...
    Service "pcba_XPT" has 2 instance(s).
    Instance "pcba1", status READY, has 1 handler(s) for this service...
    Instance "pcba2", status READY, has 2 handler(s) for this service...
    The command completed successfully
    [oracle@mangla ~]$ crs_stat -t
    Name Type Target State Host
    ora....LA.lsnr application ONLINE ONLINE mangla
    ora.mangla.gsd application    ONLINE    ONLINE    mangla
    ora....v2.lsnr application    ONLINE    ONLINE    mangla
    ora.mangla.ons application ONLINE ONLINE mangla
    ora.mangla.vip application ONLINE ONLINE mangla
    ora.pcba.db application ONLINE ONLINE mangla
    ora....a1.inst application ONLINE ONLINE tarbela
    ora....a2.inst application ONLINE ONLINE mangla
    ora....LA.lsnr application ONLINE ONLINE tarbela
    ora....ela.gsd application ONLINE ONLINE tarbela
    ora....ela.ons application ONLINE ONLINE tarbela
    ora....ela.vip application ONLINE ONLINE tarbela

  • Trying to change Oracle listener port 1521 to nodefault port on Oracle RAC

    Could somebody please help me in the process of changing teh Oracle listener port 1521 to a non-default port on an Oracle RAC environment. I am total of four instance.
    Regards.

    Please read carefully about LOCAL_LISTENER parameter, you shouldn't put there just hostname....
    Another way to do so - statically register database SID in listener. You should do it in listener.ora file, please read carefully documentation, otherwise you can use netca utility - it could make configuration for you properly.

  • Setting up Listener Password for Oracle 9.2.0.7

    I am looking for information on configuration needed for "stopsap"  when password is set  up for the 9i listener.

    Hi Inho,
    When a listener password is set, you don't need a special configuration to start/stop sap.
    The password is to protect the listener operation, not the connection to it.
    It's started with the ora<sid> user before the sap instance starts, and stopped after it stops.
    Regards,
    JC Llanes.

  • Setting listener password in oracle 8i

    i have some very old windows databases that are 8.1.0.7. I am not able to upgrade these.
    I am trying to set a password.
    1. go to command line
    2. lsnrctl
    3. set password <password>
    LSNRCTL> set password l1stener1$
    The command completed successfully
    LSNRCTL> save_config
    Connecting to (DESCRIPTION=(ADDRESS=(
    21)))
    No changes to save for LISTENER.
    The command completed successfully
    LSNRCTL>Why does it say nothing to save?
    3. When I type status
    I get: Security: off
    How do I verify that there is a password? I can't turn the listener off. Its a production database.
    When I look in my listener.ora file, it does not appear to be getting updated with a password?
    Edited by: Guess2 on Sep 30, 2009 12:20 PM

    First: Always test in a test environment before doing it in production.
    Next: If you are very brief, you can stop and restart the listener without interupting service.
    The only people who might be affected would be someone who happened to be attempting to connect at the split second your listener is down. Otherwise, existing connections should not be impacted. But, do NOT do this in production (never, ever, ever). Got it?
    Finally, if you have set the password, changed the password, and saved your configuration, you should be able to look into your listener.ora file and see the password setting. It should look something like:
    #----ADDED BY TNSLSNR 30-SEP-2009 15:41:13---
    PASSWORDS_LISTENER = 9BD20802761D432E
    There are numerous sites discussing listener passwords.
    Do a search on "lsnrctl set password"
    Hope that helps...
    ji li

  • Oracle listener password

    Hi,
    I have set password for listener in 9i database (9.2.0.8).
    Password is prompted during stopping the listener but not during starting the listener. Below are the steps followed to set password for the listener,
    LSNRCTL>set cur LIST_TESTDB
    LSNRCTL>change_password
    LSNRCTL>set password
    LSNRCTL>save_config
    $lsnrctl stop LIST_TESTDB
    TNS-01169: The listener has not recognized the password.
    LSNRCTL>set cur LIST_TESTDB
    LSNRCTL>stop
    (the listener stops successfully)
    $lsnrctl start LIST_TESTDB
    (the listener gets started successfully).
    How to enable the password protection during starting the listener.
    Regards.

    I have set password for listener in 9i database (9.2.0.8).
    Password is prompted during stopping the listener but not during starting the listener. Below are the steps followed to set password for the listener,password is not required to start the listener even if it is set. except for start you need to enter/set password of all other listener administration.

  • How connect to oracle RAC via the RSG using port forwarding

    Hi all,
    I got a problem trying to connect to oracle RAC via the RSG using port forwarding .
    on command line i sue to connect :
    sqlplus 'username/password@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=firstRACnode)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=secondRACnode)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MSDP)))'
    but when using port forwarding i forward the port 1521 to a local port and make ssh to the DB node ( as normal with other nodes but not RAC) but it never work with me for this situation
    can any one give me a help ifthere is any changes should be done on the server side , or if any one faced such a problem and found a solution
    Thanks,
    Prathap.

    782011 wrote:
    I got a problem trying to connect to oracle RAC via the RSG using port forwarding .
    on command line i sue to connect :
    sqlplus 'username/password@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=firstRACnode)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=secondRACnode)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MSDP)))'Not exactly sure what you are attempting, but if you doing port forwarding via ssh, the basic approach is as follows:
    Step 1
    Create a ssh tunnel from local machine to remote db server. Forward any local port (should not be a well known port or a port in the private/dynamic port range) to connect to the database server's listener port. If the ssh tunnel is into the db server itself, the connection (port forwarding) can be on localhost (as the Listener should be listening on it). Alternatively use a public IP of that db server.
    Example (using OpenSSH on Ubuntu 9.4):
    Local server port 1527 tunneled to port 1521 on database server 192.168.0.100 using o/s account johnd (we connect to port 1521 on db server via 127.0.0.1):
    ssh -X -f -N -o ServerAliveInterval=3 -L 1527:127.0.0.1:1521 [email protected]
    Step 2
    Run sqlplus and connect to the local fowarded port on localhost, using the applicable connection settings (e.g SID/Service Name, etc).
    sqlplus scott/tiger@"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1527)) (CONNECT_DATA=(SID=orcl) (SERVER=dedicated)))"Note that the Listener must not hand our connection off - as the case would be when using RAC for example and connecting via a Service Name and not a SID. We need the Listener that accepts our connection to immediately hand us over to the database instance (via either a dedicated server or a shared server dispatcher process).

  • Error in ONS logs while implmenting FCF on oracle RAC from java program

    I have java prog on client machine that uses properties from a property file.While making the connection to the ONS port on the oracle RAC server to implement FCF the program is throwing error as below:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    and when i checked the ons logs for that node the logs are as follows:
    Connection 5,199.xxx.xxxxxx,8200 header RCV failed (Connect
    ion reset by peer) coFlags=1002a
    These logs are generated only when java program tries to connect else the daemon started without any errors.
    But sometime it connets and gives the desired output.
    Please advice and do let me know in case you need more information.
    Java program on the client machine is as follows..
    * Oracle Support Services
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Enumeration;
    import java.util.Properties;
    import java.util.ResourceBundle;
    import oracle.jdbc.pool.OracleConnectionCacheManager;
    import oracle.jdbc.pool.OracleDataSource;
    public class FCFConnectionCacheExample
    private OracleDataSource ods = null;
    private OracleConnectionCacheManager occm = null;
    private Properties cacheProperties = null;
    public FCFConnectionCacheExample() throws SQLException
    // create a cache manager
    occm = OracleConnectionCacheManager.getConnectionCacheManagerInstance();
    Properties props = loadProperties("fcfcache");
    cacheProperties = new java.util.Properties();
    cacheProperties.setProperty("InitialLimit", (String)props.get("InitialLimit"));
    cacheProperties.setProperty("MinLimit", (String)props.get("MinLimit"));
    cacheProperties.setProperty("MaxLimit", (String)props.get("MaxLimit"));
    ods = new OracleDataSource();
    ods.setUser((String)props.get("username"));
    ods.setPassword((String)props.get("password"));
    ods.setConnectionCachingEnabled(true);
    ods.setFastConnectionFailoverEnabled(true);
    ods.setConnectionCacheName("MyCache");
    ods.setONSConfiguration((String)props.get("onsconfig"));
    ods.setURL((String)props.get("url"));
    occm.createCache("MyCache", ods, cacheProperties);
    private Properties loadProperties (String file)
    Properties prop = new Properties();
    ResourceBundle bundle = ResourceBundle.getBundle(file);
    Enumeration enumlist = bundle.getKeys();
    String key = null;
    while (enumlist.hasMoreElements())
    key = (String) enumlist.nextElement();
    prop.put(key, bundle.getObject(key));
    return prop;
    public void run() throws Exception
    Connection conn = null;
    Statement stmt = null;
    ResultSet rset = null;
    String sQuery =
    "select sys_context('userenv', 'instance_name'), " +
    "sys_context('userenv', 'server_host'), " +
    "sys_context('userenv', 'service_name') " +
    "from dual";
    try
    conn = null;
    conn = ods.getConnection();
    stmt = conn.createStatement();
    rset = stmt.executeQuery(sQuery);
    rset.next();
    System.out.println("-----------");
    System.out.println("Instance -> " + rset.getString(1));
    System.out.println("Host -> " + rset.getString(2));
    System.out.println("Service -> " + rset.getString(3));
    System.out.println("NumberOfAvailableConnections: " +
    occm.getNumberOfAvailableConnections("MyCache"));
    System.out.println("NumberOfActiveConnections: " +
    occm.getNumberOfActiveConnections("MyCache"));
    System.out.println("-----------");
    catch (SQLException sqle)
    while (sqle != null)
    System.out.println("SQL State: " + sqle.getSQLState());
    System.out.println("Vendor Specific code: " +
    sqle.getErrorCode());
    Throwable te = sqle.getCause();
    while (te != null) {
    System.out.print("Throwable: " + te);
    te = te.getCause();
    sqle.printStackTrace();
    sqle = sqle.getNextException();
    finally
    try
    rset.close();
    stmt.close();
    conn.close();
    catch (SQLException sqle2)
    System.out.println("Error during close");
    public static void main(String[] args)
    System.out.println(">> PROGRAM using JDBC thin driver no oracle client required");
    System.out.println(">> ojdbc14.jar and ons.jar must be in the CLASSPATH");
    System.out.println(">> Press CNTRL C to exit running program\n");
    try
    FCFConnectionCacheExample test = new FCFConnectionCacheExample();
    while (true)
    test.run();
    Thread.currentThread().sleep(10000);
    catch (InterruptedException e)
    System.out.println("PROGRAM Ended by user");
    catch (Exception ex)
    System.out.println("Error Occurred in MAIN");
    ex.printStackTrace();
    Some of the info i have deleted intensionally as this is confidential
    Property file is as follows
    # properties required for test
    username=test
    password=test
    InitialLimit=10
    MinLimit=10
    MaxLimit=20
    onsconfig=nodes=RAC-node1:port,RAC-node2:port
    url=jdbc:oracle:thin:@(DESCRIPTION= \
    (LOAD_BALANCE=yes) \
    (ADDRESS=(PROTOCOL=TCP)(HOST=RAC-node1)(PORT=1521)) \
    (ADDRESS=(PROTOCOL=TCP)(HOST=RAC-node1)(PORT=1521)) \
    (CONNECT_DATA=(service_name=RAC_SERVICE)))

    Hi;
    Please check below note:
    Link Errors While Installing CRS & RAC Database software [ID 438747.1]
    Codeword File $TIMEBOMB_CWD,/opt/aCC/newconfig/aCC.cwd Missing Or Empty [ID 552893.1]
    Regard
    Helios

  • How to configure sun application server 8.2 for Oracle RAC 10g

    Hello,
    We have numerous boxes running the sun platform application server 8.2 and 2 boxes running enterprise version 8.2 all connecting to a 4 node Oracle RAC 10 G release 2 database. We have the system up and working. The application servers are connecting just fine to the database and the apps don't have any problems querying, inserting, etc. However, when we try to do failover testing of situations when a node or nodes of the Oracle RAC database goes down the application server does not gain new valid connections. Our configuration is this, OracleDataSource for the data source, table validation turned on with a valid table, ONS configuration set in properties, connectionCache enabled, and fastconnectionfailover enabled as well in the properties. We have that long oracle rac url with load balancing turned on set fot the database URL. We have the checkbox checked to fail all connections on any failure. ONS is configured properly within the database because we have a java application that runs outside of the application server that uses all the same settings described above (only set manually in our code for the OracleDataSource). This application works seemlessly when DB nodes are shutdown. We can shutdown all but one node and it's still humming along without skipping a beat. Start up one of the others, kill the last node, it still hums along nicely without skipping a beat. We'd really like to get the applications running in the application server to work the same way. Any help would be greatly appreciated. We've tried all the combinations that we can think of with configuration settings in the application server and it never works. Am tempted to rip out the database connection pool from inside the application server and configure it manually in the code but we are using entity beans and this is the much easier approach, if it will work. It's down to the point of does sun application server actually work with oracle RAC for connection failovers.

    Hi,
    We are also facing similar execption. Here is the error, we are getting, when a node is failed on RAC.
    [#|2007-11-11T12:43:53.685+0000|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.core.transaction|_ThreadID=38;|JTS5041: The resource manager is doing work outside a global transaction
    oracle.jdbc.xa.OracleXAException
    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1270)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:318)
    at com.sun.gjc.spi.XAResourceImpl.start(XAResourceImpl.java:184)
    at com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:258)
    at com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:181)
    at com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:397)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:312)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:114)
    at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:113)
    at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:268)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:193)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)
    at com.syntegra.nasp.etp.dax.DBManager.getConnection(DBManager.java:192)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:241)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:251)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.getCommand(SPS_PRESCRIPTION_GUID_PROC.java:31)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.execute(SPS_PRESCRIPTION_GUID_PROC.java:23)
    at com.syntegra.nasp.etp.dax.PrescriptionBaseDataMapper.loadPresciptionByGUID(PrescriptionBaseDataMapper.java:203)
    at com.syntegra.nasp.etp.model.PrescriptionBase.findByPrescriptionGUID(PrescriptionBase.java:176)
    at com.syntegra.nasp.etp.messages.PatientPrescriptionReleaseRequest.execute(PatientPrescriptionReleaseRequest.java:120)
    at com.syntegra.nasp.etp.service.ETPSLBean.processMessage(ETPSLBean.java:159)
    at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:147)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:128)
    at $Proxy6.processMessage(Unknown Source)
    at com.syntegra.nasp.etp.listener.RequestListener.onRequest(RequestListener.java:204)
    at com.syntegra.spine.csf.consumer.mdb.CSFListenerRegisteringConsumer.onRequest(CSFListenerRegisteringConsumer.java:54)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.invokeListener(CSFConsumerBase.java:267)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.processMessage(CSFConsumerBase.java:180)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.onMessage(CSFConsumerBase.java:102)
    at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:955)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:158)
    at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:956)
    at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
    at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:130)
    at $Proxy9.onMessage(Unknown Source)
    at com.sun.genericra.inbound.DeliveryHelper.deliverMessage(DeliveryHelper.java:183)
    at com.sun.genericra.inbound.DeliveryHelper.deliver(DeliveryHelper.
    Regards
    Selvan.

  • Error when contect Oracle rac from resin

    when resin contenct a Oracle rac invironment, it alwarys report error like below:
    conf/resin.conf:63: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(ERR=1153)(VSNNUM
    =153094144)(ERROR_STACK=(ERROR=(CODE=1153)(EMFI=4)(ARGS='(ADDRESS=(PROTOCOL=TCP)(HOST=rac001)(PORT=1
    521))'))(ERROR=(CODE=305)(EMFI=1)))), after some times it can content successfully, but the failover mode get from the v$session is none.Meanwhile Oracle rac can be contect from PL/SQL successfully and the failover mode is select.
    the contection info in the resion.conf is :
    <resource jndi-name="jdbc/OVAConnectionPool">
    <type>oracle.jdbc.pool.OracleConnectionCacheImpl</type>
    <init>
    <url>
    jdbc:oracle:thin:@
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac001)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac002)(PORT = 1521))
    (FAILOVER = ON)
    (LOAD_BALANCE = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (service_name = rmans.test.com)
    (failover_mode = (type=select))
    </url>
    <user>ova</user>
    <password>ova</password>
         <minlimit>5</minlimit>
    <maxlimit>512</maxlimit>
    </init>
    </resource>
    Any help will be apprecite!

    Hello,
    The errors you are receiving are typically a result of not following our published MOS note and our documentation. It’s important in order for Oracle E-Business Suite systems to be properly recognized by E-Business Suite Plug-in, AutoConfig must be enabled and updated on all nodes. You should prevalidate your system before the running discovery to help ensure success of the discovery process. These tests check that context files, context variables, users, and components are set up correctly in the system for successful discovery.
    For more information on both topics refer to:
    •     Getting Started with Oracle Application Management Pack (AMP) for Oracle E-Business Suite, Release 12.1.0.1 (Doc ID 1434392.1)
    •     Oracle Application Management Pack for Oracle E-Business Suite Guide Release 12.1.0.1.0 Part No. E28715-03 October
    If you are still experiencing errors after reviewing our documentation and taking the appropriate steps to prevalidate your system consider filing a Service Request with Support.
    Regards,
    Product Management

  • Failover not happening the Oracle RAC 10g

    Hi All,
    I am new to RAC.
    I have installed Oracle RAC 10g on Redhat Linux 4.0. Till yesterday failover was happening that is when i stopped one instance on node01 the vip of node01 was transferred to node02.This was shown using ifconfig -a but now that is now happening.Don't know as what has happened.Can you please help me out
    Below information is given:
    [oracle@node01 ~]$ crs_stat -t
    Name Type Target State Host
    ora.hitesh.db application ONLINE ONLINE node02
    ora....h1.inst application ONLINE ONLINE node01
    ora....h2.inst application OFFLINE OFFLINE
    ora....SM1.asm application ONLINE ONLINE node01
    ora....01.lsnr application ONLINE ONLINE node01
    ora.node01.gsd application ONLINE ONLINE node01
    ora.node01.ons application ONLINE ONLINE node01
    ora.node01.vip application ONLINE ONLINE node01
    ora....SM2.asm application ONLINE ONLINE node02
    ora....02.lsnr application ONLINE ONLINE node02
    ora.node02.gsd application ONLINE ONLINE node02
    ora.node02.ons application ONLINE ONLINE node02
    ora.node02.vip application ONLINE ONLINE node02
    Listner status on node01 is given:
    [oracle@node01 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 06-APR-2013 12:59:29
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER_NODE01
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 06-APR-2013 11:59:03
    Uptime 0 days 1 hr. 0 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /home/oracle/oracle/product/10.2.0/db_1/network/log/listener_node01.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.131)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "hitesh" has 2 instance(s).
    Instance "hitesh1", status READY, has 2 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    Service "hiteshXDB" has 2 instance(s).
    Instance "hitesh1", status READY, has 1 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    Service "hitesh_XPT" has 2 instance(s).
    Instance "hitesh1", status READY, has 2 handler(s) for this service...
    Instance "hitesh2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [root@node01 oracle]# crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthy
    [root@node01 oracle]# ps -ef | grep lmon
    oracle 5741 1 0 12:07 ? 00:00:03 ora_lmon_hitesh1
    root 22582 20805 0 13:01 pts/2 00:00:00 grep lmon
    oracle 23643 1 0 11:58 ? 00:00:01 asm_lmon_+ASM1
    Please let me know what information else is required
    Edited by: user12924280 on Apr 6, 2013 12:36 AM

    Since you didn't say "thank you", I assumed my time was of no value to you.
    However, I shall try again.
    There is no relationship between instance failure and VIP failover. How can there be? What if you are running ten instances on each node, and one fails? Would you want the VIP to relocate? And I've already told you how to test it: kill the node. Just reboot it.

Maybe you are looking for

  • Can we use multiple queries on one template

    Can we use multiple queries on one template

  • Lost i-Tunes and need to get all my music back onto it

    Hi everybody, I really need some help! Last week my computer crashed and I lost every files I have had, so basically I have bought a new computer with nothing on it. The last two days I have been installing new files and other things. Now the thing i

  • Cross company code clearing between vendors

    Hi, I have 2 vendor incoice (KR)in company code 2000. Vendor No. 625001. I am also having vendor 625001 in company code 1000. In company code 1000, I have vendor Payment KZ document. I have to clear CC 2000 vendors by using CC1000 vendor. Note: In OB

  • My very messed up ipod nano

    I've had my Ipod nano for about a month, I havent used it that mcuh, havent dropped it, gotten it wet, or anything like that. Since a couple days ago it's had two problems: When I pick a song other than the Sk8er boi live acoustic EP, it just scrolls

  • SQL Query: How to pass list of values to the IN operator

    Hi, I'm trying to pass a list of values to the WHERE <a> IN <list> I dont want to use dynamic cursors (REF CURSOR). Is this possible using Oracle SQL? Please let me know. My program: DECLARE list_of_ids := '10, 20, 30'; SELECT MAX(sal) INTO max_sal F