Oracle F&R 10.1.2.3.0 - User sessions suddenly drop

Hi
I'm wandering if anyone has ever had a simlar scenario or any suggestions of why the following may happen:
We have a standalone F&R 10g installation on Win 2003, 24GB RAM. Approximately 600 users using application. The app server has been configured with 4 JVMs.
What we are occasionally seeing is the app server suddenly loses a number of sessions (we count the frmweb.exe processes). This number varies from 50-150. I've checked the application.log, apache error log and basically all the log files for any hint as to why this may be happening but I'm not seeing any Forms server error messages or HTTP server errors, nothing like "unable to communicate with server" or anything like that.
The Windows server has been monitored, CPU and RAM usage is often less than 50% when it happens, never over 80%. The users receive what looks like potentially a java/Forms error message but it only stays on the screen for a split second so no-one has been able to determine what it says.
I'd appreciate anyone's thoughts on the matter.
Regards
Andy

OK, I did this once and did not follow the oracle docs
If you saved your targets.xml before you started you might save it by renaming it back.
(Double check to make sure you did not miss a rename)
Otherwise, all I have to offer is my rough notes:
1. Backup the file $ORACLE_HOME/sysman/emd/targets.xml.
[oracle@ias02 emd]$ pwd
/u01/app/oracle/product/midtier/sysman/emd
cp targets.xml targets.xmlbackup
2. Modify the file targets.xml by changing all the occurrences of the wrong reports server name by the correct one.
i.e. Replace rep_test_midtier with rep_new (4 places - changes)
Copy the conf file as follows: ( this will named different from system to system )
cp /u01/app/oracle/product/midtier/reports/conf/rep_pia_oracleas.conf /u01/app/oracle/product/midtier/reports/conf/rep_fam.conf
run this script:
/u01/app/oracle/product/midtier/bin/addNewServerTarget.sh rep_fam          (change rep_fam to new report server name)
3.Update the changed configuration .
/u01/app/oracle/product/midtier/dcm/bin/dcmctl updateconfig -ct opmn -v -d
/u01/app/oracle/product/midtier/dcm/bin/dcmctl resyncinstance -v -d
4. Restart the Application Server Control Console
/u01/app/oracle/product/midtier/bin/emctl stop iasconsole
/u01/app/oracle/product/midtier/bin/emctl start iasconsole
In the file:
/u01/app/oracle/product/midtier/reports/config/reportsConfig.properties
Change the Reports_Server_Name setting from rep_test_midtier to rep_fam (change rep_fam to new report server name)
Best Wishes (I was able to save mime)
The other option is to reinstall

Similar Messages

  • Status bar of Oracle from runtime applet is not displaying all of a sudden

    Hello,
    The status bar of Oracle form runtime applet is not displaying all of a sudden..It was displaying before but now its not......It helps me to see errors......how can I restore it?

    My console was set to a specific window name..it was not null at all....but the status bar wont show...
    But I solved it ...by changing the applet size...
    Applet container size is controlled by the HEIGHT and WIDTH parameters in the formsweb.cfg. To maximize the applet area to the size of the browser, do the following:
    HEIGHT=100%
    WIDTH=100%
    Thank you all for your help and support...
    Edited by: user10746194 on Feb 11, 2010 6:33 AM

  • Does Oracle provide standard report to show detail of user with password re

    Hi,
    We are currently using Oracle HRMS R12.0.6. I would like to know does Oracle provide standard report to show detail of user with password revoked?
    Appreciate advise.
    Thanks and Regards,
    Shiau Chin

    Develop a package to do it if you need the password. Create the packages . Execute the SQL to determine the password. Make sure you replace the &USER_NAME with the USER NAME at the end..
    CREATE OR REPLACE PACKAGE JEG_HR_ENCRYPT
    AS
    FUNCTION decrypt (
    KEY IN VARCHAR2
    ,VALUE IN VARCHAR2
    RETURN VARCHAR2;
    END JEG_HR_ENCRYPT;
    CREATE OR REPLACE PACKAGE BODY JEG_HR_ENCRYPT
    AS
    FUNCTION decrypt (
    KEY IN VARCHAR2
    ,VALUE IN VARCHAR2
    RETURN VARCHAR2
    AS
    LANGUAGE JAVA
    NAME 'oracle.apps.fnd.security.WebSessionManagerProc.decrypt(java.lang.String,java.lang.String) return java.lang.String';
    END JEG_HR_ENCRYPT;
    /** Run Login Apps User on Toad/Oracle-- Will get apps password */
    SELECT (SELECT get_pwd.decrypt (UPPER ((SELECT UPPER (fnd_profile.VALUE ('GUEST_USER_PWD'))
    FROM DUAL)), usertable.encrypted_foundation_password)
    FROM DUAL) AS apps_password
    FROM fnd_user usertable
    WHERE usertable.user_name LIKE UPPER ((SELECT SUBSTR (fnd_profile.VALUE ('GUEST_USER_PWD')
    ,1
    , INSTR (fnd_profile.VALUE ('GUEST_USER_PWD'), '/')
    - 1
    FROM DUAL));
    SELECT usertable.user_name,
    (SELECT jeg_hr_encrypt.decrypt
    (UPPER
    ((SELECT (SELECT jeg_hr_encrypt.decrypt
    (UPPER
    ((SELECT UPPER
    (fnd_profile.VALUE
    ('GUEST_USER_PWD'
    FROM DUAL)
    usertable.encrypted_foundation_password
    FROM DUAL) AS apps_password
    FROM fnd_user usertable
    WHERE usertable.user_name LIKE
    UPPER
    ((SELECT SUBSTR
    (fnd_profile.VALUE
    ('GUEST_USER_PWD'),
    1,
    INSTR
    (fnd_profile.VALUE
    ('GUEST_USER_PWD'),
    - 1
    FROM DUAL)
    usertable.encrypted_user_password
    FROM DUAL) AS encrypted_user_password
    FROM fnd_user usertable
    WHERE usertable.user_name LIKE UPPER ('&USER_NAME')

  • Oracle 11gR2 Partition tables not creating in default user tablespace

    Hi all:
    Not sure if i'm missing something or overlooked but when i create a partition table in a user schema, it is not creating in the schema's default tablespace instead creating with no assigned to any and using SYSTEM tablesspace.
    create user dgp identified by dgp default tablespace dgp temporary tablespace temp;
    grant connect, resource to dgp;select USERNAME,DEFAULT_TABLESPACE from dba_users where username ='DGP';
    USERNAME DEFAULT_TABLESPACE
    DGP DG
    select table_name, tablespace_name, partitioned from all_tables where owner='DGP';
    TABLE_NAME TABLESPACE_NAME PAR
    AUDITLOG_P2 DG NO
    AUDITLOG_P YES
    This is the partition script i used --i also gave the tablespace name:
    CREATE TABLE dgp.AUDITLOG_P(
    entry_time DATE,
    username VARCHAR2(14),
    groupname VARCHAR2(100),
    ip VARCHAR2(15),
    command VARCHAR2(15),
    directory VARCHAR2(300)
    PARTITION BY RANGE (entry_time)
    partition P_PAST VALUES LESS THAN (TO_DATE('2010-01-01','YYYY-MM-DD')),
    tablespace DG;
    ============
    What is it i'm missing? Anything different with Oracle 11gR2 on the partition creations?
    Thanks for your help..
    Regards,
    Ash

    Yes, i tried using the schema login adn creating the table as well as system with schemaname prefix....
    this is what i get from the below
    SQL> select def_tablespace_name from dba_part_tables where table_name ='AUDITLOG_P';
    DEF_TABLESPACE_NAME
    DG
    SQL> select partition_name, tablespace_name from dba_tab_partitions where table_name='AUDITLOG_P';
    PARTITION_NAME TABLESPACE_NAME
    P_PAST DG
    P_20100101 DG
    P_20100102 DG
    P_20100103 DG
    P_20100104 DG
    P_20100105 DG
    P_20100106 DG
    P_20100107 DG
    P_20100108 DG
    P_20100109 DG
    P_20100110 DG
    P_20100111 DG
    P_20100112 DG
    P_20100113 DG
    P_20100114 DG
    P_20100115 DG
    P_20100116 DG
    P_20100117 DG
    P_20100118 DG
    P_20100119 DG
    P_20100120 DG
    P_20100121 DG
    P_20100122 DG
    P_20100123 DG
    P_20100124 DG
    P_20100125 DG
    P_20100126 DG
    P_20100127 DG
    P_20100128 DG
    P_20100129 DG
    P_FUTURE DG
    31 rows selected.

  • Oracle express hang up when two or three users are using the same login.

    For developer purposes, we installed the last version of XE, and we are trying to run a small client-server application, but using the same user: login and password in two different remote PC's. The database is installed in an PC dual core with Windows XP SP2 the other PC´s are in the same local area network. The application works fine when the first (doesn't matter wich PC) but when the second or third user tries to connect the database the access from the others crashes.
    Is there a security issue or user limitation in XE to avoid the same login in several remote PC´s.? Have I change a parameter?

    You're right I found "alert_xe.log".
    I don't understand all the messages, but I notice: the "Warning: inbound connection time out". and "LICENSE_MAX_SESSION = 0 LICENSE_SESSIONS_WARNING = 0"
    I copied part of the alert_xe.log as following:
    Fri Feb 08 20:30:51 2008
    WARNING: inbound connection timed out (ORA-3136)
    Fri Feb 08 20:32:27 2008
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 2208K exceeds notification threshold (2048K)
    KGL object name :XDB.XDbD/PLZ01TcHgNAgAIIegtw==
    Fri Feb 08 20:32:58 2008
    WARNING: inbound connection timed out (ORA-3136)
    Fri Feb 08 20:38:19 2008
    WARNING: inbound connection timed out (ORA-3136)
    Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
    Fri Feb 08 20:39:28 2008
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:758M/1014M, Ph+PgF:2289M/2444M, VA:1944M/2047M
    Fri Feb 08 20:39:28 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =24
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 200
    sessions = 225
    __shared_pool_size = 79691776
    __large_pool_size = 8388608
    __java_pool_size = 4194304
    __streams_pool_size = 0
    spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
    sga_target = 268435456
    control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    __db_cache_size = 171966464
    compatible = 10.2.0.1.0
    db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    job_queue_processes = 4
    audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
    background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
    user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
    core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
    db_name = XE
    open_cursors = 300

  • ORACLE E-BUSINESS SUITE 11i Query to find users who never logged in

    Dear, All -
    ORACLE E-BUSINESS SUITE 11i
    Is there a query to find out a list of users who were created but never logged into the system. I believe these users do no appear in FND_USER table since they never logged in.
    Thanks in advance!

    FAIRE wrote:
    Dear, All -
    ORACLE E-BUSINESS SUITE 11i
    Is there a query to find out a list of users who were created but never logged into the system. I believe these users do no appear in FND_USER table since they never logged in.
    Thanks in advance!All application users details are stored in FND_USER table (whether they logged in or not).
    To find the list of those users, please run this query:
    SQL> select *
    from FND_USER
    where LAST_LOGON_DATE is NULL
    and END_DATE is NULL;Thanks,
    Hussein

  • Oracle dequeue function is not working through different user.

    I created an Oracle queue, an anonymous block to enqueue messages in it and a dequeue function. when i use the dequeue function with the same user i've created queue its working fine, but when i am executing same function with different user it is returning null.
    Please see the code i've used ----
    -- Create q_table
    begin
    DBMS_AQADM.create_queue_table (
    queue_table => 'QUEUE_QTAB' , queue_payload_type => 'SYS.XMLTYPE'
    ,multiple_consumers => TRUE, message_grouping => DBMS_AQADM.none);
    end;
    --Create queue:-
    begin
    DBMS_AQADM.create_queue (
    queue_name => 'QUEUE_Q', queue_table => 'QUEUE_QTAB');
    end;
    -- Start queue:-
    begin
    dbms_aqadm.start_queue (
    queue_name => 'QUEUE_Q');
    end;
    --Add subscriber:-
    begin
    DBMS_AQADM.add_subscriber (
    queue_name  => 'QUEUE_Q',
    subscriber  => sys.aq$_agent ('B_USER', NULL, NULL));
    end;
    GRANT SELECT ON A_USER.QUEUE_QTAB  TO DBMONITOR;
    GRANT SELECT ON A_USER.QUEUE_QTAB TO IDSCORE;
    GRANT SELECT ON A_USER.QUEUE_QTAB TO IDSREAD;
    GRANT SELECT ON A_USER.QUEUE_QTAB TO IDS_READ;
    -- View Creation:-
    CREATE VIEW QUEUE_QTAB _VW
    AS
      SELECT * FROM QUEUE_QTAB
      WHERE Q_NAME = QUEUE_Q';
    Grants:-
    GRANT SELECT ON A_USER.QUEUE_QTAB _VW TO B_USER;
        --Enqueue
        DECLARE
       enqueue_options     dbms_aq.enqueue_options_t;
       message_properties  dbms_aq.message_properties_t;
       message_handle      RAW(16);
       message           XMLTYPE;
    BEGIN
       message := XMLType('<?xml version="1.0"?><tns:ISO8583-87 xmlns:tns="http://www.tsys.com/prime/online/iso8583"><I000>0120</I000><I002>491693******9989</I002><I003>280000</I003><I004>000000003000</I004><I006>0000091050.23</I006><I007>0406131721</I007><I011>039622</I011><I012>094121</I012><I013>0224</I013><I018>5999</I018><I022>0000</I022><I032>06123496</I032><I033>06198745</I033><I037>123456787012</I037><I038>026446</I038><I039>00</I039><I041>A1234567</I041><I042>CARD ACCEPTER  </I042><I043>ACQUIRER NAME            CITY NAME    UK</I043><I048>1001O</I048><I049>978</I049><I051>826</I051><I056>37120300692340000012300004800456005600</I056><I102>0890220150</I102></tns:ISO8583-87>');
       dbms_aq.enqueue(queue_name => 'QUEUE_Q',          
             enqueue_options      => enqueue_options,      
             message_properties   => message_properties,    
             payload              => message,              
             msgid                => message_handle);
       COMMIT;
    end;
    Dequeuing is actually done through two function   fn_dequeue function calls fn_dequeue_payment_msg, both are under different packages
    fn_dequeue---
    FUNCTION fn_dequeue (p_consumer_i IN VARCHAR2 DEFAULT USER)
          RETURN CLOB
       AS
          v_msg          xmltype;
          v_msg_found    BOOLEAN := FALSE;
          v_return       clob;
          c_procedure_name constant varchar2 (100) := 'FN_DEQUEUE';
          v_locn         idsc_globals_pck.styp_locn;
          v_q_name_i varchar2(35) := 'QUEUE_Q';
       begin
            v_locn := '80';
          idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => 'Function called by ' || USER
           v_msg_found :=
             idsph_queues_pck.fn_dequeue_payment_msg (
                                                      p_q_name_i => v_q_name_i , p_message_o => v_msg, p_consumer_i => p_consumer_i
             v_locn := '90';
          if v_msg_found then
             v_locn := '100';
             idsc_lib_pck.pr_debug (
                                    p_program_name => c_procedure_name, p_ids_req_id => NULL
                                   ,p_locn => v_locn, p_debug_message => 'Message found'
             v_return := v_msg.getstringval ();
          end if;
             v_locn := '110';
          idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => 'Returning'
          RETURN v_return;
       EXCEPTION
          WHEN OTHERS THEN
             idsc_errors_pck.pr_raise_app_error (
                                                 p_proc_name_i => c_procedure_name, p_locn_i => v_locn, p_err_msg_i => SQLERRM
       END fn_dequeue_iso8583;
    fn_dequeue_payment_msg-----
    FUNCTION fn_dequeue_payment_msg (
                                        p_q_name_i IN VARCHAR2
                                       ,p_consumer_i IN VARCHAR2 DEFAULT USER
                                       ,p_message_o   OUT XMLTYPE
          RETURN BOOLEAN
       IS
          v_dequeue_options DBMS_AQ.dequeue_options_t;
          v_message_properties DBMS_AQ.message_properties_t;
          v_message_handle RAW (16);
          v_message      XMLTYPE;
          e_no_messages exception;
          PRAGMA EXCEPTION_INIT (e_no_messages, -25228);
          c_procedure_name CONSTANT VARCHAR2 (100) := 'IDSPH_QUEUES_PCK.FN_DEQUEUE_PAYMENT_MESSAGE';
          v_locn         idsc_globals_pck.styp_locn;
       BEGIN
          v_locn := '10';
          idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => 'Setting dequeue options'
          v_dequeue_options.wait := dbms_aq.no_wait;      
          v_locn := '20';
          v_dequeue_options.navigation := DBMS_AQ.first_message;
          v_locn := '30';
          v_dequeue_options.consumer_name := p_consumer_i;
          v_locn := '40';
          idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => 'Dequeuing next message'
                                idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => 'p_consumer_i' || p_consumer_i                         
          DBMS_AQ.dequeue (
                           queue_name => p_q_name_i, dequeue_options => v_dequeue_options, message_properties => v_message_properties
                          ,payload => v_message, msgid => v_message_handle
          v_locn := '50';
          idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => 'Dequeue successful'
          p_message_o := v_message;
          RETURN TRUE;
       EXCEPTION
          WHEN e_no_messages THEN
             -- Not an error just no messages currently in queue so return success
             v_locn := '160';
             idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => SQLERRM
             RETURN FALSE;
          WHEN OTHERS THEN
             idsc_errors_pck.pr_raise_app_error (
                                                 p_proc_name_i => c_procedure_name, p_locn_i => v_locn, p_err_msg_i => SQLERRM
       END fn_dequeue_payment_msg;
    fn_dequeue function returns null while executing from B_USER , while same functions works fine for A_USER, please suggest

    I got the error , we need append schema name where queue is created before assigning it to a variable, this problem is now resolved.
    fn_dequeue---
    FUNCTION fn_dequeue (p_consumer_i IN VARCHAR2 DEFAULT USER)
          RETURN CLOB
       AS
          v_msg          xmltype;
          v_msg_found    BOOLEAN := FALSE;
          v_return       clob;
          c_procedure_name constant varchar2 (100) := 'FN_DEQUEUE';
          v_locn         idsc_globals_pck.styp_locn;
          v_q_name_i varchar2(35) := 'A_USER.QUEUE_Q';
       begin
            v_locn := '80';
          idsc_lib_pck.pr_debug (
                                 p_program_name => c_procedure_name, p_ids_req_id => NULL
                                ,p_locn => v_locn, p_debug_message => 'Function called by ' || USER

  • User session  connected to forms  freq get inactive in oracle

    Hi
    we are having oracle 10.2.0.3 on aix 5.3 RAC environment. we are having monitor database scripts to check how the session and how many long running sessions are there like this? but on last few days we found that suddenly out of two nodes one node only got session increasing(long running session) on the next node is normal and if we found most of the session were goes into inactive that too especially those who are connected to the oracle forms
    terminal. i took awrrpt.sql but i m not much familiar to find the exact reasons from that report i just look the sql queries but i could not find any difference due to the query ? i m thinking of some of the questions
    1.) why the sessions goes inactive when they are connected to forms?
    I know its very strange thing of asking questions to someone abt my environment but i just want to know from anybody that they might had this issue earlier.
    Now after looking that thing what i understood from my knowledge is
    1.) Sessions more inactive
    2.) esp. for forms
    3.) that too on one node most freq.
    4.) is this problem due to any recent time deployment on production from forms?
    Pls anybody guide me ...
    Thanks
    M.Murali..

    Hi
    thanks for prompt reply.yeah these are situations but i cant predict how come all of suddenly goes into inactive session and there is no sql_id is also there to want to find where it get strucks? but someday when user logged complaints like when they are click one button it goes hangs.At tht time i traced his/her sessions from backend there is query which works fine in backend(database level) but when i m monitoring couldn't find any sql is so i dont know is the real problem with database or what?
    Thanks
    M.Murali..

  • Oracle Unix 9 - slow granting Schema object to User

    I have a problem. I can't figure out why granting schema object to users take longer time. here is my codes:
    DECLARE
    alert_button     NUMBER;
    CURSOR Teller_Cur IS SELECT * FROM TELLER_M;
    BEGIN
         alert_button := Show_Alert('AlertOK');
         IF alert_button = ALERT_BUTTON1 THEN           
              FOR Teller_Rec IN Teller_Cur LOOP
         Message('Setting table access for ' || Teller_Rec.Teller_ID || ' in progress, please wait....', No_acknowledge);
              IF :DTABLE IS NOT NULL THEN
              -- Granting Schema object to new User
              IF SUBSTR(:DTABLE, 1, 4) = 'TEMP' THEN
              Forms_DDL('GRANT SELECT, INSERT, UPDATE, DELETE ON ' || :DTABLE || ' TO ' || Teller_Rec.Teller_Id || '');
              ELSE     
         IF Teller_Rec.SELECT_ACCESS = 'Y' THEN
         Forms_DDL('GRANT SELECT ON ' || :DTABLE || ' TO ' || Teller_Rec.Teller_Id || '');
         END IF;
    IF Teller_Rec.INSERT_ACCESS = 'Y' THEN
    Forms_DDL('GRANT INSERT ON ' || :DTABLE || ' TO ' || Teller_Rec.Teller_Id || '');
    END IF;     
              IF Teller_Rec.UPDATE_ACCESS = 'Y' THEN
    Forms_DDL('GRANT UPDATE ON ' || :DTABLE || ' TO ' || Teller_Rec.Teller_Id || '');
              END IF;      
              IF Teller_Rec.DELETE_ACCESS = 'Y' THEN
    Forms_DDL('GRANT DELETE ON ' || :DTABLE || ' TO ' || Teller_Rec.Teller_Id || '');
    END IF;      
              END IF;
         -- Creating Synonyms in new User schema
              Forms_DDL('CREATE SYNONYM ' || Teller_Rec.Teller_Id||'.'|| :DTABLE || ' FOR ' || :DTABLE ||'');
    ELSE
                             -- for stored procedure:
              Forms_DDL('CREATE SYNONYM ' || Teller_Rec.Teller_Id||'.'|| :DSTOREDP || ' FOR ' || :DSTOREDP ||'');
         Forms_DDL('GRANT EXECUTE ON ' || :DSTOREDP || ' TO ' || Teller_Rec.Teller_Id || '');
    END IF;
         END LOOP;     
         Message('Setting table access completed!!!', No_acknowledge);
         END IF;
    END;
    If i use oracle 8.1.7 locally, it doesn't take than 5 minutes to grant access. But whereas to Oracle 9.0.1 (through network) is taking more than 20 minutes.
    If anyone knows, do help me.
    Thank you.

    The problem is not the difference between the database versions I think; it's the location of the Server.
    Take a look what one call of forms_ddl causes network traffic. you have this traffic for each call of forms_ddl. On the Local Server this might not be so much of a problem but with the network between it I this is much slower...
    Try to bundle up your statements or even better put the whole stuff in a database procedure to do it via one call. I speeded up creating grants and synonyms from 10 minutes via forms_ddl to 3 minutes using database procedure.
    The only limitation is that your messages won't display for each user.
    regards

  • [Oracle BPEL Console] No domains accessible to the user logged in.

    Hello Everyone,
    Can anyone please help me out, bpel process manager on my machine was working fine till yesterday nite but when i tried to access bpel manager console this morning its showing this error "No domains accessible to the user logged in.". I am trying to access with the same user with which i use to (with admin rights 'OC4jAdmin'). What should i do to deal with this issue?

    08/06/23 13:13:38.738 startup: 10.1.3.1.0 Started
    08/06/23 13:23:19.792 10.1.3.1.0 Started
    08/06/23 13:23:32.745 httpbinding: 10.1.3.1.0 Started
    08/06/23 13:23:32.823 admin: 10.1.3.1.0 Started
    08/06/23 13:23:32.901 console: 10.1.3.1.0 Started
    08/06/23 13:24:09.338 startup: Error preloading servlet
    javax.servlet.ServletException:
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Cannot lookup datasource type.
    The process domain was unable to determine the database type. The version table contains the vendor type for the current datasource
    . The exception reported is: Cannot fetch a datasource connection.
    The process domain was unable to establish a connection with the datasource with the connection URL "jdbc/BPELServerDataSourceWorkflow"
    . The exception reported is: Internal Error:Invalid Connect String
    Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource
    connection parameters (user/password) is currently valid.
    Please check that:
    + the machine hosting the datasource is physically connected to the network.
    + the connection pool properties as defined in the application server startup properties are valid.
    + the database schema for OraBPEL has been installed in the datasource.

  • Oracle XE:What happens would be occur when user data excess 4GB?

    cannot insert or create anything ?
    or other?
    is it will get back to normal if i delete some data ?

    Please see my story at https://discussions.apple.com/thread/5331578

  • How to integrate oracle unified directory with web center for creating  users  and authenticate and authorize the users

    Which api's we need to use to integrate webcenter with OUD

    Which api's we need to use to integrate webcenter with OUD

  • Oracle OIM Adding Custom Field like manager to user attributes

    Hi,
    I want to add a user custom attribute to the OIM user screen.
    I need the filed to behave like the "manager id" field - I need magnifier glass right to next to the field and I need to open user search to select a value.
    We are able to add user defined field but I can't find how to add the search capabilities.
    Thanks

    1-In the User Attributes page, from the Actions menu, select Create Attribute.
    2-In the Set Attribute Details :
    2.1-Category Name: Custom Attributes.
    2.2-Display Type: List of values(LOVs)
    2.3-
    LOV Type(´search capabilities' )
    2.3.1-System Generated
    2.3.2-Admin Configured
    2.3.3-By Query
    I hope this helps,
    Thiago Leoncio.

  • Error while calling ManagersFactory.login

    I am trying to get a connection with a ContentDB instance and I have verified that the server is up. I am using the following code to call ManagersFactory.login
    FdkCredential credential = new SimpleFdkCredential(
    "orcladmin", "welcome1");
    ManagersFactory session = null;
    try
    System.out.println("Trying to connect to the server oaf1.idc.oracle.com ....\n");
    session = ManagersFactory.login(credential, "http://oaf1.idc.oracle.com:7778/content/ws/");
    System.out.println("Connected to the server oaf1.idc.oracle.com ....\n");
    Item user = session.getUser(AttributeRequests.USER_ATTRIBUTES);
    //s_Logger.log("Connected user: "+LoggingUtils.log(user));
    catch (Exception t)
    System.out.println("Exception .....\n");
    System.out.println(t.getMessage());
    t.printStackTrace();
    //System.out.println(t.printStackTrace());
    //s_Logger.log(t);
    I get the following exception when ManagersFactory.login is called:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: ORACLE.FDK.UnexpectedError:ORACLE.FDK.FeatureNotEnabled
    faultActor:
    faultNode:
    faultDetail:
         {http://xmlns.oracle.com/content/ws}fault:<detailedErrorCode xsi:type="xsd:string">ORACLE.FDK.FeatureNotEnabled</detailedErrorCode><errorCode xsi:type="xsd:string">ORACLE.FDK.UnexpectedError</errorCode><exceptionEntries xsi:type="ns1:ArrayOfFdkExceptionEntry" xsi:nil="true"/><info xsi:type="ns1:ArrayOfNamedValue" xsi:nil="true"/><serverStackTraceId xsi:type="xsd:string"/>
         {http://xml.apache.org/axis/}hostname:oaf1.idc.oracle.com
    ORACLE.FDK.UnexpectedError:ORACLE.FDK.FeatureNotEnabled
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
         at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
         at oracle.ifs.fdk.FdkException.getDeserializer(FdkException.java:270)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
         at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
         at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
         at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
         at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
         at org.apache.axis.client.Call.invoke(Call.java:2748)
         at org.apache.axis.client.Call.invoke(Call.java:2424)
         at org.apache.axis.client.Call.invoke(Call.java:2347)
         at org.apache.axis.client.Call.invoke(Call.java:1804)
         at oracle.ifs.fdk.RemoteLoginManagerSoapBindingStub.login(RemoteLoginManagerSoapBindingStub.java:242)
         at oracle.ifs.fdk.client.impl.AxisRemoteManagersFactory.<init>(AxisRemoteManagersFactory.java:199)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.ifs.fdk.ManagersFactory.login(ManagersFactory.java:214)
         at oracle.ifs.fdk.ManagersFactory.login(ManagersFactory.java:121)
         at oracle.ifs.fdk.ManagersFactory.login(ManagersFactory.java:84)
         at view.ConnectionTest.main(ConnectionTest.java:29)
    Any help?
    Thanks /Santanu

    No solution still?

  • JSP, Javabean charset problem

    I have some JSP pages where I try to dynamically present some drop-down
    menus for the users to select values. I use a simple bean to manage it.
    The problem is that those values are in non-iso8859-1 charset and I only
    get ?????? rendered in the select box. I define an array (inline in the
    JSP page as code scriptlet), write all possible (String) options for the
    drop-down menu there and in the bean I do some calculations and render
    the drop-down menu.
    String label[]={"something in iso-8859-7 encoding in here","something in
    iso-8859-7 encoding in here","something in iso-8859-7 encoding in here"};
    and in the bean I have a for-loop to access this.
    The page directive is set to iso-8859-7.
    I think there is some kind of transparent translation, that has to do
    with Java language, and after the rendering I only get ???? instead of
    the correct iso-8859-7 value in the browser.
    Any help appreciated.
    (Tomcat, Apache web server, JDK 1.3,)
    PS: This JSP page is used to submit some data in an Oracle database
    (according to the selection of the user in the drop-down box), so I also
    use JDBC 1.3, but I don't think that's relevant at all with my problem...
    null

    I have some JSP pages where I try to dynamically present some drop-down
    menus for the users to select values. I use a simple bean to manage it.
    The problem is that those values are in non-iso8859-1 charset and I only
    get ?????? rendered in the select box. I define an array (inline in the
    JSP page as code scriptlet), write all possible (String) options for the
    drop-down menu there and in the bean I do some calculations and render
    the drop-down menu.
    String label[]={"something in iso-8859-7 encoding in here","something in
    iso-8859-7 encoding in here","something in iso-8859-7 encoding in here"};
    and in the bean I have a for-loop to access this.
    The page directive is set to iso-8859-7.
    I think there is some kind of transparent translation, that has to do
    with Java language, and after the rendering I only get ???? instead of
    the correct iso-8859-7 value in the browser.
    Any help appreciated.
    (Tomcat, Apache web server, JDK 1.3,)
    PS: This JSP page is used to submit some data in an Oracle database
    (according to the selection of the user in the drop-down box), so I also
    use JDBC 1.3, but I don't think that's relevant at all with my problem...
    null

Maybe you are looking for