Continue the block after the exception management

The guys in the slot block.

create or replace procedure proc_case
(p_in IN number)
is
begin
case p_in
when 1 then
dbms_output.put_line('its one'); 
when 2 then
dbms_output.put_line('its two'); 
end case;
dbms_output.put_line('after the exception handler'); 
exception when case_not_found then
dbms_output.put_line('its not found'); 
end;

When the procedure is executed as follows.

begin
proc_case(3);
end;

It shows the statement in the block of exception, but after that it does not run the statement following the exception handler and the outputs of the block, how can I execute the statement after the end case statement. I do not use the Else statement in case because I wanted to understand the logic of this block.

CREATE OR REPLACE

PROCEDURE proc_case

(

p_in in NUMBER)

IS

BEGIN

BEGIN

P_in CASE

WHEN 1 THEN

dbms_output.put_line ('the one');

WHEN 2 THEN

dbms_output.put_line ('two');

END CASE;

EXCEPTION

WHEN case_not_found THEN

dbms_output.put_line ("' its not found");

END;

dbms_output.put_line ("' after the exception handler");

END;

Tags: Database

Similar Questions

  • Delete the exception management

    Hi guys,.
    I have a problem in my procedure. There are 3 parameters that I'm passing in the procedure. I am corresponding to these parameters to those of the table to delete one record at a time.
    For example if I want to delete the record with the values (' '900682', 3, July 29, 2008 ') as parameters, it deletes the record of table, but still when I run it with the same parameters must show me an error message but it again says "deleted the request for transcript...". "Can you please help me with this?

    PROCEDURE p_delete_szptpsr_1 (p_shttran_id IN saturn.shttran.shttran_id%TYPE,
    p_shttran_seq_no IN saturn.shttran.shttran_seq_no%TYPE,
    p_shttran_request_date IN saturn.shttran.shttran_request_date%TYPE) IS

    BEGIN

    DELETE FROM saturn.shttran
    WHERE shttran.shttran_id = p_shttran_id
    and shttran.shttran_seq_no = p_shttran_seq_no
    and trunc (shttran_request_date) = trunc (p_shttran_request_date);
    DBMS_OUTPUT. Put_line (' removed the transcript request Seq No. (' | p_shttran_seq_no | student (' | p_shttran_id |') for the requested date (' | p_shttran_request_date |'))) ') ;
    COMMIT;

    EXCEPTION WHEN NO_DATA_FOUND THEN
    DBMS_OUTPUT. Put_line (' error: the Notre Dame provided = student ID (' | p_shttran_id |))
    ('), Transcript No Request = (' | p_shttran_seq_no |) ('), Ask Date = (' | p_shttran_request_date | not found.');

    END p_delete_szptpsr_1;


    I have a SELECT statement to use NO_DATA_FOUND?

    A DELETE statement that will remove any line (such as an UPDATE statement that updates no line) is not an Oracle error. Oracle throws no exceptions.

    If you want your code throws an exception, you will need to write this logic. You can throw an exception NO_DATA_FOUND yourself, i.e.

    IF( SQL%ROWCOUNT = 0 )
    THEN
      RAISE no_data_found;
    END IF;
    

    If you go just to catch the exception, however, you could just some embedded code you would use to handle the exception in your IF statement, i.e.

    IF( SQL%ROWCOUNT = 0 )
    THEN
      <>
    END IF;
    

    In your original code, your exception handler is just a statement of DBMS_OUTPUT. It is incredibly dangerous in real production code. You rely on the fact that the customer has allowed him to exit, that the customer has allocated a sufficient buffer, the user will see the message, and that the procedure will never be called to any piece of code that never worry if it succeeded or failed. There are very few situations where those who are sure of things to build on.

    Justin

  • Continue the loop after the exception thrown in SQL

    How would continue the while loop in the code below after an exception was thrown?

    DECLARE    
    v_blob_data       BLOB;    
    v_blob_len        NUMBER;    
    v_position        NUMBER;    
    v_raw_chunk       RAW(10000);    
    v_char      CHAR(1);    
    c_chunk_len   number       := 1;    
    v_line        VARCHAR2 (32767)        := NULL;    
    v_data_array      wwv_flow_global.vc_arr2;    
    v_rows number;    
    v_sr_no number := 1;  
    v_first_line_done boolean := false;  
    v_error_cd number :=0;  
    v_quote_pos1 NUMBER;  
    v_quote_pos2 NUMBER;  
    v_enclosed_str VARCHAR(200);
    v_errmsg VARCHAR2(4000);
    
    BEGIN
    
     delete from TEMP_MM_UPDATE where username = :P1_USER_ID;
    
    -- Read data from wwv_flow_files</span>    
     select    
      blob_content    
     into v_blob_data    
     from wwv_flow_files    
     where name = :P2_FILE_UPLOAD; 
    
     v_blob_len := dbms_lob.getlength(v_blob_data);    
     v_position := 1;
    
    
    
     -- Read and convert binary to char</span>  
     WHILE ( v_position <= v_blob_len )    
     LOOP
    
    begin 
     
      v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);    
      v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk)));    
      v_line := v_line || v_char;    
      v_position := v_position + c_chunk_len;
      
     -- When a whole line is retrieved </span>   
     IF v_char = CHR(10) THEN
     
     LOOP  
      --Make sure there's something to replace  
      IF INSTR(v_line, '"', 1, 1) = 0 THEN  
      EXIT; -- If nothing to replace, exit loop and don't try  
      END IF;  
      --Find the position of the first and second quotes in the line of text  
      v_quote_pos1 := INSTR(v_line, '"', 1, 1);  
      v_quote_pos2 := INSTR(v_line, '"', 1, 2);  
      --Extract the inner string  
      v_enclosed_str := SUBSTR(v_line, v_quote_pos1 + 1, v_quote_pos2 - v_quote_pos1 - 1);  
      --perform the replacement  
      v_line := SUBSTR(v_line, 0, v_quote_pos1 - 1) || REPLACE(v_enclosed_str, ',', '<') || SUBSTR(v_line, v_quote_pos2 + 1);  
     END LOOP; 
      
     -- Convert comma to : to use wwv_flow_utilities </span>  
     v_line := REPLACE (v_line, ',', ':');  
     v_line := REPLACE (v_line, '<', ',');  
     v_line := REPLACE (trim(v_line), '-', NULL);  
     --v_line := REPLACE (trim(v_line), '"', NULL);  
     -- Convert each column separated by : into array of data </span>    
     v_data_array := wwv_flow_utilities.string_to_table (v_line);  
     --Check to see if the row of column headers has already been parsed through  
     IF(v_first_line_done != true)THEN   
      v_first_line_done := true;  
      --Check column order in spreadsheet  
      IF(v_data_array(1)   LIKE '%Username%' AND
        v_data_array(2)  LIKE '%NDN%' AND
        v_data_array(3)  LIKE '%PCFN%' ) THEN   
       v_error_cd := 0;  
       v_line := NULL;  
      ELSE  
       v_error_cd := 1;  
      END IF;  
     --If first line is done and the column order is correct then  
     ELSIF(v_first_line_done = true AND v_error_cd = 0) THEN   
     -- Insert data into target table </span>    
     EXECUTE IMMEDIATE 'insert into TEMP_MM_UPDATE   
     (USERNAME,
       RPT_FLAG,
      PCFN)
     values (:1,:2,:3)'   
       USING   
      v_data_array(1),   
      v_data_array(2),   
      v_data_array(3);
       -- Clear out    
      v_line := NULL; v_sr_no := v_sr_no + 1; 
     
     END IF;  
     END IF;
    
    exception
    WHEN OTHERS then
      v_errmsg := SQLERRM;
      insert into temp_mm_update (username,error_desc)
      values (:P1_USER_ID, v_errmsg);
    end;
      
     END LOOP;
    
    
     
    DELETE FROM WWV_FLOW_FILES where name = :P2_FILE_UPLOAD;
    DELETE FROM TEMP_MM_UPDATE WHERE USERNAME IS NULL AND PCFN IS NULL;  
     IF(v_error_cd = 1) THEN  
    INSERT INTO temp_mm_update (USERNAME, ERROR_DESC)  
    VALUES (:P1_USER_ID, 'Error. Please check column order in spreadsheet.');  
    END IF;
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
            insert into temp_mm_update (username,error_desc)
      values (:P1_USER_ID, 'No Data Found.');
     WHEN OTHERS then
      v_errmsg := SQLERRM;
      insert into temp_mm_update (username,error_desc)
      values (:P1_USER_ID, v_errmsg);  
    
    END;
    
    

    When I set the exception inside the loop, as above, the procedure seems never to end, and I end up getting a 'NOWAIT' error when I try to remove the table or something like that.

    The code works fine if I remove the 'START' just after the loop and also out of the exception within the loop, but I want to be able to specify what's wrong with each record rather than deal with the correct records and then stop after that it is a record that has, for example, 9 values in a column that accepts only 6.

    Can anyone help with this?

    Thank you

    Steven

    Play with my code I found what was wrong.
    I needed to add in the following line in my code block of exception:
    v_line := NULL; v_sr_no := v_sr_no + 1;
    
    Final code:
    DECLARE
      v_blob_data       BLOB;
      v_blob_len        NUMBER;
      v_position        NUMBER;
      v_raw_chunk       RAW(10000);
      v_char      CHAR(1);
      c_chunk_len   number       := 1;
      v_line        VARCHAR2 (32767)        := NULL;
      v_data_array      wwv_flow_global.vc_arr2;
      v_rows number;
      v_sr_no number := 1;
      v_first_line_done boolean := false;
      v_error_cd number :=0;
      v_quote_pos1 NUMBER;
      v_quote_pos2 NUMBER;
      v_enclosed_str VARCHAR(200);
      v_errmsg VARCHAR2(4000);
    BEGIN
      delete from TEMP_MM_UPDATE where username = :P1_USER_ID;
    
      -- Read data from wwv_flow_files
      select
        blob_content
        into v_blob_data
        from wwv_flow_files
        where name = :P2_FILE_UPLOAD; 
    
      v_blob_len := dbms_lob.getlength(v_blob_data);
      v_position := 1; 
    
      -- Read and convert binary to char
      WHILE ( v_position <= v_blob_len )
      LOOP
        begin
            v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
            v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk)));
            v_line := v_line || v_char;
            v_position := v_position + c_chunk_len;
    
          -- When a whole line is retrieved 
          IF v_char = CHR(10) THEN
            LOOP
              --Make sure there's something to replace
              IF INSTR(v_line, '"', 1, 1) = 0 THEN
                EXIT; -- If nothing to replace, exit loop and don't try
              END IF;
              --Find the position of the first and second quotes in the line of text
              v_quote_pos1 := INSTR(v_line, '"', 1, 1);
              v_quote_pos2 := INSTR(v_line, '"', 1, 2);
              --Extract the inner string
              v_enclosed_str := SUBSTR(v_line, v_quote_pos1 + 1, v_quote_pos2 - v_quote_pos1 - 1);
              --perform the replacement
              v_line := SUBSTR(v_line, 0, v_quote_pos1 - 1) || REPLACE(v_enclosed_str, ',', '<') || SUBSTR(v_line, v_quote_pos2 + 1);
            END LOOP; 
    
            -- Convert comma to : to use wwv_flow_utilities 
            v_line := REPLACE (v_line, ',', ':');
            v_line := REPLACE (v_line, '<', ',');
            v_line := REPLACE (trim(v_line), '-', NULL);
            --v_line := REPLACE (trim(v_line), '"', NULL);
            -- Convert each column separated by : into array of data 
            v_data_array := wwv_flow_utilities.string_to_table (v_line);
            --Check to see if the row of column headers has already been parsed through
            IF(v_first_line_done != true)THEN
              v_first_line_done := true;
              --Check column order in spreadsheet
              IF(v_data_array(1)    LIKE '%Username%' AND
                  v_data_array(2)  LIKE '%NDN%' AND
                  v_data_array(3)  LIKE '%PCFN%') THEN
                v_error_cd := 0;
                v_line := NULL;
              ELSE
                v_error_cd := 1;
              END IF;
            --If first line is done and the column order is correct then
            ELSIF(v_first_line_done = true AND v_error_cd = 0) THEN
              -- Insert data into target table 
              EXECUTE IMMEDIATE 'insert into TEMP_MM_UPDATE
              (USERNAME,
               RPT_FLAG,
               PCFN)
              values (:1,:2,:3)'
               USING
                v_data_array(1),
                v_data_array(2),
                v_data_array(3);
               -- Clear out
                v_line := NULL; v_sr_no := v_sr_no + 1;
            END IF;
          END IF;
        exception
          WHEN OTHERS then
            v_errmsg := SQLERRM;
            insert into temp_mm_update (username,error_desc)
            values (:P1_USER_ID, v_errmsg);
    v_line := NULL; v_sr_no := v_sr_no + 1;
      END;
      END LOOP;
    
      DELETE FROM WWV_FLOW_FILES where name = :P2_FILE_UPLOAD;
      DELETE FROM TEMP_MM_UPDATE WHERE USERNAME IS NULL AND PCFN IS NULL;
      IF(v_error_cd = 1) THEN
        INSERT INTO temp_mm_update (USERNAME, ERROR_DESC)
        VALUES (:P1_USER_ID, 'Error. Please check column order in spreadsheet.');
      END IF;
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
        insert into temp_mm_update (username,error_desc)
        values (:P1_USER_ID, 'No Data Found.');
      WHEN OTHERS then
        v_errmsg := SQLERRM;
        insert into temp_mm_update (username,error_desc)
        values (:P1_USER_ID, v_errmsg);
    END;
    
  • How to manage the plsql error occurring in the exception block

    We know how to manage exceptins located in the BEGIN block.
    But I am unable to catch the exception in the exception block. Write an erroeneous code so that the control will go to the exception block and there is also a plsql error, but I am unable to handle that error, it returns the error to the calling environment.

    DECLARE
    CNT NUMBER (5): = 0;

    BEGIN

    Select "Chris" IN double's NTC;
    DBMS_OUTPUT. Put_line (to_char (CNT));

    EXCEPTION
    WHEN invalid_number CAN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    CNT: = "deba";

    WHILE OTHERS THEN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    END;

    Please suggest me how to catch this exception?

    Hello

    DECLARE
    CNT NUMBER (5): = 0;

    BEGIN

    Select "Chris" IN double's NTC;
    DBMS_OUTPUT. Put_line (to_char (CNT));

    EXCEPTION
    WHEN invalid_number CAN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    CNT: = "deba";

    WHILE OTHERS THEN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    END;

    First of all your exception mouhamadou who you have sent i.e. invalid_number itself does not.
    You should use named exception VALUE_ERROR to catch the exception in the main block.

    SQL> DECLARE
      2  cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Invalid_number THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
     10  /
    DECLARE
    *
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 4
    
    SQL>  DECLARE
      2   cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN VALUE_ERROR THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
     10  /
    error has occured inside main block
    
    PL/SQL procedure successfully completed.
    

    Your doubts regarding catch the exception in the exception block, you can run as below, by nesting a block Begin in the exception block itself.

    SQL> DECLARE
      2  cnt NUMBER(35):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Value_error THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  Begin
     10  cnt:='deba';
     11  Exception
     12  WHEN OTHERS THEN
     13  DBMS_OUTPUT.PUT_LINE('error has occured inside exception block');
     14  End;
     15  END;
     16  /
    error has occured inside main block
    error has occured inside exception block
    
    PL/SQL procedure successfully completed.
    

    Hope your question is clear.
    :)
    Twinkle

  • 29 Firefox fails to come out properly and continues to run in the Task Manager.

    It is a continuation of a thread found here:
    https://support.mozilla.org/en-US/questions/997448 by Compumind.

    I pointed out that I had the same experience, especially at the opening of the email links in Thunderbird. I reported also that forced me to go back to 28 FF.

    Moses responded by top wire and suggested:
    (1) download a fresh installer of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).

    (2) the release of Firefox.

    (3) rename the folder

    C:\Program Files (x 86) \Mozilla Firefox

    TO

    C:\Program Files (x 86) \OldFirefox

    (4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.

    I followed these instructions carefully but no joy. When installing 29 FF, not only refused to leave (using "exit") and continue to run in the Task Manager up until I killed him after the opening of links in Thunderbird, but I find that he refused to come out after a simple navigation and links.

    Moses had asked that I didn't answer in the original thread, so I re-post here.

    In my view, that there is a serious bug. With Firefox 28... no problem don't except a minor that I have indicated here:
    https://Bugzilla.Mozilla.org/show_bug.cgi?id=1002089

    Yet once I am obliged to 28 FF, although I miss the nice interface and security patches, I need to have a browser that works properly. My wife never even saw the Manager of the tasks before so that's the problem.

    In addition, "guesses" made with this post, the only other thing usual outside that I do, is to have a security policy about cookies (accept by default... I make exceptions for cookies I want to keep and have several that are "allow only for the session.") I also FF the value delete history of navigation at the exit, but that takes a fraction of a second.

    I look forward to when this matter can be addressed successfully and I am able to use 29 FF (and out properly... I can't wait for my wife to follow all of these instructions and it often close manually in the Manager of tasks... or what I want to do this.)

    Good luck for all Mozilla projects. Having installed 29 FF twice and then back return 28 twice, I'll wait and see how this plays out. Please don't send me the standard "start in safe mode", 'restart with disabled modules', 'reset Firefox' stuff (the last time that completely destroyed my browser). I don't think that is what is happening.

    Moses added that there is a problem with the e-mail notifications passing by, so take your time, friends.

    I think now (temporarily) this bug or problem has its roots in "history leaving Compensation."

    I made the leap after a few game with 29 PortableFirefox and reading the blog post linked here:

    [https://support.mozilla.org/en-US/que.../997918#answer-566755]

    .. .and installed 29 FF on my previous FF28 on my box. I unchecked the "clear history on exit" which was only to delete my history, not cookies or anything else, cor - el. My setting should not accept cookies unless I make an exception. Until the FF developers find a way to do this is functional, I'll just have to manually delete the history.

    Furthermore, John99, you want to maybe privacy.sanitize.sanitizeOnShutdown set to 'False', not 'true' If you want to stop the automatic deletion of the history at the exit (attempt).

    I've been running for about 6 hours. without experiencing the bug 'suspended '. So, I can live with that for now until this bug is fixed. It should be fixed... browsers are supposed to be able to do things like that.

    On the other hand, I could find things go wrong... but so far I'm not having a problem.

    I for several hours and will let you know later if things change.

    Kind regards

    Axis

  • A server error has occurred, the Profile Manager after upgrade to osX - 10.11.4 server 5.1

    After the Connection Manager profile with safari and firefox, I get this error message after my upgrade to el captian 10.11.4 and upgrade to Server 5.1.

    "A server error has occurred, please reload the page and try again.

    If this error " persists, please contact your administrator"

    Someone who could give me advice where to start troubleshooting?

    THE SERVER LOG

    PROFILEMANAGER

    Service log:

    ######################################################################

    ##############     START          ###########################################

    ######################################################################

    [738] [08/04/2016 17:48:56.170] I: completed in 232ms s (view: 1, DB: 62). 200 OK [https://macserver.elcapitan.com/magic/do_magic]

    [733] [08/04/2016 18:51:53.312] I: treatment MagicController #admin_will_load (for 1.1.1.1 at 2016-04-08 18:51:53) [POST]

    [733] [08/04/2016 18:51:53.488] I: completed in 157ms (view: 1 DB: 9) | 200 OK [https://macserver.elcapitan.com/magic/admin_will_load]

    [734] [08/04/2016 18:51:54.555] I: treatment MagicController #do_magic (for 1.1.1.1 to the 2016-04-08 18:51:54) [POST]

    [734] [08/04/2016 18:51:55.346] I: completed in 790ms (views: 0dB,: 92). 200 OK [https://macserver.elcapitan.com/magic/do_magic]

    [735] [08/04/2016 18:51:55.476] I: treatment MagicController #do_magic (for 1.1.1.1 to the 2016-04-08 18:51:55) [POST]

    [737] [08/04/2016 18:51:55.712] I: treatment MagicController #do_magic (for 1.1.1.1 to the 2016-04-08 18:51:55) [POST]

    [738] [08/04/2016 18:51:55.741] I: treatment MagicController #do_magic (for 1.1.1.1 to the 2016-04-08 18:51:55) [POST]

    [735] [08/04/2016 18:51:55.773] I: completed in 296ms (view: 0, DB: 73). 200 OK [https://macserver.elcapitan.com/magic/do_magic]

    [739] [08/04/2016 18:51:55.841] I: treatment MagicController #do_magic (for 1.1.1.1 to the 2016-04-08 18:51:55) [POST]

    [738] [08/04/2016 18:51:55.892] I: completed in 151ms (view: DB, 0: 18) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

    [737] [08/04/2016 18:51:55.943] I: completed in 230ms (view: 0, DB: 60). 200 OK [https://macserver.elcapitan.com/magic/do_magic]

    [739] [08/04/2016 18:51:55.980] E: \253Magic#do_magic-> UserGroup.get_profiles\273 taken unsupported constant not initialized exception InactiveUserGroup to /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:469:in 'load_missing_constant '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:106:in "const_missing_with_dependencies".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/MD m_library_item_base.rb:22: in 'const_get '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/MD m_library_item_base.rb:22: in 'library_item_by_id '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/Mo dels / profile .rb: 276: in 'owner '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/Mo dels / profile .rb: 250: in "library_item_type".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/Mo dels / profile .rb: 257: in "modify_attributes".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/MD m_record_base.rb:184: in 'get_attributes.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/he FPL / user_group_helper.rb:85: in 'get_profiles '.

    "/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/App/co ntrollers / magic_controller.rb:180: in ' block ' (5 levels) in do_magic.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7: in "block in ms.

    /Applications/server.app/Contents/ServerRoot/usr/lib/Ruby/1.9.1/benchmark.rb:29 5: in 'real time '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7: in "ms."

    "/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/App/co ntrollers / magic_controller.rb:180: in ' block ' (4 levels) in do_magic.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstr act / database_statements.rb:136: in "transaction".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /initializers/dm_rails_monkey_patches.rb:152:in "transaction".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/transactions.rb:182:in "transaction".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/MD m_utilities.rb:242: in 'process_in_transaction '.

    "/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/App/co ntrollers / magic_controller.rb:163: in ' block ' (3 levels) in do_magic.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers / magic_controller.rb:146: in 'each '.

    "/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/App/co ntrollers / magic_controller.rb:146: in ' block ' (2 levels) in do_magic.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers / magic_controller.rb:137: in 'each '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers / magic_controller.rb:137: in 'block in do_magic'

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers / magic_controller.rb:127: in 'each '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers / magic_controller.rb:127: in 'do_magic '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in 'perform_action.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:in "call_filters".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:638:in 'block in run_before_filters'

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers / application_controller.rb:111: in 'give_session_to_models '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:178:in "evaluate_method".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:186:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:635:in "run_before_filters".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:615:in "call_filters".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:in "perform_action_with_filters".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in 'block in perform_action_with_benchmark'

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7: in "block in ms.

    /Applications/server.app/Contents/ServerRoot/usr/lib/Ruby/1.9.1/benchmark.rb:29 5: in 'real time '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7: in "ms."

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in "perform_action_with_benchmark".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:in "perform_action_with_rescue".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in "perform_action_with_flash".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in "process".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:in "process_with_filters".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:in "process".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/routing/route_set.rb:43 8: in 'call '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87:in 'send '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:121:in "_Appel".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:130:in 'block in build_middleware_stack'

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:i n 'call '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:i n 'call '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/head.rb:9:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/session/abstract_store. RB: 177: in 'call '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in "call block".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstr act / query_cache.rb:34: in 'cache '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:in "cache".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstr act / connection_pool.rb:361: in "call".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/lock.rb:11:in "call block".

    < internal: Prelude >: 10: in 'synchronize '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/lock.rb:11:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:106:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/static.rb:31:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/log_tailer.rb:17:in «call»

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:81:in "pre_process block."

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in 'catch '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in "pre_process".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:54:in "process".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:39:in "receive_data".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in "run_machine".

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in 'run '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in 'start '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/server.rb:159:in 'start '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:86:in 'start '.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in 'run_command.

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in 'run! '

    /Applications/server.app/Contents/ServerRoot/usr/share/devicemgr/backend/thin:1 1: turnkey"< >".

    [739] [08/04/2016 18:51:55.991] F: NameError (uninitialized constant InactiveUserGroup):

    Vendor/Ruby/1.9.1/Gems/ActiveSupport-2.3.18/lib/active_support/Dependencies.RB: 469: in "load_missing_constant".

    Vendor/Ruby/1.9.1/Gems/ActiveSupport-2.3.18/lib/active_support/Dependencies.RB: 106: in "const_missing_with_dependencies".

    lib/mdm_library_item_base. RB:22: in 'const_get '.

    lib/mdm_library_item_base. RB:22: in 'library_item_by_id '.

    App/Models/Profile.RB:276:in 'owner '.

    App/Models/Profile.RB:250:in "library_item_type".

    App/Models/Profile.RB:257:in "modify_attributes".

    lib/mdm_record_base. RB:184: in 'get_attributes.

    App/helpers/user_group_helper. RB:85: in 'get_profiles '.

    App/Controllers/magic_controller. "RB:180: in ' block ' (5 levels) in do_magic.

    App/Controllers/magic_controller. "RB:180: in ' block ' (4 levels) in do_magic.

    Vendor/Ruby/1.9.1/Gems/ActiveRecord-2.3.18/lib/active_record/connection_adapter s/abstract/database_statements.rb:136:in "transaction".

    config/Initializers/dm_rails_monkey_patches. RB:152: in "transaction".

    Vendor/Ruby/1.9.1/Gems/ActiveRecord-2.3.18/lib/active_record/transactions. RB:18 2: in the "transaction".

    lib/mdm_utilities. RB:242: in 'process_in_transaction '.

    App/Controllers/magic_controller. "RB:163: in ' block ' (3 levels) in do_magic.

    App/Controllers/magic_controller. RB:146: in 'each '.

    App/Controllers/magic_controller. "RB:146: in ' block ' (2 levels) in do_magic.

    App/Controllers/magic_controller. RB:137: in 'each '.

    App/Controllers/magic_controller. RB:137: in 'block in do_magic'

    App/Controllers/magic_controller. RB:127: in 'each '.

    App/Controllers/magic_controller. RB:127: in 'do_magic '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/base. RB:1333: in 'perform_action.

    n Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Filters.RB:617:i 'call_filters '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Filters.RB:638:i n 'run_before_filters block '.

    App/Controllers/application_controller. RB:111: in 'give_session_to_models '.

    Vendor/Ruby/1.9.1/Gems/ActiveSupport-2.3.18/lib/active_support/callbacks. RB:178: in 'evaluate_method '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Filters.RB:186:i n 'call '.

    n Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Filters.RB:635:i 'run_before_filters '.

    n Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Filters.RB:615:i 'call_filters '.

    n Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Filters.RB:610:i 'perform_action_with_filters '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/benchmarking. RB: 68: 'block in perform_action_with_benchmark'

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/benchmarking. RB: 68: in "perform_action_with_benchmark".

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Rescue.RB:160:in "perform_action_with_rescue".

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Flash.RB:151:in "perform_action_with_flash".

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/base. RB:532: in 'process '.

    n Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Filters.RB:606:i 'process_with_filters '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/base. RB:391: in 'process '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/base. RB:386: in 'call '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Routing/route_se t.rb:438: in "call".

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Dispatcher.RB:87: "send."

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Dispatcher.RB:12 1: in "_Appel".

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Dispatcher.RB:13 0: in 'block in build_middleware_stack'

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/string_coercion. RB: 25: in 'call '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/string_coercion. RB: 25: in 'call '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/params_parser. RB: 15: in 'call '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/session/abstract _store.rb:177: in "call".

    Vendor/Ruby/1.9.1/Gems/ActiveRecord-2.3.18/lib/active_record/query_cache. RB:29: in "block in the call.

    Vendor/Ruby/1.9.1/Gems/ActiveRecord-2.3.18/lib/active_record/connection_adapter s/abstract/query_cache.rb:34:in "cache".

    Vendor/Ruby/1.9.1/Gems/ActiveRecord-2.3.18/lib/active_record/query_cache. RB:9:i n "cache".

    Vendor/Ruby/1.9.1/Gems/ActiveRecord-2.3.18/lib/active_record/query_cache. RB:28: in "call".

    Vendor/Ruby/1.9.1/Gems/ActiveRecord-2.3.18/lib/active_record/connection_adapter s/abstract/connection_pool.rb:361:in «call»

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Failsafe.RB:26:i n 'call '.

    < internal: Prelude >: 10: in 'synchronize '.

    Vendor/Ruby/1.9.1/Gems/actionpack-2.3.18/lib/action_controller/Dispatcher.RB:10 6: in 'call '.

    Vendor/Ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/static. RB:31: in 'call '.

    Vendor/Ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/log_tailer. RB:17: in 'call '.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Connection.RB:81:in 'block in pre_process ".

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Connection.RB:79:in 'catch '.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Connection.RB:79:in "pre_process".

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Connection.RB:54:in 'process '.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Connection.RB:39:in "receive_data".

    Vendor/Ruby/1.9.1/Gems/eventmachine-1.0.3/lib/eventmachine. RB:187: in 'run_machine '.

    Vendor/Ruby/1.9.1/Gems/eventmachine-1.0.3/lib/eventmachine. RB:187: in 'run '.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/backends/base. RB:63: in 'start '.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Server.RB:159:in 'start '.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Controllers/Controller.RB:86:in 'start '.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Runner.RB:187:in 'run_command.

    Vendor/Ruby/1.9.1/Gems/Thin-1.5.1/lib/Thin/Runner.RB:152:in 'run '!

    end: 11: in "< main >".

    [739] [08/04/2016 18:51:55.992] I: rendered /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/public 500.html (500 internal server error)

    [740] [08/04/2016 18:51:55.998] I: treatment MagicController #do_magic (for 1.1.1.1 to the 2016-04-08 18:51:55) [POST]

    [741] [08/04/2016 18:51:56.060] I: treatment MagicController #do_magic (for 1.1.1.1 at 2016-04-08 18:51:56) [POST]

    [740] [08/04/2016 18:51:56.278] I: completed in s 280ms (view: 1, DB: 115). 200 OK [https://macserver.elcapitan.com/magic/do_magic]

    [741] [08/04/2016 18:51:56.368] I: completed in 307ms (views: 1, DB: 177). 200 OK [https://macserver.elcapitan.com/magic/do_magic]

    mpass1 kernel [0]: gfx: Surf 15ea9c9f: clientClose:

    8 April 18:52:14 macserver kernel [0]: gfx: Surf 15ea9c9f: SetIDMode: id = 330484187 mode = 0 x 24

    8 April 18:52:14 macserver kernel [0]: gfx: Surf 15ea9c9f: clientClose:

    ######################################################################

    ##############     END               ##########################################

    ######################################################################

    OS X Server: Troubleshooting with the Profile Manager

    How to reset the profile to its original State Manager

    Update Server 3.2.1 fail

  • SQL more how to stop script after the exception of the DDL

    Hello

    I have script .sql, which I managed by SQL * more.

    Some migration of data and database structure changes were made in the script.

    So, I use a lot of distinct calls:

    @script_name.sql

    @script_name_1.sql

    @script_name_2.sql

    ...

    Some of the scripts contains DDL as create table or column.

    contains some declare blocks (DML).

    Is it possible to stop the script after an exception has occurred?

    Thank you, Olga.

    Hi, Olga.

    You can use the SQL * more order

    WHENEVER SQLERROR EXIT

    to tell SQL * more to stop the execution of orders and immediately disconnect after any exception SQL is triggered.

    I don't know of anyway to stay connected, but to stop script execution, after an error.

  • Why Firefox continues to block all the content I want to see, including tickets, I want to buy out my favorite despite changes sites does not block content?

    the program continues to block the content even with blocking function disabled. I constantly switch between browsers due to the annoying feature. I want it to stop blocking content, I want to disable the blocking, but laboriously must stop at all the sites I visit and spend time while it blocks content, demand if I want to keep the content blocking, annoyingly sinks and I must say to "remember" not to do and does it continuously , while continually annoyingly content blocks! I want him to stop doing that. I'm an adult, I'm 60 years old. I don't need a babysitter on my browser telling me what I should see and what I see, please fix this as soon as possible. Apparently disable the pop-up blocker does nothing to stop this annoying problem. Its design and its content filtering. It's illegal I think since my content I pay and I pay view all content on the world wide web. I want to stop my research of filtering and blocking content! ENOUGH!

    You have an extension, the FindWide toolbar, which many view as an unwanted intruder. You should be able to disable or remove the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions.

    For completeness, here's my method to track down and clean up bad Add - ons and other ad injectors. I know it seems long, but it's not so bad.

    (1) open the Control Panel, uninstall a program. After the loading of the list, click on the column heading "installed on" to group infections, I mean additions by date. This can help the undisclosed items bundle smoker who snuck out with some software, you have agreed to install. Beware of everything that you don't recognize / remember, since malware often uses sounding names important or innocent to discourage you remove. Out as much garbage as possible here.

    (2) open Firefox page modules using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons
    • in the Windows "Run" dialog box, type or paste
      firefox.exe "about:addons"

    In the left column, click on Plugins. Set essential and unrecognized plugins 'never enable '.

    In the left column, click Extensions. Then, in case of doubt, disable (or delete, if possible) not recognized and unwanted extensions.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Any improvement?

    (3) you can search the rest of problems with scanning/cleaning tools listed in our technical support article: Troubleshooting Firefox problems caused by malware. These scanners on request are free and take a long time to run. If they end quickly, especially if they require the payment you have a serious infection. I suggest the specialty forums listed in the article in this case.

    Success?

  • Firefox continues to try to replace by Ask as my search engine. I want to use Google, but FF keeps changing it back to Ask, even when I remove Ask in the function "manage search engine."

    See the question. That's all what it!

    This has happened

    Each time Firefox opened

    Uninstall ask
    Several free programs will install Ask 'Special Edition '. Foxit Reader, you have installed, is one of these. You must not choose on these items or to download the free program or during the installation of the free program. Foxit Reader, the opt-out is during the installation of Foxit Reader. See the image attached to the opt-out Foxit Reader.

    First try to disable or uninstall the Ask.com toolbar in Firefox via "tools-> Add-ons-> Extensions". See: disable or remove modules.

    In some cases, you may need to uninstall the Ask toolbar, using the Windows Control Panel. See cannot uninstall an add-on - uninstall of Windows Add/Remove Programs.

    You may also need to reset preferences related to Ask.com via subject: config, specifically the key word. URL preference-
    -Open a new tab or window.
    -Type Subject: config in the URL/address bar and press the Enter key
    -If you see a cautionary, accept it (promise to be careful)
    -Filter = keyword.url
    -Right-click on the preference under the filter and click Reset
    -Restart Firefox (file > restart Firefox)
    See: http://kb.mozillazine.org/Keyword.URL for more details.

    See:
    http://KB.mozillazine.org/Problematic_extensions#Ask_Toolbar
    http://KB.mozillazine.org/Uninstalling_toolbars

    Other topics: ~ ~ Red: you have installed the plug-ins with known security issues. You must update them immediately. ~ ~

    Java Update: your worm. 1.6.0.17; current version 1.6.0.20 (important update 15/04/2010)
    (Firefox 3.6 and above requires Java 1.6.0.10 or above; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    (Windows users: do the update manually, very easy.)
    ~ ~ Red: check your version here ~ ~: http://www.mozilla.com/en-US/plugincheck/
    See: Java Update
    Do the update with Firefox closed.

    NOTE: there is no need to have 2 PDF readers, you have Adobe Reader and Foxit Reader. Uninstalling one is made using the setting > Control Panel > Add / Remove Programs (with Firefox closed).

    If you intend to keep Adobe Reader:
    You ~ ~ Red:PEUT~ ~ need to update Adobe Reader for Firefox (aka Adobe PDF plug-in for Firefox): your worm s/o; current version 9.3.3 (updated security important release 29/06/2010; See: http://www.adobe.com/support/security/bulletins/apsb10-15.html)
    ~ ~ Red: check your version here ~ ~: http://www.mozilla.com/en-US/plugincheck/
    See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    Instead of going on the site of Adobe and download, you may be able to update to Adobe Reader installed on your system . Open the Adobe Reader software installed on your system (in Windows, start > Program Files, find and click on Adobe Reader to open the), click Help, click Find updates.
    If you go to the Adobe site to download the course Adobe Reader:
    -use Firefox to download and SAVE to your hard drive (save to the desktop for easy access)
    ~ ~ Red:-see the images at the bottom left of this post to see the steps on the Adobe site ~ ~
    -the release of Firefox (file > exit)
    -In Windows: make sure that Firefox is completely closed (Ctrl + Alt + Delete, choose Task Manager, click the processes tab, if "firefox.exe" is on the list, made a "firefox.exe" right-click and choose end process, close the Task Manager window)
    -Double-click on the installer for Adobe Reader you just download to install/update Adobe Reader

  • Supposed to activate the "Privacy Manager" after show scan infected files

    Start up for Windows Vista a unknown scan begins on my PC and informs me I have 84 infected files. Then, nothing works except that I am to activate the "Privacy Manager" at an unknown cost. This continues for about 5 minutes, then suddenly he was gone and all the functions of my work. I ran a full scan essential of MSN and no viruses, malware and so on have emerged. I then used the MSN virus removal utility and so far this little bug disappeared.  B4 - that someone of another experince the same? and what did you do to get ride of it?

    Original title: alleged Virus problem

    Chuck

    Not seen, Director of the protection of personal information before but these things change the names of all time. Does this sound familiar

    http://www.bleepingcomputer.com/virus-removal/remove-privacy-protection

    The best way to avoid these is to keep all your programs to this day in particular Java, Flash Player, Adobe Reader and Quicktime. Also use a Standard user for browsing the Internet account and not an administrator account.

    This program allows to check that your installed programs are up to date.

    http://Secunia.com/vulnerability_scanning/personal/

  • URGENT::opening multiple files - i have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    bbmChatDB of public database;

    public static FileConnection fconnRead = null;
    public static String fileReadData = "";
    public static InputStream is = null;
    data Byte [] = null;
    DataInputStream is = null;

    Here is my code...

    I have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    try {}

    FileConnection fc = Connector.open("file:///store/home/user/documents/BSM/") (FileConnection); "

    If (fc.exists ()) {}

    Enumeration e = fc.list ();

    While (e.hasMoreElements ()) {}

    System.out.println ("files are:" + (String) e.nextElement ());

    play this file
    StringBuffer stringBuff = new StringBuffer();
    try {}
    System.out.println ("opening file")-;
    System.out.println ("file name is:" + (String) e.nextElement ());
    fconnRead = Connector.open("file:///store/home/user/documents/BSM/(String)e.nextElement(),Connector.READ_WRITE) (FileConnection);
    System.out.println ("data length")-;
    If (fconnRead.exists ()) {}
    is = fconnRead.openDataInputStream ();
    data = IOUtilities.streamToBytes (is);
    Ddd = new String string (data);
    fileReadData = ddd.toString ();
    System.out.println ("length of data:" + fileReadData.length ());
    System.out.println ("read data :" + fileReadData);

    }

    } catch (IOException ee) {}
    ee.printStackTrace ();
    System.out.println ("Exception in the read data :")
    + ee.getMessage ());
    }

    }
    }

    } catch (IOException e) {}

    e.printStackTrace ();
    }

    {Finally

    try {}
    If (is! = null) {}
    is. Close();
    }
    System.out.println ("is closed...");
    } catch (IOException e1) {}

    E1. PrintStackTrace();
    }

    If (fconnRead! = null) {}
    try {}
    fconnRead.close ();
    } catch (Exception e) {}
    System.out.println (try ());
    }

    }

    }

    You can recode this treatment so that it uses only:

    e.nextElement ())

    Once a loop iteration.

    Directly at the start saying something like:

    String fileName = e.nextElement ());

    and use fileName everywhere in your loop.

    Also be aware that printStackTrace() will do nothing in your situation, it only works if you catch Throwable.  So make sure you something output all your catches exception and also have a catch (Throwable t) to catch the things you miss, as follows:

    {} catch (Throwable t)

    t.printStackTrace ();

    System.out.println ("Eception exception:" + t.toString ());

    }

    I think your code is thrown an exception and you don't see it.

  • Uncaught exception handler application when you install the application via the Desktop Manager

    Hello

    I sometimes have a problem when I install my application on the new phones (mainly with OS6 and OS7) using the Desktop Manager. When installing the application net_rim_bb_trust_application_manager raises an uncaught exception as if had been stalled and its eventqueue was too long. The application itself is installed and works perfectly after a battery pull.

    The question is a bit like the problem described in this thread:

    http://supportforums.BlackBerry.com/T5/Java-development/Autostart-on-installation/m-p/471949#M94686

    The problem is that the solution mentioned here does not solve my problem. My request to have multiple entry points and one of them is an autostart entry point but she must leave the application, unless a parameter in the application autostart enabled (which is not the default). I don't see how this should pose problems for the application manager.

    It is also worth mentioning that this happends only when the application is installed the first time on a new device or a new version of the application that is signed with a different code signing key is installed on the device. The problem will not occur if the application is uninstalled and then installed again. This makes me think that it's something with the permissions to a...?

    Someone at - it had the same problem and solved it?

    Here are the 'new' version of this same article:

    http://supportforums.BlackBerry.com/T5/Java-development/write-safe-initialization-code/Ta-p/444795

    Not sure this is the same problem however, because the user described the problem as being present during the installation, date at which the device is fully functional.

    I agree that it is likely to be a permissions issue.  I saw on some devices that the app will throw a ControlledAcessException on first installation, associated with the PersistentStore.  My suspicion is that there is a kind of race condition between the code that runs the auto-start and the code that is supply completely, for the first time the auto start run on installation, the device is not ready for it.  I thought a few seconds delay automatic start of treatment of coding, but never tested it.

  • Exception management - inside the procedure

    Hello

    I'm trying to insert records into our target within a cursor table.

    (For after the analysis of the values of the Source table and to make changes in the format of the value and insert into the target table)

    I need to capture the exception within the cursor and save these exception in an error table.

    I use the exception within the cursor for loop block.

    example code:

    C1 loop c_cursor1

    Start

    ... Insert the statement after the analysis of the values...

    exception

    while others

    then

    DBMS_OUTPUT. Put_line (' error code: ' |) SQLCODE);

    dbms_output.put_line (' error: ' |) SQLERRM);

    end;

    end loop;

    Examples of exception scenarios:

    1)

    Error report:

    ORA-01476: divisor is equal to zero

    ORA-06512: at "APX_DEVELOPMENT. PKG_CUSTOMER_FEDERATION', line 165

    ORA-06512: at line 3 level

    01476 00000 - "the divisor is equal to zero.

    Error code: - 1476

    Error message: ORA-01476: divisor is equal to zero

    2)

    Error report:

    ORA-12899: value too large for column 'APX_DEVELOPMENT '. "" "" RG_ORIGINATOR '. "" CREATED_BY' (real: 14, maximum: 10)

    ORA-06512: at "APX_DEVELOPMENT. PKG_CUSTOMER_FEDERATION', line 133

    ORA-06512: at line 3 level

    12899 00000 - "value too large for column %s (actual: %s, maximum: %s)).

    Error code: - 12899

    Error message: ORA-12899: value too large for column 'APX_DEVELOPMENT '. "" "" RG_ORIGINATOR '. "" CREATED_BY' (real: 14, maximum: 10)

    I use SQLCODE and SQLERRM to capture the codes and messages.

    But how to capture the package or the procedure name, and line number.

    for example. I need to capture something like below

    ORA-06512: at "APX_DEVELOPMENT. PKG_CUSTOMER_FEDERATION', line 165

    ORA-06512: at "APX_DEVELOPMENT. PKG_CUSTOMER_FEDERATION', line 133

    How to get to this

    Thanks in advance for your help.

    Please let me know for further details.

    Use dbms_utility.format_error_backtrace... Check below...

    http://docs.Oracle.com/database/121/ARPLS/d_util.htm#i1003874

    Thank you

    Ann

  • Try to handle the exception of another block, do not get it... Precious need help please...

    Hi, fields,

    I want to RAISE an exception through my first procedure and want to manage it in the second procedure. [I think it's concept of reproduction or multiplication exception].

    Not able to do, need your valuable advice.


    create or replace procedure test_excep1 (a number, b number)
    is
    c number;
    external_exception exception;
    Start
    c: = a / b;
    dbms_output.put_line ('Came out' | c);
    exception
    When zero_divide then
    raise external_exception;
    end;

    Start
    test_excep (2,0);
    end;

    When executing procedure above with divisor of zero, I get the error message below

    ORA-06510: PL/SQL: not supported by the user-defined exception
    ORA-06512: at "SONARDBO. TEST_EXCEP', line 10
    ORA-01476: divisor is equal to zero
    ORA-06512: at line 2


    Now if I try to catch this exception by another procedure, it does not help me. -This is my exact requirement.


    Create procedure test_excep2 (in numbers, number e d)
    is
    external_exception exception;
    Start
    test_excep (d, e);
    exception when external_exception then
    dbms_output.put_line ("' work of exception management");
    end;

    Start
    test_excep2 (2,0);
    end;

    When running over block, get the message below.

    ORA-06510: PL/SQL: not supported by the user-defined exception

    ORA-06512: at "SONARDBO. TEST_EXCEP', line 10

    ORA-01476: divisor is equal to zero

    ORA-06512: at "SONARDBO. TEST_EXCEP2', line 5

    ORA-06512: at line 2

    Thanks a ton in advance for help.

    Everything simply because you called an undefined exception 'external_exception' in a unit of code, and then reuse the name in another--does not mean that the variables of these exceptions are for the same exception. Common names mean nothing in this case. Using the same name for the variables or constants and exceptions across modules/units of code, does not mean that they are now the same.

  • The exception of DOM JmsAdapter analysis management

    Hello

    I am currently facing a problem with the behavior of the Jms adapter.

    Whenever a JMS message is put in the queue, and the message is not XML valid, the Jms adapter (consumer) throw the exception "DOM Parsing Exception to the Exception translator".

    It's fine, I understand that the message was not well-formed. But what is not fine is that the underlying BPEL is not instantiated: which means that I can't handle the exception properly.

    Y at - there a way to force the Jms adapter not crashing on the analysis of DOM for the BPEL to be instantiated (and then be able to handle the exception it)?

    Or is there a way to manage the error thrown by the Jms adapter itself? How?

    I think that I have a workaround if there is no better option (if the two above questions cannot be decided) but I would rather not implement it since it will be a few extra steps / complexity.

    > It would be to check the option "opaque schema native format" and then use a java embedded in order to decode the base64 string for finally parsing it.

    Kind regards

    Mathieu

    Hi Mathieu,

    Error messages before being assigned to the infrastructure of service are called rejects messages. For example, the Oracle file adapter selects a file with data in the CSV format and try to translate it into XML format (using NXSD). If there is a mistake in translation, the message is rejected and are not counted for the composite target.

    You can create release managers to manage message errors. Message errors include those that occur during translation, incompatibility of correlation and analysis XML ID after receipt of the message.

    Docs on how to do that are here...

    http://docs.Oracle.com/CD/E28280_01/integration.1111/e10231/life_cycle.htm#CIAIICJJ

    See you soon,.

    Vlad

Maybe you are looking for