HTTP_Server failed on Oracle Install

when installing application server 10g infrastructure on windows XP, I get the following error during the OPMN configuration assistant phase.
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=2100)
time out while waiting for a managed process to start
Log:
C:\OraHome\opmn\logs\HTTP_Server~1
under /apache/logs/error_log shows the following ...
[Sat Dec 16 13:12:48 2006] [crit] (22)Invalid argument: mod_plsql: Unable to initialize Oracle OCI
[Sat Dec 16 13:12:48 2006] [error] (22)Invalid argument: mod_plsql: Please check your enviroment.\nORACLE_HOME is [c:\\orahome]\nPATH is [C:\\OraHome\\bin;C:\\OraHome\\Perl\\5.6.1\\bin\\MSWin32-x86;C:\\OraHome\\Apache\\Apache\\fastcgi;C:\\OraHome\\opmn\\bin;C:\\OraHome\\opmn\\lib;C:\\OraHome\\bin;C:\\OraHome\\Perl\\5.6.1\\bin\\MSWin32-x86;C:\\OraHome\\Apache\\Apache\\fastcgi;C:\\OraHome\\opmn\\bin;C:\\OraHome\\opmn\\lib;C:\\OraHome\\opmn\\bin;C:\\OraHome\\opmn\\lib;C:\\OraHome\\jlib;C:\\orant\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Apps\\ant165\\bin;]\nNLS_LANG is [Not Set]
PLEASE HELP. I tried correcting the PATH and ENV like the error stated but still no use. what do i need to do to fix this error?

And a third that seems to be related to the last one - but windows specific and with a couple more details:
Invalid Argument: Unable To Initialize Oracle Oci Check Your Environment
     Doc ID:      Note:391304.1      Type:      PROBLEM
     Last Revision Date:      13-SEP-2006      Status:      MODERATED
In this Document
Symptoms
Cause
Solution
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
Applies to:
Oracle Applications Manager - Version: 11.5.10.2
Microsoft Windows Server 2003 (64-bit Itanium)
Microsoft Windows Server 2003
Symptoms
(22)Invalid argument: Unable to initialize Oracle OCI
(22)Invalid argument: Please check your enviroment.
Cause
NLS settings in registry
NLS var mismatch
Solution
1.Take a back up of the current registry and then Delete the ORACLE main registry.
2.Run Auto-config.
3.After that
a. Comment out ORA_NLS33 from environment variable under 8.0.6 Oracle Home.
b. Take out the entry of ORA_NLS33 from the registry of 8.0.6 Oracle Home.
c. Comment plsql.conf from oracle_apache.conf

Similar Messages

  • Oracle Net Configuration Assistant failed - 10G Client Install

    Trying to install the 10g client on a Windows 2003 Itanium based server, the following command is run by the configuration assistants and fails
    D:\oracle\product\10.2.0\client_1\jdk\jre\bin/java.exe -Dsun.java2d.noddraw=true -Duser.dir=D:\oracle\product\10.2.0\client_1\bin -classpath ";D:\oracle\product\10.2.0\client_1\jdk\jre\lib\rt.jar;D:\oracle\product\10.2.0\client_1\jlib\ldapjclnt10.jar;D:\oracle\product\10.2.0\client_1\jlib\ewt3.jar;D:\oracle\product\10.2.0\client_1\jlib\ewtcompat-3_3_15.jar;D:\oracle\product\10.2.0\client_1\network\jlib\NetCA.jar;D:\oracle\product\10.2.0\client_1\network\jlib\netcam.jar;D:\oracle\product\10.2.0\client_1\jlib\netcfg.jar;D:\oracle\product\10.2.0\client_1\jlib\help4.jar;D:\oracle\product\10.2.0\client_1\jlib\jewt4.jar;D:\oracle\product\10.2.0\client_1\jlib\oracle_ice.jar;D:\oracle\product\10.2.0\client_1\jlib\share.jar;D:\oracle\product\10.2.0\client_1\jlib\swingall-1_1_1.jar;D:\oracle\product\10.2.0\client_1\jdk\jre\lib\i18n.jar;D:\oracle\product\10.2.0\client_1\jlib\srvmhas.jar;D:\oracle\product\10.2.0\client_1\jlib\srvm.jar;D:\oracle\product\10.2.0\client_1\oui\jlib\OraInstaller.jar;D:\oracle\product\10.2.0\client_1\lib\xmlparserv2.jar;D:\oracle\product\10.2.0\client_1\network\tools" oracle.net.ca.NetCA /orahome D:\oracle\product\10.2.0\client_1 /orahnam OraClient10g_home1 /instype custom /inscomp client,oraclenet,ano /insprtcl tcp,nmp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile D:\oracle\product\10.2.0\client_1\network\install\netca_clt.rsp
    Another exception has been detected while we were handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    PC = 0x0000000010020070
    SIGNAL = -1073741795
    FUNCTION NAME = (N/A)
    OFFSET = 0xFFFFFFFF
    LIBRARY NAME = (N/A)
    Please check ERROR REPORT FILE for further information, if there is any.
    Good bye.
    I can post more if necessary, I just don't know what else might be needed.
    Any help would be appreciated.
    Thanks

    What does the ERROR REPORT file have in it?
    Also, while it seems an obvious question, but did you specifically download and install the Oracle Client for Windows Itanium 64-bit, and not the 32 bit version?

  • Installing Grid Infrastructure 11.2.0.2 fails on Oracle Linux 5.6 and 6.0

    Hi all,
    We are in the process of building our new enterprise environment and tried to install the following:
    Oracle Linux 6.0
    Grid Infrastructure 11.2.0.2
    ASM
    OCFS2
    Oracle RDBMS 11.2.0.2
    Installation of Grid Infrastructure failed on Oracle Linux 6.0 and 5.6 as well. Is it because it's not yet certified for these Oracle Linux versions? Where can we find compatibility matrixes or certification information to find out which versions do work together? Been trying to find them with no success.
    Thanks for any help!

    Dude wrote:
    I have recently installed Oracle 11.2.0.2 including ASM, which also installs Grid infrastructure under Oracle Linux 5.6 (default UEK kernel) without any problems. I installed the oracle-validated package prior to the Oracle installation.OEL 5.6 and 11.2..02 Grid Infrastructure installation (for x86_64) failed in our case. Have opened a SR several weeks ago for it, but no resolution. We since reverted back to OEL 5.5 for building and running this specific RAC.
    There's also errors in OEL 5.6's Infiniband s/w stack. The openibd service fails to apply errata correctly because the o/s command used has since changed command line parameters. My guess is that testing happened solely on new h/w where this errata did not have to be applied, thus were not tested. Also, this service failed to start the srp_daemon (is critical for making sure that the storage layer works each and every time and does not cause stale connections that lead to command rejections from the storage server after a reboot of a RAC node)
    I not only had to fix the openibd service to correctly apply the errata, but also write a separate srpd service that dealt with starting up and shutting down the srp_daemon.
    Not very impressed with OEL 5.6 at all and it will be unlikely that we'll use it. And it raises a lot of concern whether OEL 6 would be a robust enough o/s for running our RAC systems.

  • Installation of Oracle Failed on Oracle Enterprise Linux.

    Hi All,
    I have installed Enterprise Linux Release 5 Update 2 for x86 (32 Bit) provided by oracle e-delivery on my Vmware Virtaul machine.When i try to install Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86,after running the runInstaller i am getting the following error.
    [oracle@vmware database]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Failed <<<<
    Note:Oracle E-Delivery has provided 5 CD's to downlaod for Enterprise Linux Release 5 Update 2 for x86 (32 Bit).But the installation of LINUX finished succesfully with 3 CD's only.I donot have any idea for what purpose the remaining CD's 4 and 5.Do i need to install CD's 4 and 5 seperately.Is this the problem for orcle DB installation failure or is there any exclusive database which i need download for Enterprise Linux Release 5 Update 2 for x86 (32 Bit).
    Any help in this issue is highly appreciated.
    Thank You Very Much.

    I am also getting the same error as a previous poster:
    >>>
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-02-02_04-31-29PM. Please wait ...[ora10@el5a database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-02-02_04-31-29PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    <<<
    I downloaded and installed Oracle EL5 (64 bit). I have a Network-level support, so I ran the up2date and picked up all the updates and installed them. My company is a licensee of 10g, so I downloaded 64bit 10g, and ungzip-uncpio'd it into a work directory. When I try to install it, it blows up at the above point.
    In reading the above comments, I rpm'd libXp and libaio, but this does not change the failure of runInstaller.
    Any hints?
    --Ewin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • HTTP_Server failed to start

    Oracle 10g Infrastructure HTTP_Server failed to start & i am getting the following error;
    1) An error occurred while starting "HTTP_Server".
    HTTP_Server : HTTP_Server - failed to start a managed process after the maximum retry limit
    if someone knows how to troubleshoot the above mentioned error please let me know how
    Thanks,
    Waheed Azhar

    what you get if you do
    envThis is what I got:
    [cder@localhost ~]$ env
    SSH_AGENT_PID=2451
    HOSTNAME=localhost.localdomain
    DESKTOP_STARTUP_ID=
    SHELL=/bin/bash
    TERM=xterm
    ORACLE_OEM_JAVARUNTIME=/opt/jre1.3.1_19
    HISTSIZE=1000
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/cder/.gtkrc-1.2-gnome2
    WINDOWID=46156483
    USER=cder
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    ORACLE_SID=abc
    GNOME_KEYRING_SOCKET=/tmp/keyring-TXq65G/socket
    ORACLE_BASE=/opt/cder
    SSH_AUTH_SOCK=/tmp/ssh-jIzDib2410/agent.2410
    SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/2410
    MAIL=/var/spool/mail/cder
    DESKTOP_SESSION=default
    PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/cder/bin:/opt/cder/920/bin
    GDM_XSERVER_LOCATION=local
    INPUTRC=/etc/inputrc
    PWD=/home/cder
    LANG=en_US.UTF-8
    GDMSESSION=default
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    HOME=/home/cder
    SHLVL=2
    GNOME_DESKTOP_SESSION_ID=Default
    LOGNAME=cder
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tUjeCInKxU,guid=10799645c34fdd03d15a0eb6d3376100
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    DISPLAY=:0.0
    ORACLE_HOME=/opt/cder/920
    G_BROKEN_FILENAMES=1
    COLORTERM=gnome-terminal
    XAUTHORITY=/home/cder/.Xauthority
    _=/usr/bin/env

  • Oracle install error 10g 64 bit windows

    Hi
    My operating system is : Windows 7 64-bit, and i have downloaded oracle 10g 64-bit for windows, however when i double click to the install icon, i get the error:
    checking operating system version: must be 5.1 or 5.2. Actual 6.1 Failed <<<<
    exiting oracle universal installer, etc...
    What should i do? Didn't i download the right software??? , I use windows 7 64-bit therefore i have downloaded oracle windows 64-bit
    pls help me. Thanks.

    Currently, no Oracle software is certified to be installed on Win7. If you use the "search" feature on this forum, you will find that others have managed to hack the install. If you want a supported platform/install, use a certified OS that is listed in the 10.2.0.4 Installation Guide at http://download.oracle.com/docs/cd/B19306_01/install.102/b15681/reqs.htm#CHDHGGFE
    HTH
    Srini

  • Removing an RPM for Oracle Install

    Hi,
    I need to know how to remove a specific RPM. I am running Oracle on RHEL 4.
    When the Oracle install does the checks it fails on one of the RPM's. Here is what I did:
    [root@vtl-oracle logs]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep elfutils-libelf
    elfutils-libelf-0.97.1-4 (x86_64)
    elfutils-libelf-0.97.1-4 (i386) - - I need to remove this one because I am running a 64bit and Oracle Install keeps picking it up.
    elfutils-libelf-devel-0.97.1-4 (x86_64)
    when I issue the following command I get the statement:
    [root@vtl-oracle logs]# rpm -e elfutils-libelf-0.97.1-4.i386
    error: Failed dependencies:
    libelf.so.1 is needed by (installed) elfutils-0.97.1-4.i386
    libelf.so.1(ELFUTILS_1.0) is needed by (installed) elfutils-0.97.1-4.i386
    libelf.so.1(ELFUTILS_1.1) is needed by (installed) elfutils-0.97.1-4.i386
    I only want the 64 bit ones, not the i386 ones.

    If you truly mean swap (and not /tmp), you have to be root to create a new swap partition (or swapfile) and then add it in with swapon -a
    Are you sure that you REALLY want to get rid of the elf package? I did an Oracle 10g install on RHEL4 about a month ago, and there were 32-bit libraries that it had to have alongside the 64-bit ones.
    You could force the removal, but I don't recommend it, using nodeps or force (I think it's this, haven't tried it in a while).

  • Oracle Install Base Interface Error

    Error: The source item instance 33604, in Subinventory 4131, for Organization 734 in Oracle Install Base does not exist. Please verify that any receipt transations were successful.
    I have checked values by running the following SQL:
    select Instance_ID, location_type_code, location_id, INV_ORGANIZATION_ID, INV_SUBINVENTORY_NAME, instance_status_id
    from csi_item_instances where Serial_Number = '08112025CWDIND'
    INV_ORGANIZATION_ID is 734
    INV_SUBINVENTORY_NAME is 4131
    But still the transaction is stuck with the above error.
    Please help to clear this error.

    Please see if the following docs help.
    Install Base Master Note: CSI_IB_PROJ_RECORD_NOTFOUND [ID 1302069.1]
    Install Base Master Note: CSI_IB_RECORD_NOTFOUND [ID 1302100.1]
    Datafix: How To Correct Errors Due to PO Corrections: "Serialized Item with Status other then In Inventory, Out of Service, Out of Enterprise or In Relationship already exists in Install Base." [ID 376762.1]
    Interorg Transaction Error: The source item instance in Oracle Install Base does not exist [ID 264794.1]
    Internal Sales Order Receipt CSIINTSR Transaction Error: "The source item instance XXX not exist" [ID 786127.1]
    Thanks,
    Hussein

  • I have a version Adobe pro 7, my old computer hard drive failed tried to install on my Windows 8.1, will not start up error message

    I have a version Adobe pro 7.1, my old computer hard drive failed, tried to install on my Windows 8.1, will not start up get error message? any solutions?  It worked perfectly fine on my old computer which was windows 7.0

    Hey,
    I am sorry but Acrobat 7 is not at all compatible with Windows 8. For this, you will need to upgrade your Adobe Acrobat version.
    For better understanding, please refer this kb file:
    Compatible web browsers and PDFMaker applications
    Regards,
    Anubha

  • Oracle Instalation error (You do not have sufficient permissions to access)

    Hi
    my enviroment is SAP ECC6/Oracle 10g/ SUN Solaris 10 SPARC
    I'm installing SAP but run into the error below. I don't understand why the inventory file is pointing to /home/prodora which does not exist. this directory is owned by root and ownership cannot be changed to user oraq11.
    Is it possible to change the location of the inventory ?
    kindly assist
    regards
    simbatech:oraq11> ./RUNINSTALLER
    oracle_stage is not set (OK)
    oracle_base is not set (OK)
    oracle_home is not set (OK)
    oracle_sid is not set (OK)
    oracle_home_name is not set (OK)
    oracle_inst_group is not set (OK)
    from_location is not set (OK)
    tmp_netca_file is not set (OK)
    tmp_dbca_file is not set (OK)
    Working in /oracle/stage/102_64/database/SAP ...
    Oracle SID:            Q11
    Oracle Home:           /oracle/Q11/102_64
    Oracle Home Name:      Q11_102_64
    Oracle Install Group:  dba
    Installing from:       /oracle/stage/102_64/database/stage/products.xml
    oracle_stage="/oracle/stage/102_64"
    oracle_base="/oracle/Q11"
    oracle_version="102_64"
    oracle_home="/oracle/Q11/102_64"
    oracle_sid="Q11"
    oracle_home_name="Q11_102_64"
    oracle_inst_group="dba"
    from_location="/oracle/stage/102_64/database/stage/products.xml"
    tmp_netca_file="/tmp/.orainst_netca.15383"
    tmp_dbca_file="/tmp/.orainst_dbca.15383"
    ORACLE_BASE="/oracle/Q11"
    ORACLE_HOME="/oracle/Q11/102_64"
    ================================
    Preparing response files. Please wait:
    ======================================
    Working on /oracle/stage/102_64/database/SAP/SVRCUSTOM.RSP
    /oracle/stage/102_64/database/SAP/SVRCUSTOM.RSP --> /tmp/.orainst_rsp.15383: Done
    You do not have sufficient permissions to access the inventory +'/home/prodora/oraInventory'.+ Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: No such file or directory
    simbatech:oraq11>

    Hi,
    Yes, Solution describe in 350251 - Creating a New or 2nd Oracle SID with runInstaller
    "THE SOLUTION"
    The good news is the solution is very simple and takes a few seconds
    First cd /var/opt/oracle
    You will find a file called oraInst.loc # cat oraInst.loc
    inventory_loc=/oracle/PR1/oraInventory
    inst_group=dba
    Use vi or emacs to edit the file and change the inventory_loc to the directory of the oracle instance you are currently installing. ie inventory_loc=/oracle/PR2/oraInventory
    Restart your oracle installer  eg. su - orapr2
    cd /oracle/stage/816_64
    setenv DISPLAY localhost:0.0
    ./runInstaller
    Regards;

  • Import error imp-00017: following statement failed with oracle error 1659:

    Hi all,
    I am trying to import a file (dmp) which is of 1.63GB size,
    when I type
    imp
    dbname/pwd@db
    c:\filepath
    30720
    no
    no
    yes
    yes
    yes
    I am getting the error imp-00017: following statement failed with oracle error 1659:
    -- end it says Ora-01659 unable to allocate minextents beyond 1 in tablespace USERS
    --unable to create INITIAL extent for segment in tablespace USERS
    --import terminated successfully with warnings
    when I looked into
    select maxbytes,file_name from dba_data_files where tablespace_name='USERS';3.4360+10 c:\oracle\product\10.2.0\oradata\orcl\users01.dbf
    kindly help me in solving this is.
    Regards,
    aak
    Edited by: AAK 460425 on Apr 12, 2009 6:33 PM

    Thanks,
    select bytes from user_free_space where tablespace_name='USERS'
    BYTES
    458752
    720896
    458752
    655360
    43384832
    is the size less?
    My apology I have updated this in the below thread, which is same as this one.
    Re: Import error

  • Query works on Oracle 9i, but fails on Oracle 10g - puzzling...

    In porting an application from Oracle 9i to Oracle 10g, I hit a problem that for a while I assumed was some bug of mine. But I eventually isolated the problem and can reproduce this using a single sql script and then a single delete. The amazing thing is that it works fine on Oracle 9i (always) and fails on Oracle 10g (always).
    Have I found a bug? (I would be pretty amazed).
    Here's the situation. I have four tables and a trigger set on one of those tables.
    The tables are configured so that there is the "parent" table (A). Table B has a foreign key dependency on A's primary key, with "on delete cascade". Table B also has a trigger that runs on the delete. Table C (which has no data) has an integrity constraint on A's primary key. Table D holds information used by the trigger to determine if/when table C should be dropped. (I have a script that sets all this up).
    After setting up the tables and the few data records needed, I delete a record from Table A. This causes the records in Table B to be deleted. That fires the trigger, which determines that Table C can be dropped, so the trigger drops Table C. Then, Oracle decides it still needs to check the integrity constraint on Table C (after all, C depended on A and we have deleted a record in A). Oracle then issues a query against table C, but of course table C has already been dropped and an error results.
    The exact same script followed by the delete works fine on Oracle 9i. Is this a bug or is this a documented change in behavior? Any known workarounds? Unfortunately, the application needs all the integrity constraints that are present in the schema and also runs on SQL Server, so modifications in the integrity constraints are probably not what I am seeking).
    Thanks so much!
    RB

    I wasn't sure how to post the script, but it is short enough to include below. Many thanks for the quick response.
    To connect the script below to my original post, the names are:
    Table A = OT_AW_PROCESSDEF
    Table B = OT_AW_PROCESS_APPDATADEF
    Table C = OT_AW_AD_OneLoop_1
    Table D = OT_AW_APPDATA_TABLEINFO
    The trigger is also included in the script. After running this script, the command:
    delete from OT_AW_ProcessDef where processdefId = 101
    will cause the failure on Oracle10g, but succeeds on Oracle 9i.
    Thanks again!
    RB
    /* *********************** CLEAN UP ********************************** */
    /* Order the dropping of objects in reverse of creation */
    DROP TABLE OT_AW_AD_OneLoop_1 CASCADE CONSTRAINTS
    DROP TABLE OT_AW_PROCESS_APPDATADEF CASCADE CONSTRAINTS
    DROP TABLE OT_AW_APPDATA_TABLEINFO CASCADE CONSTRAINTS
    DROP TABLE OT_AW_PROCESSDEF CASCADE CONSTRAINTS
    /* ******************* DATA TABLES *********************************** */
    /* OT_AW_PROCESSDEF(Process Definition) Table */
    /* ********** NOTE: OT_AW_PROCESSDEF and AW_PROCESS TABLES SHOULD ALWAYS HAVE THE SAME SET OF COLUMNS ********* */
    create table OT_AW_PROCESSDEF (
    processDefId NUMBER /* Id for the process definition */
    , processDefName NVARCHAR2(255) /* Name of the process definition */
    , CONSTRAINT OT_AW_PROCESSDEF_PK PRIMARY KEY(processDefId)
    insert into OT_AW_PROCESSDEF (
    processDefId, processDefName
    values (
    1, 'ADHOC'
    /* OT_AW_APPDATA_TABLEINFO(List of all application Data tables in the system) Table */
    create table OT_AW_APPDATA_TABLEINFO (
    namespace VARCHAR2(65) NOT NULL, /* name of the namespace to which it belongs */
    tableName VARCHAR2(128) , /* Name of the appdata table */
    adLevel NUMBER(38) NOT NULL /* Appdata table level: 0=>PROCESS, 1=>CONVERSATION */
    , CONSTRAINT OT_AW_APPDATA_TABLEINFO_PK PRIMARY KEY ( tableName )
    , CONSTRAINT OT_AW_APPDATA_TABLEINFO_UNQ UNIQUE( namespace, tableName, adLevel )
    /* OT_AW_PROCESS_APPDATADEF(Process level application data definition) Table */
    create table OT_AW_PROCESS_APPDATADEF (
    processDefId NUMBER NOT NULL /* Id for the process definition */
    , name VARCHAR2(65) NOT NULL /* Name of the application data field, This name may be pointing to a shared namespace field */
    , tableName VARCHAR2(128) /* Name of the table that holds the value for the field, may be same as local namespace table name */
    , namespace VARCHAR2(65) NOT NULL /* Name of the namespace to which this field belongs */
    , mappedNamespace VARCHAR2(65) null /* Name of the shared namespace to which this field is mapped, if there is any mapping */
    , CONSTRAINT OT_AW_PROCESS_APPDATADEF_PK PRIMARY KEY (namespace, processDefId, name)
    , CONSTRAINT OT_AW_PROCESS_APPDATADEF_FK FOREIGN KEY (processDefId) REFERENCES OT_AW_PROCESSDEF(processDefId) on delete cascade
    CREATE TABLE OT_AW_AD_OneLoop_1(processDefId number , processId number ,FromRole number null, ToRole number null, Anyone number null,
    CONSTRAINT OT_AW_AD_OneLoop_1_FK1 FOREIGN KEY (processDefId) REFERENCES OT_AW_PROCESSDEF(processDefId) )
    /* TRIGGERS */
    CREATE OR REPLACE TRIGGER OT_AW_PROCESS_APPDATADEF_DEL
    AFTER DELETE ON OT_AW_PROCESS_APPDATADEF
    FOR EACH ROW
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    tableName_var OT_AW_PROCESS_APPDATADEF.tableName%TYPE;
    tempStr_var varchar2(128) :=null;
    deletedId OT_AW_PROCESS_APPDATADEF.processDefId%TYPE;
    deletedMNsp OT_AW_PROCESS_APPDATADEF.mappedNamespace%TYPE;
    numReferences number :=-1;
    tableExists number :=0;
    CURSOR ADPTable_cursor
    IS
    SELECT apa.tableName, apa.processDefId, apa.mappedNamespace
    FROM OT_AW_PROCESS_APPDATADEF apa
    WHERE apa.tableName = :old.tableName
    AND apa.processDefId = :old.processDefId;
    BEGIN
    dbms_output.put_line('Starting TRIGGER OT_AW_PROCESS_APPDATADEF_DEL');
    OPEN ADPTable_cursor;
    LOOP
    FETCH ADPTable_cursor
    INTO tableName_var, deletedId, deletedMNsp;
    EXIT WHEN ADPTable_cursor%NOTFOUND;
    BEGIN
    IF (deletedMNsp IS NULL) THEN
    BEGIN
    select count(*) into numReferences from OT_AW_PROCESS_APPDATADEF where tableName = tableName_var
    and processDefId <> deletedId;
    IF ( numReferences = 0 ) THEN
    BEGIN
    SELECT count(*) INTO tableExists FROM OT_AW_APPDATA_TABLEINFO where
              tableName=tableName_var;
    IF (tableExists > 0) THEN
    BEGIN
    --dbms_output.put_line('About to alter first table');
    -- EXECUTE IMMEDIATE 'ALTER TABLE ' || tableName_var || ' DROP CONSTRAINT ' || tableName_var ||'_FK1';
    --dbms_output.put_line('About to alter second table');
    -- EXECUTE IMMEDIATE 'ALTER TABLE ' || tableName_var || ' DROP CONSTRAINT ' || tableName_var ||'_FK2';
    dbms_output.put_line('About to drop table named: ' || tableName_var);
    tempStr_var := 'DROP TABLE ' || tableName_var;
    EXECUTE IMMEDIATE tempStr_var;
    dbms_output.put_line(tempStr_var);
    dbms_output.put_line('Table dropped');
    --dbms_output.put_line('Not dropping table now');
    END;
    END IF;
    delete from OT_AW_APPDATA_TABLEINFO where
              tableName=tableName_var;
    dbms_output.put_line('OT_AW_APPDATA_TABLEINFO updated');           
    END;
    END IF;
    END;
    END IF;
    END;
    END LOOP;
    dbms_output.put_line('Loop ended');
    CLOSE ADPTable_cursor;
    dbms_output.put_line('Cursor closed');
    COMMIT WORK;
    dbms_output.put_line('Work committed');
    dbms_output.put_line('Ending TRIGGER OT_AW_PROCESS_APPDATADEF_DEL');
    END;
    show errors;
    /* Set up data to simulate the creation of OT_AW_AD_OneLoop_1 */
    insert into OT_AW_PROCESSDEF (
    processDefId, processDefName
    values (
    101, 'OneLoop'
    insert into OT_AW_PROCESS_APPDATADEF (
    processDefId, name, tableName, namespace
    values (
    101, 'FromRole', 'OT_AW_AD_OneLoop_1', 'OneLoop'
    insert into OT_AW_PROCESS_APPDATADEF (
    processDefId, name, tableName, namespace
    values (
    101, 'ToRole', 'OT_AW_AD_OneLoop_1', 'OneLoop'
    insert into OT_AW_APPDATA_TABLEINFO (
    namespace, tablename, adlevel
    values (
    'OneLoop', 'OT_AW_AD_OneLoop_1', 0
    /

  • Install Failed:  The following install step failed: run preflight script

    I'm trying to reinstall Photoshop CS2 on an intel iMac, OS 10.5.5. I ran the install program, after a few seconds I get the following error message: 

"Install Failed: The following install step failed: run preflight script for Adobe Photoshop CS2. Contact the software manufacturer
for assistance." (I did contact adobe, but they no longer support CS2) Originally, I had installed PS CS2 when I was using OS 10.4.X, then I upgraded to 10.5.x. PS CS2 was working fine on my system. Then I accidentally deleted the program, now I'm having trouble reinstalling. I'd appreciate any help that you can give me.

    I encountered the exact same problem - I had upgraded to CS2 from a previous version of Photoshop, back
    when I was using OSX 10.3.9. Later, I upgraded my OS from 10.3.9, to Leopard (10.5.8.)
    CS2 always ran flawlessly, through all those systems.
    Then I had occasion to reformat my HD and reinstall Leopard 10.5.8.
    That's when the CS2 installer failed, with the same message mentioned above.
    When I called in, they basically said, buzz off....we won't help you.
    First, this shows that their software is flawed. 
    They managed to allow this problem to occur due to inept programming.
    Now they are either incapable, or unwilling, to write a programming fix for this problem.
    It reeks olf ineptitude, plus colossal, inexcusable arrogance and disrespect for their customer base.
    Just my humble opinion of course...and I've been a Photoshop user since 1990.

  • TS1538 I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    Again without stating the trouble shooting steps you have taken, its hard to direct you with any information.
    Try a different port on the computer.
    Does the iphone beep when u plug it up. ?
    Plug iphone into computer and give it 3 to 4 minutes to see if it connects and is running slow.,
    Delete the apple mobile device from your computer.
    Upgrade itunes to newest version.
    Is you USB cord defective ?
    Any USB 3.0 on your system ? .
    Delete or Disable  any antivirus program on your computer ?
    I will tell u the problem is your computer not the phone.
    We could do this for hours.

  • Oracle Install Base -Unable to find Expire relationship button

    Hi Experts,
    I am not able to find "Expire Relationship" button under Configuration Tab while trying to expire parent and child relationship in oracle install base for an intem instance.But for some item instance I am able to find the "Expire Relationship" button under Configuration Tab.
    Can any one please let me know why the "Expire Relationship" button is available for some item and not available for some item instances.
    Thank you.
    Ravi S

    Duplicate post.
    Oracle Install Base -Unable to find Expire relationship button
    Unable to find Expire relationship button

Maybe you are looking for

  • Not able to download all of my music onto my ipod 5 after 8.2 update

    After updating my 5th gen ipod touch to 8.2 software I am not able to download all of my music from my itunes library. I have updated the software twice now and have restored and gone back to factory settings and have started over from scratch. Befor

  • HT4864 How can I delete / close my iCloud email but not my iCloud account

    How can I delete / close my iCloud email but not my iCloud account

  • Type Exception while calling an aRFC-Module in another SAP R/3-System

    Hello everybody, i am trying to call an RFC-Module in a different SAP System. Its a 4.7x200. From the WebDynpro part it looks ok. I have created the model and everything else, defined the JCo and configurated it with the Web Dynpro Content Administra

  • Pagination urls and google

    I've used DW pagination quite extensively and now google's index is full of hundreds of pagination urls in the format: http://www.domain.com/blog/index.php?pageNum_stuff=1&totalRows_stuff=250 I don't think this is doing my ranking any favours. What c

  • ESS - Dynamic actions

    Hello, Can we use dynamic actions in ESS. ex: employee changes his/her address, we need to send an email to the department and the employee too.. I tried setting it up and testing it.. does not work. The email can be sent when I make changes using PA