No wwv_flow_api.set_credentials in Apex 3.0

I used wwv_flow_api.set_credentials in a batch process to get access to wwv_flow_files. This doesn't work in Apex 3.0. Set_credentials no longer exists.
Anyone know what the replacements is?

Scott (or anyone else in the know),
I have a similar issue in that I have a nightly batch program that sends out emails to the subscribers of my application. I would like to keep the parameterized email templates as Text Messages and use apex_lang.message to instantiate the emails. I also reference some mail related constants as application substitution strings (but that is less critical). Is there a way to set up an Apex context in my batch initiated stored procedure that allows me to use apex_lang.message from outside an Apex page context? The call you cite above only mentions a workspace parameter, so I'm assuming it would be insufficient to do what I need...
Many thanks for any insight,
Bill

Similar Messages

  • ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).

    I was trying to create the new ADMIN2 account from the FLOWS_020200 schema using :
    begin
    wwv_flow_api.set_security_group_id(p_security_group_id=>10);
    wwv_flow_fnd_user_api.create_fnd_user(
    p_user_name => ‘admin2′,
    p_email_address => ‘[email protected]’,
    p_web_password => ‘admin2′) ;
    end;
    And I got:
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).
    ORA-06512: at “FLOWS_020200.WWV_FLOW_FND_USER_API”, line 19
    ORA-06512: at “FLOWS_020200.WWV_FLOW_FND_USER_API”, line 429
    ORA-06512: at line 3
    What can I do to solve this issue?

    Okay - I see that's easy enough to fix through Enterprise Manager. But now that I can log on as FLOWS_020200, I get this error when I try to run a script with
    APEX_UTIL.IS_USERNAME_UNIQUE.
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).
    ORA-06512: at "FLOWS_020200.WWV_FLOW_FND_USER_API", line 19
    ORA-06512: at "FLOWS_020200.WWV_FLOW_FND_USER_API", line 324
    ORA-06512: at "FLOWS_020200.HTMLDB_UTIL", line 456
    ORA-06512: at line 10

  • Create Multiple Developer logins with htmldb_util.create_user

    Need some help in creating about 100 user ID's..
    Using the htmldb_util.create_user process to do it and I keep getting an error about requiring ADMIN privs..
    Code looks like -
    DECLARE
    V_USER_ID varchar2(30);
    CURSOR names IS
    select upper(contact_last_name) || upper(substr(contact_first_name, 1, 1)) as USER_ID
    from contact
    where contact_first_name is not null;
    BEGIN
    OPEN names;
    LOOP
    wwv_flow_api.set_credentials(p_company => 'default',
    p_username => 'RNASSER',
    p_password => 'XXX');
    FETCH names into V_USER_ID;
    htmldb_util.create_user(p_user_name => V_USER_ID,
    p_web_password => 'XXX',
    p_web_password_format => 'HEX_ENCODED_DIGEST');
    EXIT WHEN names%NOTFOUND;
    END LOOP;
    CLOSE names;
    END;
    Can anyone fill me in on what I am missing here? The admin error happens at the call to the create_user, and I am an ADMIN for the application.
    Thanks
    Rob

    Sorry, in addition to my above statement:
    Here's my main conflict. From the HTMLDB_UTIL package, it says this:
    PROCEDURE create_user (
    -- Description:
    -- This procedure allows for programatic and bulk creation of users.
    -- Example:
    -- From sqlplus logged in as a schema assigned to the target workspace
    -- begin
    -- for i in 1..10 loop
    -- htmldb_util.create_user(
    -- p_user_name => 'USER_'||i,
    -- p_email_address => 'user_'||i||'@myworkspace.com',
    -- p_web_password => 'user_'||i) ;
    -- end loop;
    -- commit;
    -- end;
    -- /So it appears this can be called outside the APEX environment. But you cannot simply call this statement outside of APEX, or you'll first get an Unauthorized Access Error. Calling wwv_flow_api.set_credentials() before the loop above will get you past the Unauthorized Access exception, but you will hit User requires Admin privs. (Even if you use the credentials of a workspace administrator).
    Hope that helps in explaining how I've arrived at this point.
    (APEX 2.0, Oracle 10g)
    Chris

  • Post Install steps for htmldb 1.6.1

    I am done with a new installation on RHL
    - 10g DB install on ORACLE_HOME1
    - Standalone 9.0.4 Http Server for the CCD on ORACLE_HOME2
    - Install of HTMLDB 1.6.0 and later patch of 1.6.1 error free
    I am following the post installation steps for configuring the DAD and I am unable to find the file "wdbsrv.app". I am on page 22 of the HTMLDB installation guide (B14498_02.pdf)
    How do I configure the DAD and up my htmldb.
    thanks
    -/srinath

    I am still having issues .....
    I get INVALID LOGIN CREDENTIALS - logging as ADMIN/HTMLDB in the /pls/htmldb/htmldb_admin page
    I unknowingly unlocked and changed the passwords of HTMLDB_PUBLIC_USER and other users
    to "htmldb", but IMO that should'nt matter because I used "htmldb" as the password during
    the initial install too. So....
    the access log has this:
    172.16.4.57 - HTMLDB_PUBLIC_USER [01/Apr/2005:13:13:33 -0800] "POST /pls/htmldb/wwv_flow.accept HTTP/1.1" 302 165
    172.16.4.57 - HTMLDB_PUBLIC_USER [01/Apr/2005:13:13:33 -0800]
    "GET /pls/htmldb/f?p=4550:10:1949690027032632943&notification_msg=Invalid%20Login%20Credentials/344577F9B4C4782C9D0F6CCC888077AB/ HTTP/1.1" 200 6688
    172.16.4.57 - HTMLDB_PUBLIC_USER [01/Apr/2005:13:13:42 -0800] "POST /pls/htmldb/wwv_flow.accept HTTP/1.1" 302 165
    172.16.4.57 - HTMLDB_PUBLIC_USER [01/Apr/2005:13:13:42 -0800]
    "GET /pls/htmldb/f?p=4550:10:1949690027032632943&notification_msg=Invalid%20Login%20Credentials/344577F9B4C4782C9D0F6CCC888077AB/ HTTP/1.1" 200 6688
    my dad looks likes this:
    <Location /pls/htmldb>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
    PlsqlDatabasePassword htmldb
    PlsqlDatabaseConnectString biz1:1521:e5dwhdb1 SIDFormat
    PlsqlDefaultPage htmldb
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlAuthenticationMode Basic
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    </Location>
    I tried this from the FAQ section but get this:
    SQL> begin
    2 wwv_flow_api.set_security_group_id(p_security_group_id=>10);
    3 end;
    4 /
    PL/SQL procedure successfully completed.
    SQL> ed /tmp/z
    wwv_flow_api.set_security_group_id(p_security_group_id=>10);
    begin
    wwv_flow_fnd_user_api.create_fnd_user(
    p_user_name => 'myself',
    p_email_address => '[email protected]',
    p_web_password => 'mypasswd') ;
    end;
    ERROR at line 1:
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).
    ORA-06512: at "FLOWS_010600.WWV_FLOW_FND_USER_API", line 19
    ORA-06512: at "FLOWS_010600.WWV_FLOW_FND_USER_API", line 429
    ORA-06512: at line 2
    ===============================
    thanks in advance for your insights
    -/srinath

  • Export and import oracle xe application users

    How can i import a user'sexport script using sqlplus?
    i make a export with application->export->users to a file exportuser.sql
    but when i'm try to import with sqlplus i get
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials).
    I need to make a silence creation of users using sqlplus, (not by htmldb), any idea?

    Hello
    Have a look on HTMLDB_UTIL.EXPORT_USERS - How this works?
    For me it works. Import works fine.
    Compare your file with the output from my command and check for differences...
    Greetings
    Sven

  • Can I use sqlplus to import an application?

    Hi -- I tried this, but got errors. If I export an application, can I use sqlplus to import this application (using the generated .sql script from the export) into a different oracle instance? Are the steps to do this documented somewhere?
    Thanks

    Hi -- Thanks for the reply.
    I exported the workspace from the first instance, then tried to run the sql script to import into the second instance, but got some errors (shown below). Am I missing something else? Also (this must sound dumb) -- do I have to adjust the script to change the user name and/or schema name to match what exists in the 2nd instance?
    Thanks
    Betty
    line 1: SQLPLUS Command Skipped: set serveroutput on size 1000000
    line 2: SQLPLUS Command Skipped: set feedback off
    Error starting at line 6 in command:
    begin
    wwv_flow_security.g_security_group_id := 717917900923545;
    end;
    Error report:
    ORA-06550: line 2, column 4:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 2, column 4:
    PL/SQL: Statement ignored
    Creating workspace BCHANG...
    Error starting at line 15 in command:
    begin
    wwv_flow_fnd_user_api.create_company (
    p_id => 718209988923561,
    p_provisioning_company_id => 717917900923545,
    p_short_name => 'BCHANG',
    p_first_schema_provisioned=> 'BCHANG',
    p_company_schemas => 'BCHANG');
    end;
    Error report:
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).
    ORA-06512: at "FLOWS_020100.WWV_FLOW_FND_USER_API", line 19
    ORA-06512: at "FLOWS_020100.WWV_FLOW_FND_USER_API", line 354
    ORA-06512: at line 2
    Creating Groups...
    Creating Users...
    Error starting at line 33 in command:
    begin
    wwv_flow_fnd_user_api.create_fnd_user (
    p_user_id => '718122426923546',
    p_user_name => 'BCHANG',
    p_first_name => '',
    p_last_name => '',
    p_description => '',
    p_email_address=> '',
    p_web_password => '6D7E02291302864DD93CE4A2974FA0A1',
    p_web_password_format => 'HEX_ENCODED_DIGEST',
    p_group_ids => '',
    p_developer_privs=> 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
    p_default_schema=> 'BCHANG',
    p_allow_access_to_schemas => '');
    end;
    Error report:
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).
    ORA-06512: at "FLOWS_020100.WWV_FLOW_FND_USER_API", line 19
    ORA-06512: at "FLOWS_020100.WWV_FLOW_FND_USER_API", line 429
    ORA-06512: at line 2
    commit succeeded.
    line 50: SQLPLUS Command Skipped: set feedback on
    ...done

  • Forgot HTMLDB admin password, how to reset?

    Hello,
    carelessly, I forgot my admin. password and uer name for HTMLDB, is there a way to reset a password for admin.?
    I'm following the link to reset the password:
    http://www.oracle.com/technology/products/database/htmldb/install_faq.html#admin_password
    when I type: alter user FLOWS_010500 account unlock; in sqlplus
    I got an error :
    ERROR at line 1:
    ORA-01918: user 'FLOWS_010500' does not exist
    kind of urgent! Any idea?
    Much appreciate your attention,
    Emily123

    Hello Holger,
    Thanks for your hint. I found there is a FLOWS_020000 account. And I'm follow the link to reset admin's password.
    http://www.oracle.com/technology/products/database/htmldb/install_faq.html#admin_password
    The content of the link is :
    alter user FLOWS_010500 account unlock;
    ...and then connect to the FLOWS_010500 user and run this procedure:
    begin
    wwv_flow_api.set_security_group_id(p_security_group_id=>10);
    wwv_flow_fnd_user_api.create_fnd_user(
    p_user_name => 'admin2',
    p_email_address => '[email protected]',
    p_web_password => 'admin2') ;
    end;
    ...which creates a new admin user with username "admin2" and password "admin2". Finally, execute a...
    alter user FLOWS_010500 account lock;
    ...from a schema like System after this process is completed.
    after I unlock the account FLOWS_020000,
    the second step is :...and then connect to the FLOWS_010500 user and run this procedure:
    how to connect to the user FLOWS_020000?
    when I directly run the procedure in sql*plus, I got an error:
    ERROR at line 1:
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).
    ORA-06512: at "FLOWS_020000.WWV_FLOW_FND_USER_API", line 19
    ORA-06512: at "FLOWS_020000.WWV_FLOW_FND_USER_API", line 429
    ORA-06512: at line 4
    Much appreciate your reply,
    Emily123

  • Mass creation of html-db logins

    I have a table in my application that contains an employee file. I want to create html-db logins for all of the users in this table.
    I logged in to this schema and attempted to create a user using wwv_flow_fnd_user_api.create_fnd_user with username and password parameters.
    I recieved the following error:
    ERROR at line 1:
    ORA-20001: Unauthorized access (wwv_flow_api.set_credentials not set).
    ORA-06512: at "FLOWS_010500.WWV_FLOW_FND_USER_API", line 19
    ORA-06512: at "FLOWS_010500.WWV_FLOW_FND_USER_API", line 429
    ORA-06512: at line 1
    Any ideas how I can use this function from the application schema to insert this user list?
    Thank you,
    Adam Cumming
    [email protected]

    Adam,
    Please see Re: how to create 6 users + 1 with admin priviledge? and let us know if Raj's answer works for you.
    Scott

  • APEX Application Export/Import

    Hi,
    I have my application build in APEX on 10.2.0.4 database which now i want to migrate to 11.2. Name of schema on the back of my application is DBADMIN. What i have done is, i just exported the application from my current apex on 10.2.0.4 and tried to import on my 11.2 but it gives me following error message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 80, column 32: PLS-00103: Encountered the symbol &amp;quot;!&amp;quot; when expecting one of the following: ( - + case mod new not null &amp;lt;an identifier&amp;gt; &amp;lt;a double-quoted delimited-identifier&amp;gt; &amp;lt;a bind variable&amp;gt; continue avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date &amp;lt;a string litThis is first time i am migrating my application so please help to find out what is the issue and how to resolve it. Following is the detail how i performed the operation
    Source APEX
    Workspace name = Monitoring
    User of application which loged in to this workspace and created application = SALMAN
    Application name = Monitoring
    Database schema name behind application = DBADMIN
    I exported application in UNIX and also DOS format
    Destination APEX
    Workspace name = Monitoring
    User of application which loged in to import the application = UTACADMIN
    Database schema name behind application = DBADMIN and i have already exported the schema from my source database have imported all the objects with data
    Tried importing application from UNIX as well as DOS script but same error message as above.
    Please guide me how can i successfully migrate my application from my source APEX to this new APEX
    Thanks

    Now i exported the workspace from my source APEX and imported in destination and everything is fine and now apparently everything is same but still same error during import of the application, please help to resolve.
    I tried to execute the application export script on sqlplus, but following error was returned
    EMREP.UTAC.COM.SG$APEX_030200> @d:\f100.sql
    APPLICATION 100 - Monitoring
    Set Credentials...
    Check Compatibility...
    API Last Extended:20090112
    Your Current Version:20090112
    This import is compatible with version: 20090112
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-02291: integrity constraint (APEX_030200.WWV_FLOWS_FK) violated - parent
    key not found
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 555
    ORA-06512: at line 3Thanks
    Salman

  • Unable to load Packaged App Document Library 0.91 in Apex 3

    I have downloaded packaged application Document Library 0.91 from packaged applications URL and trying to import it into APEX 3.0.
    In Application Builder I am getting an error message that 'Script has exceeded the maximum limit'. So I tried executing the install script as a application parsing schema, then it returned following error in SQL*Plus:
    SQL> spool doclib_install.log
    SQL> @doc_library_installer_0.91.sql
    APPLICATION 12487 - Document Library 0.9
    Set Credentials...
    Illegal security group id value for this schema.
    Check Compatibility...
    API Last Extended:20070108
    Your Current Version:20070108
    This import is compatible with version: 20060224
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-20001: Package variable g_security_group_id must be set.
    ORA-06512: at "FLOWS_030000.WWV_FLOW_API", line 45
    ORA-06512: at "FLOWS_030000.WWV_FLOW_API", line 237
    ORA-06512: at line 4
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
    With the Partitioning, OLAP and Data Mining options
    Am i missing anything or if anybody got a luck to install this app into Apex 3.0 pls. let me know how to resolve the above error?
    Thanks & regards,
    Preet

    Preet,
    Maybe we need to be more explicit in the readme. You need to "Import and install the doc_library_installer_0.91.sql ... Select to install supporting objects." This is from the Application Builder, select Import. Maybe you uploaded it as a script under the SQL Workshop? Those directions are in the readme for upgrading from the .9 version to the .91 version without losing your data.
    -- Sharon

  • SP2-0027: Input is too long error during Apex 4.0 installation

    I have come across an error while installing Apex 4.0.
    The installation reached the point where it gave a SP2-0027 error
    ...PAGE 72: Workspace Schemas
    ...PAGE 73: &PRODUCT_NAME. Workspace Creation
    ...PAGE 74: Page Views By Day Report
    ...PAGE 75: Page Views by Application and Page
    ...PAGE 76: Hourly Usage
    ...PAGE 77: Usage by Application, for selected hour
    ...PAGE 78: Page Performance Dashboard
    ...PAGE 79: Database
    SP2-0027: Input is too long (> 2499 characters) - line ignored
    wwv_flow_api.create_report_region (
    ERROR at line 16:
    ORA-06550: line 16, column 1:
    PLS-00703: multiple instances of named argument in list
    ORA-06550: line 16, column 1:
    PL/SQL: Statement ignored
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Following this, I looked up Apex help, and so checked dba_registry
    C:\apex>C:\oraclexe\app\oracle\product\10.2.0\server\BIN\sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 13 15:40:05 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL> SELECT STATUS FROM DBA_REGISTRY
    2 WHERE COMP_ID = 'APEX';
    STATUS
    LOADING
    Please help
    Edited by: user4477408 on Jul 19, 2010 3:35 PM
    Edited by: user4477408 on Jul 26, 2010 11:29 AM

    Did you keep any kind of external references to your pages/reports? From what it looks like, one of your report regions exceeds 2500 characters and APEX is having a hard time crunching it. See if you can find that page, then export that page, delete the region, and import the page on it's own later.
    Not sure why it would be such a small area, though. I usually don't have any trouble until I hit 32K characters.

  • APEX_040100.WWV_FLOW_API Error while creating a Interactive Report Region

    I am getting the following error while creating an Interactive report region on a page. (version - 4.1.0.00.32)
    Error Unable to create Dynamic Query page.
    ORA-04065: not executed, altered or dropped ORA-04065: not executed, altered or dropped stored procedure "APEX_040100.WWV_FLOW_API" ORA-06508: PL/SQL: could not find program unit being called: "APEX_040100.WWV_FLOW_API"
    DBA complied package but the error persists.
    Does anyone know how to debug this
    Thanks,
    Priyanka

    Hello ???,
    We are experiencing this too at login in an application. The error is caused by violating the constraint WWV_FLOW_DATA_IDX1 on columns FLOW_INSTANCE, ITEM_ID in table WWV_FLOW_DATA. So for some reason the value of an item in session state is set multiple times.
    When looking at the Access view (statement below) I see that there are multiple logins per second for a user (I have seen 12 times as maximum).
    select login_name, application, access_date, count(*)
    from WWV_FLOW_USER_ACCESS_LOG_V
    group by login_name, application, access_date
    having count(*) > 1
    order by access_date descSince this count of logins varies from 1 to 12, it looks like it is not caused by the application itself, but I also don't have a clue what the root cause is.
    Is there anyone else with more information on this issue?
    We are on APEX 4.0 and Oracle 11g and the applications have all been built in this environment, so no upgrades have been performed.
    Regards, Wouter
    Edited by: Wouter Breeuwsma on 31-mei-2012 12:05

  • ORA-08103: object no longer exists during APEX 2.2 to 3.0 upgrade

    I am trying to upgrade an APEX 2.2 installation on 10.2.0.2 Enterprise Edition on SLES-10 with 400MB shared_pool and 1 GB sga_target. During the upgrade, the session crashes due to ORA-00600: internal error code, arguments: [ktspgfb-1]. I cannot drop the FLOWS_030000 user and 523 corrupt blocks in sys7.dbf including objects source$, argument$ and obj$. So far, I have restored the database and corrupted it 3 times. Each time, I redownloaded apex.zip from technet.oracle.com.
    Here are the errors:
    ...PAGE 1300: Application Comparison
    ...PAGE 1301: Application Comparison Counts
    ...PAGE 1400: Report Layouts
    ...PAGE 1401: Create Report Layout
    ...PAGE 1402: Create Report Layout
    ...PAGE 1405: Edit Report Layout
    ...PAGE 1406: Create Report Query
    ...PAGE 1500: Application Builder
    ...PAGE 1550: User Interface Defaults
    ...PAGE 1552: UI Defaults - Column Defaults LOV
    ...PAGE 1553: UI Defaults - Column Defaults
    ...PAGE 1555: UI Defaults - Table Defaults
    begin
    ERROR at line 1:
    ORA-08103: object no longer exists
    ORA-06512: at "FLOWS_030000.WWV_FLOW_API", line 7733
    ORA-06512: at line 18
    ERROR:
    ORA-00603: ORACLE server session terminated by fatal error
    ERROR:
    ORA-03114: not connected to ORACLE
    SP2-0359: memory exhausted
    Mon Apr 30 11:31:46 2007
    Incremental checkpoint up to RBA [0x175.153ac.0], current log tail at RBA [0x175.2e77b.0]
    Mon Apr 30 11:32:05 2007
    Beginning log switch checkpoint up to RBA [0x176.2.10], SCN: 8173962186001
    Thread 1 advanced to log sequence 374
    Current log# 1 seq# 374 mem# 0: /lv01/oracle/dev10data/log01.dbf
    Mon Apr 30 11:34:24 2007
    Errors in file /lv01/oracle/dev10db/10.2.0/admin/dev10_plato/udump/dev10_ora_11590.trc:
    ORA-00600: internal error code, arguments: [ktspgfb-1], [], [], [], [], [], [], []
    Mon Apr 30 11:34:49 2007
    Errors in file /lv01/oracle/dev10db/10.2.0/admin/dev10_plato/udump/dev10_ora_11590.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-00600: internal error code, arguments: [ktspgfb-1], [], [], [], [], [], [], []
    Mon Apr 30 11:35:02 2007
    Errors in file /lv01/oracle/dev10db/10.2.0/admin/dev10_plato/bdump/dev10_pmon_7541.trc:
    ORA-00600: internal error code, arguments: [ktspgfb-1], [], [], [], [], [], [], []
    Mon Apr 30 11:35:15 2007
    Errors in file /lv01/oracle/dev10db/10.2.0/admin/dev10_plato/bdump/dev10_pmon_7541.trc:
    ORA-00600: internal error code, arguments: [ktspgfb-1], [], [], [], [], [], [], []
    Mon Apr 30 11:37:18 2007
    Completed checkpoint up to RBA [0x176.2.10], SCN: 8173962186001
    Mon Apr 30 11:37:43 2007
    Errors in file /lv01/oracle/dev10db/10.2.0/admin/dev10_plato/bdump/dev10_p000_12471.trc:
    ORA-00600: internal error code, arguments: [ktspgfb-1], [], [], [], [], [], [], []
    Mon Apr 30 11:37:54 2007
    SMON: Parallel transaction recovery slave got internal error
    SMON: Downgrading transaction recovery to serial
    I now have 523 corrupt blocks in sys7.dbf:
    DBVERIFY: Release 10.2.0.2.0 - Production on Mon Apr 30 11:50:21 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = /lv01/oracle/dev10data/sys7.dbf
    Page 188161 is marked corrupt
    Corrupt block relative dba: 0x01c2df01 (file 7, block 188161)
    Completely zero block found during dbv:
    Page 188162 is marked corrupt
    Corrupt block relative dba: 0x01c2df02 (file 7, block 188162)
    Completely zero block found during dbv:
    Page 188163 is marked corrupt
    Corrupt block relative dba: 0x01c2df03 (file 7, block 188163)
    Completely zero block found during dbv:
    Page 188164 is marked corrupt
    Corrupt block relative dba: 0x01c2df04 (file 7, block 188164)
    Completely zero block found during dbv:
    Any ideas why this is happening? I see a number of current bugs for ORA-00600: ktspgfb-1, but most knowledge base articles refer to 9.0.1 or 9.2.

    After upgrading to 10.2.0.3 and doubling the shared_pool_size and sga_target, I was able to upgrade to APEX 3.0 without errors.

  • Problem with EXPORT IMPORT PROCESS in ApEx 3.1

    Hi all:
    I'm having a problem with the EXPORT IMPORT PROCESS in ApEx 3.1
    When I export an application, and try to import it again. I get this error message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 16, column 28: PLS-00103: Encountered the symbol &amp;quot;牃慥整㈰㈯⼴〲㐰〠㨷㐵㈺′䵐&amp;quot; when expecting one of the following: ( - + case mod new not null &amp;lt;an identifier&amp;gt; &amp;lt;a double-quoted delimited-identifier&amp;gt; &amp;lt;a bind variable&amp;gt; avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp in
    As a workaround, I check the exported file and found this
    wwv_flow_api.create_flow
    p_documentation_banner=> '牃慥整⠤㈰㈯⼴〲㠰〠㨷㠵㈺′äµ
    And when I replace with this
    p_documentation_banner=> ' ',
    I can import the application without the error.
    somebody knows why I have to do this??
    Thank you all.
    Nicolas.

    Hi,
    This issue seems to have been around for a while:
    Re: Error importing file
    I've had similar issues and made manual changes to the file to get it to install correctly. In my case, I got:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.<br>ORA-02047: cannot join the distributed transaction in progress<br>begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||'''';end;There are several suggestions, if you follow that thread, about character sets or reviewing some of the line breaks within pl/sql code within your processes etc. Not sure what would work for you.

  • Apex 3.1.2.00.02 creates invalid export file (that gives ORA-20001 error)

    Hi
    I want to let you know, that sometimes APEX 3.1.2.00.0 creates invalid export file.
    Older apex 3.0 created correct file.
    For example: our application has page button, where "Optional URL Redirect" is:
    Page: &APP_PAGE_ID.
    Request: FLOW_XMLP_OUTPUT_R11531800061044170_et
    If we export application into file f110.sql and try to import it to the same workspace on the same server, we get error:
    {color:#0000ff}ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 28, column 111: PLS-00103: Encountered the symbol "_" when expecting one of the following: ) , * &amp; | = - + &lt; / &gt; at in is mod remainder not rem =&gt; .. &lt;an exponent (**)&gt; &lt;&gt; or != or ~= &gt;= &lt;= &lt;&gt; and or like LIKE2_ LIKE4_ LIKEC_ as between from using || multiset member SUBMULTISET_ The symbol &a
    {color}In exported f110.sql file the invalid section is:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R'||to_char({color}{color:#0000ff}{color:#ff0000}*10255206661122183_et*{color}+wwv_flow_api.g_id_offset)||':&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    If we exported the same application in apex 3.0, this section was correct:
    {color:#0000ff}wwv_flow_api.create_page_branch(
    p_id=&gt;11762805016890347 + wwv_flow_api.g_id_offset,
    p_flow_id=&gt; wwv_flow.g_flow_id,
    p_flow_step_id=&gt; 4,
    p_branch_action=&gt; 'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R*10255206661122183_et*:&DEBUG.:::',
    p_branch_point=&gt; 'AFTER_PROCESSING',
    p_branch_type=&gt; 'REDIRECT_URL',
    p_branch_when_button_id=&gt;11761415275883875+ wwv_flow_api.g_id_offset,
    p_branch_sequence=&gt; 10,
    p_branch_comment=&gt; 'Created 20-JUUNI-2008 12:05 by XXXX');{color}
    Best Regards,
    T&otilde;nu

    Thanks for pointing that out. We'll fix it. It does appear though, that in 3.0, the offset would not be added to the number part of the request value, so if you installed the application as a different application ID or into a different workspace, the request would have failed.
    Scott

Maybe you are looking for

  • Can I use different dbases with BC4J

    Hi All, I have been having a look at JDeveloper and in particular the Oracle Business Components for Java architecture and I was wondering how well.. 1. JDeveloper 2. the architecture itself performs when using a product other than Oracle as the data

  • Airport utility 5.6 install fail

    I have old airport expresses.  I am told my Airport utility does not support them, and I need version 5.6. When I found that, it failed at the end of the installation several times. Any ideas what to do?

  • ABAP RFC Function to merger table data?

    Hi All, Has anybody tried to merger that from multiple table in 1 table using ABAP RFC function module. I have to merger 3 table into 1 which I am not able to do using Combine or Union operater. One solution suggested in the below thread by Marcel wa

  • How do I install Photoshop Elements 11 on another computer

    In january I purchased and downloaded Adobe Photoshop 11.  Today I purchased a 'better' computer.  How do I get my photoshop program transferred over to my new computer?

  • How to correct purplish cast in old slides?

    What is the best technique to correct the purplish cast in old slides that have been scanned?