Ref T validity after fork ???

Hi,
Currently I am empirically trying to establish what the validity of a Ref to an object would be set in a parent, after a fork call in Unix but am not comfortable with this way of engineering :-) Can anyone please cast some light on what can and what cannot be asserted on Ref's after a fork call. My assessment is that the memory in the cache occupied by a pinned Ref will have the copy on write flag set and as such, if the parent tinkers with it, the child will get its own copy. If my assumption is correct that one cannoty safely maintain using an Oracle connection after forking and that Ref's are valid only within the context of a connection and that a child opens its own connection to Oralce (shared server instance) then I am lead to believe that the Ref will become unsafe to use especially if it was not pinned but attempted to be pinned in the child. If it was pinned before forking, read-only access should be fine (due to copy on write pages) but modifying it is not safe as the connection it lives in is not valid in the child. Can someone verify whether my assessment is correct ?
PS. we cannot write a multi-threaded application for various other reasons and we have to fork

Hi,
That crash looks like one where Safari has been modified by Safari Enhancer. This changes some internals of Safari resulting in the 10.4.11 updater not working to plan.
Download the 10.4.11 combo updater (from the Downloads link at the top of this page) and then download [Pacifist|www.charlessoft.com] to extract the Safari package from the updater. Use this to replace your broken Safari.app package.
Hope that works!

Similar Messages

  • I have acrobat standard and it will not allow me to edit.. every file i go to open it says "there is a active file open and must close in acrobat" other times it says account cannot be validated after I have already paid for it.. please advise

    i have acrobat standard and it will not allow me to edit.. every file i go to open it says "there is a active file open and must close in acrobat" other times it says account cannot be validated after I have already paid for it.. please advise

    Hi Timothy,
    The account cannot be validated error was due to a glitch on our activation server that has been fixed now.
    Please try using acrobat now and check if you are still facing the problem.
    Regards,
    Rave

  • My phone says SIM not valid after ios 5 update, Why and how do I fix it?

    Why does my iPhone 4 say SIM not valid after I updated to ios 5? Also, is there anything I can do to fix it?

    Sounds like your phone was software unlocked, or hacked/jailbroken, to work with any carrier. Updating the phone restored the original carrier lock. All you can do now is contact the carrier it is locked to and see if they have an unlocking policy.
    Good luck.

  • Had Photoshop Elements 12 on my other Mac that recently got smashed, new one has no CD drive. How do I install Elements with my product key? Purchasing an external CD drive is not an option at this time after forking over the 2500 for the new Mac...

    Had Photoshop Elements 12 on my other Mac that recently got smashed, new one has no CD drive. How do I install Elements with my product key? Purchasing an external CD drive is not an option at this time after forking over the 2500 for the new Mac...

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Using ref cursor in after parameter form in reports

    hi everyone,
    I have problem in usage of ref cursor in after parameter form. My actual requirement is I have user parameter :p_minval, :p_maxval. The values into these user parameters will be coming dynamically using sql_statement as shown below
    select min(empid),max(empid) into :p_minval, :p_maxval from emp where empid in (:p_emp);
    I will be writing this query in the after parameter form
    :p_emp is a lexical parameter as per me but the after parameter form is taking it as a bind variable. so I decided to define a ref cursor and then use it for retrieve. But when I use ref cursor it is returning pl/sql error 591 saying that this is not supported by client side can anyone help me plz..
    The following is the code i tried to use in after parameter form
    function afterPform return boolean is
    type rc is ref cursor;
    l_rc rc;
    sqlstmt varchar2(512);
    begin
    sqlstmt:='select min(empid),max(empid) from emp where empid in ('||:p_emp||')';
    open l_rc for
    select max(empid) from emp where empid in ('||:p_emp||')';
    fetch l_rc into :p_maxval;
    close l_rc;
    return(true);
    end;
    thanks & regards
    venkat

    I ran into the same problem. any body knows why?

  • Problems after fork

    Hello specialists,
    I hope this is the right forum to get some help on a very dubious problem.
    We created a very little C-library to use Unix-Calls in our JAVA-application. What we wanted to use especially is fork!
    Now there is the following problem:
    If the Java-application is "complicated enough" - whatever this is - then one or both processes (in most cases the childprocess) crash on one of the next few JAVA-lines of code after fork comes back.
    Does anyone have similar problems or does anyone have an idea for a solution?
    I can't post the JAVA-code because - as I said - the code-points where the dump occurs are not really important. Just the whole application must be complicated enough and so there is not really something like a minimal example.
    I can try to post the C-code if this would help, because its not really very much.
    I hope you can give me hints, because I got stuck after hundreds and hundreds of experiments.
    Thanks in advance and
    greetings from
                                     Holger

    Well after all that writing, I found an answer.
    My previous searches were limited to 90 days. When I expanded that to cover the whole year, this is what I came up with...
    It could be a InputManagers problem.
    Quit Safari and go to these two locations and move anything in the folders to your Desktop.
    HD/Users/yourhome/Library/InputManagers
    HD/Library/InputManagers
    That fixed the problem.

  • Sharepoint 2010 - Exam 70-573,Exam 70-667 scores are valid after Jan 2014?

    I am planning to do the SharePoint 2010 certification ,  and found that it is getting retired on Jan31 2014. In this case will my certification be valid after this date?
    http://www.microsoft.com/learning/en/us/mcts-certification.aspx#fbid=zoBob0JUBmX

    Hi,
    The certification will still be valid for SharePoint 2010 but the newest certification is based on SharePoint 2013:
    http://www.microsoft.com/learning/en/us/mcse-sharepoint-certification.aspx#fbid=nTemxTEp9eN
    The MCSE: SharePoint 2013 certification includes the three exams needed for MCSA: Server 2012 so to get the latest certification you can achieve MCSA: Server 2012 first and then pass the two additional sharepoint 2012 exams.
    The new certification model is no longer based on achieving a product certification by passing one exam (this was the case with the MCTS exams)
    The SharePoint 20120 MCTS certification will remain on your transcript after Jan 31 2014 but at some point most company's will move on to SharePoint 2013 the coming years and then the newer certification will have more value.
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
    MCSE:Server Infrastructure, MCSE:Desktop Infrastructure, MCSA Server 2012, Citrix CCIA & CCEE, Cisco CCNA, VMware VCP 3/4/5 Twitter: @dnyvandam http://www.dannyvandam.net

  • ORA-01139: RESETLOGS option only valid after an incomplete database recover

    Hello All,
    Can anyone please tell me what could be a reason of this error.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    SQL> ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    Regards
    Vinay

    Hello Aman,
    Sorry couldn't give all information in frustration.
    Oracle version is 9.2.0.1.0 running on Red Hat 4
    Actually i did TPITR and have to open database with resetlogoption recovery was successful but while opening received this error.
    Database dismounted.
    ORACLE instance shut down.
    SQL> STARTUP NOMOUNT PFILE=/oracle/prdtpi/pfile/prdtpi;
    ORACLE instance started.
    Total System Global Area 798040164 bytes
    Fixed Size 454756 bytes
    Variable Size 478150656 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 667648 bytes
    SQL> alter database mount clone database;
    SQL> RECOVER AUTOMATIC DATABASE UNTIL CHANGE 3997955 USING BACKUP CONTROLFILE;
    ORA-00283: recovery session canceled due to errors
    ORA-00264: no recovery required
    SQL> alter database datafile 1 online;
    Database altered.
    SQL> ed
    Wrote file afiedt.buf
    1* alter database datafile 12 online
    SQL> /
    Database altered.
    SQL> ed
    Wrote file afiedt.buf
    1* alter database datafile 13 online
    SQL> /
    Database altered.
    SQL> RECOVER AUTOMATIC DATABASE UNTIL CHANGE 3997955 USING BACKUP CONTROLFILE;
    Media recovery complete.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    SQL> ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery

  • Prevent Duplicate Entries through Validation after submit apex 4.1

    Hi There
    I'm having issues with the following, i'm creating a validation after submit, if the column FFILE already has the same data then do no insert the submission. I've also thought doing a constraint for the column with a check key, but not sure how to write constraint expression in pl/sql as text.
    so for the validation creation i have
    SQL
    type: Exists
    Validation Expression
    select 1 from PLDB2 where FFILE = :P2_FFILE
    FFILE is the column, P2_File is the number field on a form page for users to submit along with other data.
    If i want to check more than one column with the entries, how would i write the expression?
    Thank you kindly,
    Below is my table
    CREATE TABLE "PLDB2"
    (     "ID" NUMBER,
         "BANK" VARCHAR2(30),
         "END_DATE" DATE,
         "FFILE" NUMBER,
         "CLERK" VARCHAR2(30),
         "MORTGAGE_FILE_NUMBER" VARCHAR2(500),
         "MORTGAGOR" VARCHAR2(30),
         "PROPERTY_ADDRESS" VARCHAR2(500),
         "OCCUPANCY" VARCHAR2(30),
         "INSURER" VARCHAR2(10),
         "COMMISSION" VARCHAR2(5),
         "START_DATE" DATE,
         "PM_COST" VARCHAR2(500),
         "LISTING_CLERK" VARCHAR2(50),
         "NUMBER_OF_DAYS" NUMBER,
         "CLOSING" DATE,
         "FCOMMENT" VARCHAR2(500),
         "ESCALATED_FILES" VARCHAR2(30),
         "CURRENT_FILES" VARCHAR2(30),
         "MORTGAGOR_OCCUPANCYAWAITING_E" VARCHAR2(30),
         "LISTED_FILES" VARCHAR2(30),
         "CHECK_LIST_RECIEVED" DATE,
         "CREATED_ON_PKW" DATE,
         "SPECIAL_CODED_FILE" NVARCHAR2(500),
         "FILES_WITH_ISSUES" NVARCHAR2(500),
         "APPRAISED_VALUE" NUMBER,
         "SALE_PRICE" NUMBER,
         "MORTGAGE_BALANCE" NUMBER,
         "PM_CONTACT" VARCHAR2(500),
         "NPMCOST" NUMBER,
         "SOLD" NVARCHAR2(500),
         "TRANSFER" NVARCHAR2(500),
         CONSTRAINT "PLDB2_PK" PRIMARY KEY ("ID") ENABLE
    CREATE OR REPLACE TRIGGER "PLDB2_T1"
    BEFORE
    insert or update on "PLDB2"
    for each row
    declare
    v_number_of_days number;
    begin
    IF :NEW.END_DATE IS NULL THEN
    v_number_of_days :=NULL;
    ELSE
    v_number_of_days := to_date(:NEW.START_DATE,'DD/MM/YYYY') - to_date(:NEW.END_DATE,'DD/MM/YYYY');
    END IF;
    :NEW.NUMBER_OF_DAYS := v_number_of_days;
    end;
    ALTER TRIGGER "PLDB2_T1" ENABLE;
    CREATE OR REPLACE TRIGGER "bi_PLDB2"
    before insert on "PLDB2"
    for each row
    begin
    if :new."ID" is null then
    select "PLDB2_SEQ".nextval into :new."ID" from dual;
    end if;
    end;
    ALTER TRIGGER "bi_PLDB2" ENABLE;

    Hi,
    I'm having issues with the following, i'm creating a validation after submit, if the column FFILE already has the same data then do no insert the submission. I've also thought doing a constraint for the column with a check key, but not sure how to write constraint expression in pl/sql as text.so for the validation creation i have
    SQL
    type: Exists
    Validation Expression
    select 1 from PLDB2 where FFILE = :P2_FFILE
    FFILE is the column, P2_File is the number field on a form page for users to submit along with other data.
    If i want to check more than one column with the entries, how would i write the expression?>
    select 1 from PLDB2 where FFILE IN (:P2_FFILE,:P2_FFILE_1,...,:P2_FFILE_n)Is that what you are looking for?
    Cheers,

  • How to do data validation after each load

    Hi all,
    How to do data validation after each load.
    please send to : [email protected]
    bhaskar

    Hi Bhaskar,
    Check these posts:
    Re: Validation of data in BW?
    Re: validate data
    Bye
    Dinesh

  • Ora-01001 in procedures with ref cursor parameter after upgrade to 11.1.0.7

    Hi,
    after upgrading from 11.1.0.6.0 to 11.1.0.7.0, I get ora-01001 in procedure calls which have a ref cursor as an out parameter.
    Even a new 11.1.0.7 instance throws this error. My OS is Linux SLES10SP2.
    Please see atched sample code:
    CREATE OR REPLACE PACKAGE test1_pck
    IS
    PROCEDURE run1; -- OK on 11.1.0.6; fails on 11.1.0.7
    PROCEDURE run2; -- OK on 11.1.0.6; OK on 11.1.0.7
    END test1_pck;
    CREATE OR REPLACE PACKAGE BODY test1_pck
    IS
    TYPE t_rec IS RECORD(col dual.dummy%TYPE);
    TYPE t_cur IS REF CURSOR RETURN t_rec;
    PROCEDURE foo1(p_cur OUT t_cur)
    IS
    v_sql VARCHAR2(255) := 'BEGIN OPEN :1 FOR SELECT dummy FROM dual; END;';
    BEGIN
    EXECUTE IMMEDIATE v_sql USING p_cur;
    END foo1;
    PROCEDURE foo2
    IS
    v_sql VARCHAR2(255) := 'BEGIN OPEN :1 FOR SELECT dummy FROM dual; END;';
    v_cur t_cur;
    v_rec t_rec;
    BEGIN
    EXECUTE IMMEDIATE v_sql USING v_cur;
    LOOP
    FETCH v_cur INTO v_rec;
    EXIT WHEN v_cur%NOTFOUND;
    CASE v_rec.col
    WHEN 'X' THEN dbms_output.put_line('success');
    ELSE dbms_output.put_line('error');
    END CASE;
    END LOOP;
    END foo2;
    PROCEDURE run1
    IS
    v_cur t_cur;
    v_rec t_rec;
    BEGIN
    foo1(v_cur);
    LOOP
    FETCH v_cur INTO v_rec;
    EXIT WHEN v_cur%NOTFOUND;
    CASE v_rec.col
    WHEN 'X' THEN dbms_output.put_line('success');
    ELSE dbms_output.put_line('error');
    END CASE;
    END LOOP;
    END run1;
    PROCEDURE run2
    IS
    BEGIN
    foo2;
    END run2;
    END test1_pck;
    Thanks for any hints.
    Regards Frank

    Hi Max,
    the referenced thread discusses a .Net problem. A lot of layers are involved their. My problem is a very basic problem. You get this error even if you run the test in a sql session on the server.
    It would be a great help for me
    a) if someone could test this package on a 11.1.0.7 database
    b) if someone could test this package on a 11.2 database (is it fixed in Release2?)
    c) if someone could give me hints how I could modify the procedure to make it usable for 11.1.0.7
    (I already tried a lot e.g. EXECUTE IMMEDIATE v_sql USING OUT p_cur;
    Thank you
    Frank

  • Win 2102: existing number of virtual desktops is not valid after errors while deleting , how to fix it ?

    Hello everyone,
    I created a virtual desktop collection with a name format like this , prefix = VDI-, suffix= 1 .
    so when I created the first VMs , I had VDI-1 and VDI-2 , later after recreating the VMs, adding new ones and deleting others, the suffix numbers are no longer in sequence , like I started having VDI-1,VDI-2,VDI-8,VDI-9.
    I realized I had one problem that probably caused this, because when I delete a VM , I get a warning message:
    "RD connection broker could not delete the computer account object from active directory."
    so I searched about that error and I added the needed permissions and now deleting seems to work without any warning.
    now I have two VMs, when I go through the wizard , the first page it shows I have 2 VMs but in the second page it shows I have 11 ! is there a way to reset the count ? if I delete the entire collection and create it again , will I have any problem with the
    roaming users profiles ?
    Thanks

    Hi,
    Thank you for your posting in Windows Server Forum.
    You can specify the count for RDVH as how many desktop wants for particular host. You can do this “Specify Virtual Desktop allocation” while creating virtual desktop collection. Other than that you can also use PowerShell command to achieve your task.
    For more details you can refer beneath article.
    1. Fumbling through Windows Server 2012 Virtual Desktop Infrastructure (VDI)
    2. Deploying VDI for RDS 2012 / 2012R2 – Part II – Publishing a Windows 7 Pooled Desktop
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Serial Number is "not valid" after switching to a new computer

    I just upgraded from an old white Intel iMac to a new 27" iMac, and after I moved all my files over with the Migration Assistant, my Final Cut Studio doesn't work. It asks me for a serial number, I put in the one I've been using forever, and it says it's not valid.
    Any idea what's going on? I'm working with the new version of Studio, if it matters, and it's going it when I try to open any of the programs included in the suite.

    1. Never EVER migrate pro apps.
    2. see #1.
    3. see #2.
    Time for an erase of the software (look up Digital Rebellions FCS remover) and do a clean installation of the FCS suite. If that doesn't work, do a complete erase of the system hard drive and install everything from scratch.
    x

  • Dup2 after fork in multithreaded application

    I am working on a multithreaded application (C++) that must create several
    Java processes and capture their output though pipes.
    For a single threaded application, I know it is possible to call dup2 (in the child)
    after the fork to set up the proper connections.
    I am aware that it is not safe to make particular function calls between a fork
    and an exec. Is dup2 a call that is known to be safe?
    If not, is there a better alternative?
    Thanks.

    I'm using Oracle 10g2 on Windows Server 2003 on a Dell PowerEdge 1850 server.
    Both threads run the same code. Each thread performs multiple database queries though.
    This query is performed first:
    update my_table set my_data_processed='true' where my_data_processed='false' and rownum=1 returning my_index into :x
    Then the query with the getBlob is performed with <some_number> = my_index.
    Some background info: I have a lot of data in my_table that needs a very slow operation performed on the my_data blob in each row. I will eventually run this application on multiple servers in parallel and need a way to determine the next row that hasn't been processed yet then process it.
    The table is
    create table my_table (
    my_index int,
    my_data_processed varchar(10),
    my_data blob
    -Glen

  • Failover cluster fails validation after a single node restart

    I had a lab environment setup that works great, passes validation, can do live migrations without issue but as soon as I restarted one of the nodes, the then still live node became the only node able to access the storage backend. What's weird is that the restarted
    node can still access the CSV storage and run VMs off of it, but the validation report is unable to list the actual disks.
    My Cluster consists of 2 nodes. I have an iSCSI backed shared storage server and I can see that both of my nodes
    are connected to the iSCSI targets successfully, but the node I first restarted no longer lists any disks/volumes in disk management and the once available MPIO menus are disabled in the iSCSI control panel. I also tried to restart the second node after the
    first node came back but although the first node was up and running and had VMs on it, restarting the second node brought the entire cluster down. I see event IDs 1177, 1573, and 1069 appear in the Cluster Events log. When the second node came back up, the
    cluster came back with it, but not the storage. Both nodes seem to display similar behavior in that they cannot access the storage backend. Now the storage is inaccessible by both nodes. I was able to get both nodes connected to the storage backend by
    going to the iscsicpl and disconnecting all current connections to the iSCSI backend and adding them back. Doing the test again after bringing the storage back up resulted in the same behavior and this time redoing the iSCSI connections is not helping.
    I think the issue here is that the first node I restarted is unable to see any disks/volumes from the storage backend only after joining the cluster and doing a restart. Before joining the cluster I did reboots on both nodes and both were able to connect to
    the iSCSI backend without issue. It wasn't until after joining the cluster that node 1 became unable to access the storage backend after reboots. The validation report fails with "No disks were found on which to perform cluster validation tests. To correct
    this, review the following possible causes: ..." although none of the suggestions seem applicable and the validation report was successful right before the restart of the node.
    Does anyone have suggestions on how to further troubleshoot or resolve this issue?
    I am using Hyper-V Server 2012 R2 on both nodes and they are joined to the same domain.

    Hi,
    I don’t found the similar issue, please your storage compatible with server 2012R2, Update Network Card Drivers and firmware on both the Nodes, temporarily disable your AV
    soft and firewall install the Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters update.
    The Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters
    http://support.microsoft.com/kb/2920151/en-us
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Follow up action

    Dears What is the follow up action in t code qs51 even in usage decision area we are seeing follow up what is the use of that Pls expain me with an example Tahnks in advance Faisal

  • How to automatically saved a pdf form into a network folder using a submit button

    Good evening to everyone, I'm more than a beginner on adobe development reason why I would like to apologize first if my questions are dumbs. :-( I would like to know if 'Adobe 9 Professional Extended' has the possibility to put some code into a subm

  • How to centre window (frame or dialog) relative to screen ?

    Hi all! Please, give me a tip on how to locate some window on the screen so it is centered on the screen ? One more reqirement is that it should be supported different screen resolutions. ThanX in advance, Anton.

  • Adobe Acrobat - rename form field

    I'm a newbie to Automator but it seems like this should work. I need to automate the renaming of lots and lots of fields in a form. I started a workflow that opens the PDF. Then I used the "Record" button in Automator to watch me click on the Form me

  • Dialog process time out !!!

    Hi experts, I am trying to execute a function Module(with RFC) that triggers a dialog process. Now the system time out limit for a dialog process is 10 mins and my process is taking longer than that, hence its giving a "Time Out" dump.  Is there a wa