9i AS mod-plsql  RAC

Does anyone know if there is a way for mod_plsql in 9iAS to detect node failure in a RAC environment?
It appears that when a node fails in a RAC environment mod_plsql sessions connected to the node hang. I suspect that is because the session does not die it is moved to another node but mod_plsql is not aware of it.
It looks like it is addressed in 10gAS with the connection validation parameter. However this is not an option in this case. Any suggestions are appreciated.
Thanks

There is another option if he is keeping his session information in a table.
You'll need:
1. Table with session_id and user_id in your customer app.
2. Table with form_name, form_id, and connection information. (you can normalize this if you wish)
3. Stored Procedure that accepts session_id and form_id and has output parameters for connection information (username, password, instance) and the form name.
4. New user that only has connect and execute on your stored procedure.
5. Add section to your formsweb.cfg file that has the userid and password specified of the user you created in the above step.
6. Create a form that accepts session_id and form_id parameters. The form will connect to the database specified in the formsweb.cfg file and then execute the stored procedure you created in step 3. Then form will then either show an access denied message or close the current connection, create a new connection, and then launch the intended form.
You could make it more secure by granting the launcher user a role that requires a password, grant the role your stored procedure, and then hard code the role password in the fmx. That way, the launcher user only has connect and a role that can't be turned on unless they have the role's password.

Similar Messages

  • Mod/PlSql Report without 'save as' menu and with print control

    I have to design a secure report. They want me to design it in a secure way so that people can see their special data on the screen but can not have a 'Save as' menu, and plus people can print their reports only three times in a month, no more.
    I have had prepared it in mod/plsql but they wanted me to add these controls later. I think having these controls on html output is impossible, so back to Reports changed my mind.
    I need help. Any idea ??
    Thanks so much..

    Impossible. You control what the server sends the client - a HTML page.
    You cannot control what the client does with it. The client can be a number of different browsers. The client can be a tty telnet type client. The client can wear suspenders and a bowler hat. The client can wear ballet shoes and a tutu.
    To think that one can control the client's management/control of that data (specifically web browser based) from a mod_plsql server side PL/SQL proc, is a fatal misunderstanding of the very fundamental principles of client-server.

  • URGENT..error when trying to access mod plsql link on intial 9ias server page

    Can anyone provide me with a solution to my problem?
    When I finished my installation of 8.1.7.1(patchset)DB, then 9ias 2.1
    I try to access the mod plsql link to access the server gateway. However the following error appears.
    'You cannot login because there is no configuration information stored in the enabler configuration table. (WWC-41439)'
    I've found out it might be due to the SSOHash java class not executing. As a result I ran an sql statement that showed i'm missing login server data. Tried a fix but didn't work.
    Does anyone know what I can do apart from a re-installation?
    thanks

    Did you run ssodatan in order to setup the wwsec_enabler_config_info table?
    Eric

  • Mod plsql, 404 errors, worse with 9.0.4

    While most of our users have decent network connects, we have some using dial-up -- and some of those have shared dialup or low-speed phone companies).
    One application, using mod-plsql, works for nearly all these users with the old Application Server 9iAS 1.0.2. But when they try to use OAS 9.0.4, on a much faster piece of hardware, they're getting 404 errors and other timeouts.
    These connections can be pretty marginal. Maybe 10% of these low-speed users had problems with 1.0.2. Maybe 50% of them have problems with 9.0.4. So I'm looking to reduce that 50% to 10% or lower.
    Same database, same plsql programs, and the users with high-speed connections are getting significantly better performance with 9.0.4. But we can't shut down the old app server until we can get these users working on the new one.
    I suspect a difference in the apache config. But before we start opening TARs and changing configuration parameters, I wanted to see if anybody had seen this sort of thing, and if there are any known solutions.
    Thanks,
    -- jim

    Hi,
    We are facing similar problem. Were you able to solve the issue

  • DAD config / mod plsql / apache2

    I’m not sure if this is the right forum….please let me know if I need to post elsewhere.
    Using mod/plsql with apache2 and 11gR2 standard edition one, I need to setup an environment where each client has its own url, such as this:
    https://theserver.com/thedad/client1
    https://theserver.com/thedad/client2
    https://theserver.com/thedad/client3
    All clients use the same dad, yet need different URLs. Is there a way to do this with apache / mod plsql?
    I’ve considered this:
    https://client1.theserver/thedad
    https://client2.theserver/thedad
    https://client3.theserver/thedad
    This would work, I’d rather not have sub domains though.
    I've also considered:
    https://theserver.com/dad1/client1
    https://theserver.com/dad2/client2
    https://theserver.com/dad3/client3
    This works as each dad can point to the same db user. Problem with this is suppose there are 50 clients, having 50 dads is not a good solution.
    Is there some way to have multiple clients each having its own url while sharing a single dad?
    Edited by: brian.mcginity on Jan 29, 2012 2:06 PM

    Thanks for your help. client1 is the id of the client and not a procedure.
    In the example url: https://theserver.com/thedad/client1 client 1 is the id of the client not the procedure being called.
    So to call proc_a the url would look like: https://theserver.com/thedad/client1/proc_a
    For client2 to call proc_a the url would be: https://theserver.com/thedad/client2/proc_a
    There are many clients, procedures and packages, like:
    https://theserver.com/thedad/client1/proc_a
    https://theserver.com/thedad/client1/proc_b
    https://theserver.com/thedad/client2/proc_b
    https://theserver.com/thedad/client3/proc_b
    https://theserver.com/thedad/clientN/proc_N

  • Restricted mode in rac

    Hi, in our RAC environment, we are enabling egach instance in RESTRICT mode to block incoming connections. But we need specific users to login with restricted session privilege. This is okay with single instance, but with RAC, all users cannot connect. What should be the problem? Thanks

    It works just fine with me in 11.2.0.4. My instances are in restricted mode and yet I can connect locally.
    SQL> select instance_number,logins
      2  from gv$instance;
    INSTANCE_NUMBER LOGINS
                  1 RESTRICTED        <== both instances in restricted mode.
                  2 RESTRICTED
    SQL> exit           <== exit from sqlplus
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    [oracle@nau-rac01 ~]$ sqlplus /nolog
    SQL*Plus: Release 11.2.0.4.0 Production on Thu Jul 24 15:25:16 2014
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    SQL> connect peasland          <== connect with my dba account.
    Enter password:
    Connected.
    So it works in 11.2.0.4 just fine. I'll ask one more time.... "please post the exact steps taken and the exact error messages." Otherwise I can't be of much help.
    Cheers,
    Brian

  • Http server to configure mod plsql for creating DAD required by Workflow

    Hi,
    I have a question.
    Actually, I am working on Oracle Workflow 2.6.3, which need the Oracle HTTP server to configure the DAD.
    I have already installed Oracle HTTP server (which called Apache Standalone 10.1.2.0.0) using the Oracle Database10g Companion Products 10.2.0.1.0 CD on my Windows 2000 SP4.
    At the end of the installation, it refers to http://<computer_name>:7777
    to open the HTTP server page.
    It seems work fine that it showed the Welcome page of HTTP Server.
    But I could'nt do anything of using the mod_plsql components nor another
    Modules (mods) which showed in the welcome page
    since there is no link to such things.
    BTW, I have experienced with the HTTP server previously on Oracle9i
    When I open the HTTP server page, it showed links to some Modules (mods)
    components such as mod_plsql, etc.
    Does it need to be configured or anything else to use the links like in Oracle9i?
    Or the new Oracle HTTP server does not support for this thing?
    Please, can anybody help me to solve this problem.
    Thanks,
    Buntoro

    look at
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b12255/confmods.htm
    hope this helps
    carlos

  • Help! My MacPro goes into high speed loud FAN mode and Races..

    So My MAC PRO Intel/  dual hard drive tower computer..will be 7 years old this March, last night it went into LOUD FAN mode..racing..and pretty loud...like air was blowing through the whole thing; I've seen someone else's computer do this; WHAT is this!??  I couldn't shut down by pressing ESC/      I had to HOLD the power button five seconds for it to shut down.  WHY does it do this?   Im on Snow Leapord I think 10.4.11
    It was a scary thing... What is this?? thx in advance, Larry NYC

    basically this is a hardware problem causing a kernal panic.  It could be any number of things.
    A good place to start is to boot from your system recovery disk and run some hardware diagnostics.
    http://support.apple.com/kb/ht1509
    I had this happen years ago with a G5 and finaly traced it to problems in the motherboard.  Total loss.
    Oh, and BTW Snow Leopard is 10.6.  10.4 is Tiger.

  • Why doesn’t the MOD/PLSQL do this?

    When using database authentication the users of my htmlDB applications all have an actual Oracle Database account. The passwords are set to “Expire” every X number of days and all that stuff.
    When one of my users lets their password expire instead of asking them to change it like SQLPlus does it just given them a page not available error.
    Any idea how to get around this, while continuing to use database authentication?

    Hi Marco,
    Are you trying to mean that in OracleXe database authentication is available with HTMLDB means u can create any user have sysdba priveleges as HTMLDB admin and any database user to work with HTMLDB without having any workspace provision for the user ?
    Regards,
    ROSY

  • Getting mod/Plsql generated automatically

    I'm looking for a tool that can aid in generating a bunch of CRUD screen - with a basic layout.
    Does this exists?
    I'm considering using Apex - but it might be to much wprk to set it up.... and BTW; am I allowed to grab the code produced by Apex and include that in my own applicaiton?
    Rgds, Henrik

    You might try [Quest Code Gen Utility|http://www.toadworld.com/EXPERTS/StevenFeuersteinsPLSQLObsession/ProductsandUtilities/QuestCodeGenUtilityQCGU/tabid/203/Default.aspx] , it's free.
    HTH

  • Using native APEX on 11gR2 RAC

    Hi all,
    I'm not sure if this is the right forum for this question, please forgive me if it isn't.
    When using native APEX on 11gR2 RAC, is it possible to balance connections between instances ? If yes, how ?
    I've successfully installed 11gR2 RAC, and configured APEX, and I'm able to use it, but it runs on one instance only.
    Thanks in advance
    Antoine

    Hi Antoine,
    How are you connecting to the database, via the Apache HTTP Server mod/plsql connector or are you using the embedded PL/SQL gateway (EPG)?? In the first case connecting to the SCAN listener should balance the connections between the instances if they are both registered for the service you connect to. I'm not sure how the EPG works under RAC. In general, I'd prefer the application to only connect to one of the RAC instances by default and only transfer across due to failover.
    Rob..

  • HTML generated by PLSQL not working when migrating from 9i to 10g

    Hello everybody,
    We migrated a 9i database (web+application server on Windows) to 10gR2 (web+application server on Linux). The database contains a package that dynamically generates HTML and JSP tags .
    Problem: the HTML code generated in 10g by the package is different by the HTML code generated in 9i. The package generating the html in 10g is identic, equal with the package generating html in 9i. We also receive a the following message error in 10g when loading the web page in 10g:
    " 'Style' is null or undefined". It seems there is a problem with the Style object.
    Anybody has seen something similar, because I am not very familiar with HTML and JSP.
    Any help will be appreciated.
    Thank you, Daniela.

    Thank you for your reply.
    Yes, it's done using MOD-PLSQL version 10.1.2.0.2.
    I did as you said: compared the 2 generated HTML files. It's not that it doesn't generate all tags. It generates all tags but some of them are different, that is it screws them up.
    Here it is some example code.
    For example, in 9i I have the following code:
    div id=div_plus_GENERALE style="cursor:hand; display:none;"
    <td> width=8 </td>
    <td id=butt align=left style="font-family:Verdana,Tahoma;
    font-size: 10px; font-weight: 400; color: '#ffffff';
    background-color: '';
    "onClick="if (butt_clicked) butt_clicked.style.cssText=restore_butt_style;
    butt_clicked=this; restore_butt_style=butt_off_lit;
    this.style.cssText=butt_on_lit;
    var x = document.getElementById('Freccia_' + freccia_old);
    x.style.display = 'none';
    Freccia_sitointer_anagrafica_anagrafica_cliente_punto.style.display='block';
    freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
    onMouseOver="this.style.cssText=butt_on_lit;"
    onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</td></tr>
    <tr>
    <td height=2></td>
    </tr>
    </table>
    In 10g the HTML code looks like this:
    div id=div_plus_GENERALE style="cursor:hand;"
    <td width=8> </td>
    <td align=left style="font-family:Verdana,Tahoma;
    font-size: 10px; font-weight: 400; color: '#ffffff';
    background-color: '';">
    <a href="sitointer.anagrafica.anagrafica_cliente_punto target="frameCenter"
    onClick="var x = document.getElementById('Freccia_' + freccia_old);
    x.Style.visibility='hidden';
    Freccia_sitointer_anagrafica_anagrafica_cliente_punto.Style.visibility='visible';
    freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
    onMouseOver="this.style.cssText=butt_on_lit;"
    onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</a></td></tr>
    <tr>
    <td height=2></td>
    </tr>
    </table>
    At this point I don't know what should I investigate next.
    Thank you very much.
    Daniela

  • In 2 node RAC. After shutting down database not able to connect.

    I have 2 node Oracle 10g RAC (RAC-1 and RAC-2) on Windows 2003 Server.
    After shutting down instance on RAC-2
    I am not able to connect to database from any node.
    I did this on RAC-2 :
    SQL>shutdown immediate;
         Database went down smoothly.
    SQL>conn sys/oracle@rac as sysdba
    ERROR:
    ORA-12514: TNS:listener does not currnetly know of services requested in connect descriptor.
    My first node is running fine but I am not able to connect to database from first node or from client.
    Any suggestion???
    Regards:
    Sushil

    One question I want to ask, what should be the Listener Services startup mode in RAC? MANUAL or AUTOMATIC???Ideally, if you are instances and other oracle resources are set to autostart then there is no reason for you to set the listener to MANUAL. You may like to change it to AUTOMATIC so that on reboot it comes up without manual intervention.

  • ORA-00257: archiver error. Connect internal only, until freed in RAC

    Hi All,
    I have installed 2-node 10gR2 RAC on RHEL4 with MSA 1000 as a shared storage. I am using ASM to store the databases files and archive log files in different diskgroups. The ASM diskgroup where archive log file stored is of 100GB size with RAID5 enabled. The database is Archive enabled. I imported only one schema of 4GB of size to the RAC db. today i'm getting "ORA-00257: archiver error. Connect internal only, until freed". Now, i want to stop the archive log mode remove files.
    1. How can i can change the archive log mode to NOARCHIVELOG mode in RAC db?
    2. How can i delete archive log files after changing the archivelog mode from ASM? I dont want take a backup of the database as the data is not important.
    Please help..my RAC db is freezed...
    Thanks,
    Praveen

    How can i rectify this permanentlyHow do you rectify this "error" everytime you get it ? If you are clearing / deleting files in the db_recovery_file_dest location than you would know that you should either
    a. Increaes db_recovery_file_dest_size (ensuring that the filesystem does have that much space, else increase the filesystem size as well !)
    b. retain fewer files in this location (reduce retention or redundancy)
    If you aren't using a db_recovery_file_dest or the archivelogs are going elsewhere and you are manually purging archivelogs, you should look at increasing the size of the available filesystem.
    If you are retaining multiple days archivelogs on disk, and running daily full backups, re-consider why you have multiple days archivelogs on disk.
    If the problem occurs because of large batch jobs generating a large quantum of redo, either buy enough disk space OR rre-consider the jobs.

  • Steps to Enable Archive log - RAC 10gR2(10.2.04)

    Hi
    Can anyone help on steps to enable archive log in RAC + ASM environment.
    db version- 10.2.0.4 , filesystem - ASM, Two nodes(db1,db2)
    Regards & Thanks

    you can follow below steps to configure your RAC database archive/noarchive log mode
    Putting the database into archive/noarchivelog mode in RAC environment:
    ========================================================================
    1. Set cluster_database=false for the instance.
    alter system set cluster_database=false scope=spfile sid='PROD1';
    2. Shutdown all the instances accessing the database.
    srvctl stop database -d prod
    3. Mount the database using the local instance.
    startup mount
    4. Enabling archiving / noarchiving
    alter database archivelog;
    OR
    alter database noarchivelog;
    5. Change the parameter cluster_database=true for the instance prod1.
    alter system set cluster_database=true scope=spfile sid='PROD1';
    6. Shutdown the local database.
    shutdown
    7. Bring up all the instances.
    srvctl start database -d prod

Maybe you are looking for