Upgrade to APEX 4.2: apex_application_install with multilanguage appl.

Hi all,
following problem appears:
(Application Express 4.2.1.00.08)
I developed an application (app id 100) with translations in three languages in the workspace "DEV".
In the application builder I see 1 application.
Then I export this application by application builder to file f100.
Then I reimport this script to the same workspace via script by
declare
l_workspace_id number;
begin
select workspace_id into l_workspace_id
from apex_workspaces
where workspace = 'DEV';
apex_application_install.set_workspace_id( l_workspace_id );
apex_application_install.set_application_id(100);
apex_application_install.generate_offset;
apex_application_install.set_schema( 'DEV' );
apex_application_install.set_application_alias( 'DEV_APP' );
end;
@../f100.sql
Now in the application builder I see 4 applications, the original one and the 3 translations.
If I repeat this procedure (exporting the original application 100 and reimporting it again, I get every time 3 applications in additional).
So after the second import I see 7 applications, after the third import I see 10 applications ....
What do I miss when importing the application via script?
Best regards,
Kirsten
Edited by: Kirsten on 05.04.2013 00:18

Anybody?

Similar Messages

  • Upgrading from Apex 3.2.1 (mod_plsql) to Apex 4.0 with Oracle Listener

    Hi,
    We have some applications developed in Apex 3.2.1 (which is mod_plsql) that have not been moved into Production yet. We are planning to upgrade to Apex 4.0 with Oracle Listener as soon as they are available (we don't want to turn on mod_plsql on any web server). What will be the migration process? Will my applications function and look the same when I open them in Apex 4.0? Will any functionality, formatting, etc. be lost?
    I heard that there is a Migration Assistant but there is not much information available.
    When Apex 4.0 and Oracle Listener will be released? Summer 2010?
    I would appreciate all the information that you have about this.
    Thanks,
    Violeta

    A new dedicated OTN Forum has been set up for the APEX Listener: ORDS, SODA & JSON in the Database
    Please use this forum for all future APEX Listener posts.
    Regards,
    David

  • Problem with Collections after Upgrade to Apex 4.02

    Hi,
    We are using oracle 10g with Apex 4.02.
    I installed Jari's application for data import from excel.
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:126300346812330
    It is working fine in our test environment but in production environment it is showing no data when I press the submit button. Am I missing some user privillege? Any help?
    Thanks,
    Zahid

    I have a HTML page with a browse file item. I select my csv file and press the upload button. The button submits the page and executes the following procedure.
    BEGIN
      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_rows_loaded     NUMBER;
       BEGIN
       -- Read data from wwv_flow_files</span>
           select blob_content into v_blob_data
           from wwv_flow_files
           where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER)
           and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
           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
           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
        -- Convert comma to : to use wwv_flow_utilities </span>
           v_line := REPLACE (v_line, ',', ':');
        -- Convert each column separated by : into array of data </span>
           v_data_array := wwv_flow_utilities.string_to_table (v_line);
        --DELETE OLD DATA
        -- Insert data into target table </span>
         IF v_sr_no >1 THEN
           EXECUTE IMMEDIATE 'INSERT INTO EMP(EMPNO, ENAME, SAL, COMM, DEPTNO)
           VALUES (:1, :2, :3, :4, :5)'
           USING
          -- v_sr_no,
           v_data_array(1),
           v_data_array(2),
           v_data_array(3),
           v_data_array(4),
           v_data_array(5);
         END IF;
          -- Clear out
           v_line := NULL;
           v_sr_no := v_sr_no + 1;
          END IF;
       END LOOP;
    END;
    COMMIT;
    END;Pressing button gives me "ORA-01403: no data found" error message. This has been working before we upgraded from Apex 3.2 to Apex 4.02.
    I hope that the above detail may give you better idea of the problem.
    Thanks.

  • Cannot login after upgrading to Apex 3.1.2

    I have installed the oracle-xe-10.2.1-1.0.i386.rpm onto a RedHat server using
    ]# rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm
    Then I configure the database
    ]# /etc/init.d/oracle-xe configure
    Then I enable remote access
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS (FALSE);
    This appears to work properly and I can log into the Apex page at http://server:8080/apex/apex_admin
    After this install I'm attempting to upgrade to Apex 3.1.2 and have attempted this several times. Each time, the result is that I can bring up the web page, but cannot authenticate. All that I see is "error on page" at the bottom left of the window. (IE6 or Firefox).
    To complete the upgrade I do the following.
    ]$ sqlplus /nolog
    SQL> @apexins SYSAUX SYSAUX TEMP /i/
    After the install runs the last few lines are
    Upgrade completed successfully no errors encountered.
    -- Upgrade is complete -----------------------------------------
    timing for: Upgrade
    Elapsed: 00:00:34.60
    ...End of install if runtime install
    ...create null.sql
    timing for: Development Installation
    Elapsed: 00:18:18.29
    not spooling currently
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 – Production
    I have then stopped and restarted the oracle-xe
    Then I have logged back in with sqlplus / as sysdba
    and run
    @apxxepwd.sql or @apxchpwd (different attempts at the install)
    After all of this appearing to run successfully, I cannot log into either the basic apex screen or the apex admin screen.
    When it has failed, I have uninstalled the RPM and deleted the remanant folder.
    Then re-installed from scratch.
    I'm new to oracle, and any assistance would be appreciated.

    Thank you for your reply. I get the followin errors while trying your suggestions.
    The password change appears to be successful.
    SQL> @apxldimg.sql /opt/oracle-instdir/apex
    PL/SQL procedure successfully completed.
    old 1: create directory APEX_IMAGES as '&1/apex/images'
    new 1: create directory APEX_IMAGES as '/opt/oracle-instdir/apex/apex/images'
    Directory created.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.03
    Directory dropped.
    SQL>

  • Popup screen not working after upgrade to APEX 3.0

    Hi,
    I have upgraded my APEX installation from version 1.6 to version 3. My application has some popup screens that are displayed when a user presses a button. These popups have now stop working and when you press them, the user is presented with the login page.
    I suspect this is because I am not passing the SESSION value in the URL when the page is displayed. The following code is the javascript that is called from one of the buttons :-
    function sa_popup2() {
    var field_value = document.getElementById("f22@0").value;
    if ( document.getElementById("f22@0").value != "" ) {
    var enqNo = document.getElementById("P17_ENQUIRY_NO") ? document.getElementById("P17_ENQUIRY_NO").value : -1;
    var enqLineNo = wwv_flow.f02[0].value;
    var str=document.getElementById("P17_PROCESS_CHRG_INCL").value;
    var outstring = str.replace(/%null%/,"");
    windowAddress = 'f?p=200:228:::::P228_CUS_ID,P228_ENQ_STATUS,P228_PROCESSING_CHRG,P228_ENQUIRY_NO,P228_ENQUIRY_LINE_NO:'+document.getElementById("P17_CUS_ID").value+','+document.getElementById("P17_ENQ_STATUS").value+','+outstring + ',' + enqNo + ',' + enqLineNo ;
    w = open(windowAddress,"winhelp","Scrollbars=1,resizable=1,width=500,height=350");
    You can see from the above that when the windowaddress variable is set it does not include the session value. In APEX 1.6 when the popup is displayed the SESSION is automatically populated in the URL, but in APEX 3 it is not populating.
    Is there a way I can get this to continue working without changing my javascript function. This approach has been used throughout my applications, and I do not want to have to change the code if I don't need to.
    Rgds
    Paul

    Hi Paul,
    Yes, as you suspect, it's the fact that you're not passing the session across. I would definitely recommend recoding to include the session.

  • Problem Upgrading to Apex 3.1 on XE

    I am running into a problem upgrading Apex to 3.1 on Oracle XE.
    Hardware and Software:
    Database: Oracle Database 10g Express Edition Release 10.2.0.1.0
    PL/SQL Web Toolkit Version: 10.1.2.0.4
    Host O/S: MS Windows XP Professional Version 2002 SP2
    Host Hardware: AMD Athlon 64 Processor, 2.2 GHz, 1.87 GB RAM
    Background:
    This is a lab host. I am working through the full installation process so that I can set up XE and Apex on development and production hosts, the end in mind being to develop a simple application using XE/Apex instead of Access 2003, which is used heavily in this shop.
    It seems to me that upgrading to Apex 3.1 would be a good thing to do up front instead of developing in the version which ships with XE (2.1, I believe) and performing the upgrade later.
    I installed XE going with full defaults. Nothing at all tricky. I was able to connect to http://localhost:8080/apex without any trouble and log in as system.
    I then followed these Apex upgrade instructions, very carefully:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    After I ran into trouble (see below), I reviewed this post and used it to double-check my work:
    How to upgrade to Apex 3.1
    I have worked through this a number of times, each time ending up with the same error.
    The Problem...
    After the upgrade, when I navigate to http://localhost:8080/apex, I receive the following error:
    wwv_flow.app_not_found_footer_err
    wwv_flow.err wwv_flow.app_not_found_err
    OK
    I reviewed this posting, which suggests that I upgrade my PL/SQL Web Toolkit:
    apex 3.0 error wwv_flow.app_not_found_footer_err after new installation
    I am perfectly willing to try this, but I am not sure how to obtain the latest correct version of the web toolkit for this particular version of the database. Any tips on where I might find this?
    I also note that the posting says there should be 10 SQL files in the apex/builder directory. I only have 5, but I just downloaded this zip file a few days ago and assume this is the correct number of files. If it isn't, where could I find the correct zip?
    Any other suggestions about the root cause of this issue would be appreciated.
    Thanks!

    Well, like Sherlock Holmes said, "when you have elminated the impossible, whatever remains, no matter how improbable, must be the truth." Or, something like that.
    Thanks Joel, it was the files. I examined the zip file I originally downloaded and, sure enough, there were 10 files. I extracted it again and, for some reason, this time it only pulled one of the SQL files out, not even five as it did the first time. In addition, it also skipped about half the language folders.
    To get it work, I used the windows built-in zip to open the file, navigated to the apex/builder folder, selected all of the SQL files and language folders, then copied and pasted them into c:\apex\builder.
    I then restored the database, ran the install again, and everything worked just fine: I can access http://localhost:8080/apex/apex_admin and log in.
    I'm not sure what the issue is, a problem with the zip file or (ok, more likely) a problem with the built-in windows zip tool. I used 7-zip (www.7-zip.org) to extract the file on my workstation and all 10 files and 9 language folders came out just fine.
    The bottom line is, it works now, thanks again for the help.
    -Tom
    PS - I did not install the web toolkit upgrade.

  • After upgrade to Apex 4.2.1, login to old workspace results in 404

    I have made an upgrade to Apex 4.2.1 from Apex 4.1 runtime.
    (Upgrade completed successfully no errors encountered.)
    I had an installed app which I cannot use now.
    Login to apex_admin is possible, so I've created developer users in the existing workspace.
    Developer users get
    404 - Not found error when logging in to the workspace, with
    http://mysrv:8080/apex/wwv_flow.acceptin the address line.
    It is apparent in the DB that the existing application has been copied to apex_040200 DB schema.
    Same error is displayed when navigating to the app's login page, say http://mysrv:8080/apex/f?p=123:1
    I use GlassFish Server Open Source Edition 3.1.1.
    After upgrading Apex Listener to 2.0.1 (from 1.1.3), nothing has changed except that
    404 appears in white over a blue background stripe.
    Under / Monitor Activity / Login Attempts, there are only Incorrect Password entries
    However, after creating a new WS, I can log into it.
    Is there a way to use to WS and APP created in the older Apex version 4.1 ?

    Under apex_admin, among all workspace requests, I first had to deselect status = 1,
    then my workspace has appeared in the list with status "-". After clicking on Adjust,
    status "Terminated" appeared, who knows why.
    Since I changed workspace status to Approved, login is working.
    Questions:
    1/ How comes that status "Terminated" was not shown on the existing workspaces list?
    2/ What leads to the Terminated status, while the app was reachable before upgrade to 4.2.1?
    While App builder is appearing nice, my app has lost its design.
    3/ Where are images looked up? Do I need to reference glassfish docroot/i in i.war for Apex Listener 2.0.1? (I referred to apex install dir as indicated in the installation manual)
    4/ My custom login page starts with this error. Even after I log out of the builder. Is this normal?
    Attempt to save item P101_LANGUAGE in session state during show processing.
    Item protection level indicates "Item may be set when accompanied by a &quot;session&quot; checksum.".
    No checksum was passed in or the checksum passed in would be suitable
    for an item with protection level "Item has no protection.".
    Note: End users get a different error message

  • Upgraded from APEX 3.1 to APEX 4.0.2, Interactive reports broken

    I just recently upgraded from APEX 3.1 to APEX 4.0.2.
    Am using IE 8.
    Now whenever I click on a column header in an interactive reports I get a javascript error:
    Message: Expected ')'
    Line: 1
    Char: 40984
    Code: 0
    URI: http://patchx:8080/i/javascript/apex_4_0.js
    Am at my wits end on this one.
    I can't see anybody else who has hit this error.
    The demo application works okay.
    I set up an interactive report with the same properties as the demo app, but i still get the error.
    Any clues?

    AHA, I just figured out what is making this happen.
    I have a custom authorization scheme which calls a PLSQL function.
    I had set the authorization scheme to "Once Per Page View".
    This was causing the error to happen, although I still don't know why.
    Unfortunately it is a problem because I need to authorize on each page.
    This is because my plsql function must allow the login page authorization so we can capture the username to check against permissions. So I autmatically return true on the login page. But that means anybody can get in, because that is the once per session authorization as specified.

  • Integration of APEX in OBIEE 11g fails after upgrade to APEX 4.2.1

    I used a document from the german APEX forum to integrate Oracle Business Intelligence 11g (OBIEE) with APEX.
    After login in OBIEE a APEX page will be called without login in APEX.
    The Document is called "APEX in Oracle Business Intelligence (Oracle BI) integrieren"
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/biee-apex/index.html
    In APEX 4.0 this worked great. After login in OBIEE I could call a APEX page without new login.
    But after upgrading to APEX 4.2.1 now the APEX login mask is displayed.
    OBIEE uses this function to create a APEX session and store the APEX session-id and username in the table apex_biee_session:
    -- Function GET_APEX_SESSION_ID
    -- sets up an APEX session for a BIEE user
    FUNCTION get_apex_session_id (p_username IN VARCHAR2,p_days_valid IN NUMBER DEFAULT 1) RETURN VARCHAR2
    IS
    pragma autonomous_transaction;
    l_session_id NUMBER;
    l_valid_to DATE;
    l_count NUMBER;
    l_password VARCHAR2(4000);
    BEGIN
    l_valid_to := SYSDATE + NVL(p_days_valid,1);
    -- Let us delete expired records:
    BEGIN
    DELETE FROM apex_biee_session
    WHERE valid_to < TRUNC(SYSDATE,'DD');
    COMMIT;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    -- get next APEX session id:
    l_session_id := apex_custom_auth.get_next_session_id;
    -- Insert the BIEE user and the APEX session id in table APEX_BIEE_SESSION
    INSERT INTO apex_biee_session (username, sessioN_id, valid_to)
    VALUES (UPPER(p_username),l_session_id,l_valid_to);
    COMMIT;
    -- define an APEX user session:
    apex_custom_auth.define_user_session(
    p_user => UPPER(p_username),
    p_session_id => l_session_id);
    htmldb_application.g_unrecoverable_error := TRUE; -- tell apex engine to quit
    RETURN l_session_id;
    EXCEPTION
    WHEN OTHERS THEN RETURN '-99';
    END get_apex_session_id;
    CREATE TABLE "APEX_BIEE_SESSION"
    (     "USERNAME"     VARCHAR2(60),
         "SESSION_ID"     NUMBER,
         "VALID_TO"     DATE,
         CONSTRAINT "APEX_BIEE_SESSION_PK" PRIMARY KEY ("USERNAME","SESSION_ID")
    In APEX this page sentry function is called:
    -- Function PAGE_SENTRY
    -- used as page sentry function in APEX applications
    FUNCTION page_sentry RETURN BOOLEAN
    IS
    l_current_sid NUMBER;
    l_biee_userid VARCHAR2(255);
    l_cookie owa_cookie.cookie;
    l_c_value VARCHAR2(255) := NULL;
    l_cookie_tom owa_cookie.cookie;
    l_c_value_tom VARCHAR2(255) := NULL;
    l_session_id NUMBER;
    l_biee_auth     VARCHAR2(1) := 'N';
    BEGIN
    BEGIN
    -- If normal APEX user authentication is used, cookie LOGIN_USERNAME_COOKIE will be used
    l_cookie_tom := owa_cookie.get('LOGIN_USERNAME_COOKIE');
    l_c_value_tom := l_cookie_tom.vals(1);
    l_biee_userid := UPPER(l_cookie_tom.vals(1));
    EXCEPTION
    WHEN OTHERS THEN NULL;
    END;
    l_session_id := apex_custom_auth.get_session_id; -- in APEX 4.2.1 this returns NULL
    -- Do we have a record in table APEX_BIEE_SESSION with the current session id
    BEGIN
    SELECT UPPER(username) INTO l_biee_userid
    FROM apex_biee_session
    WHERE session_id = l_session_id AND valid_to > SYSDATE;
    l_biee_auth := 'Y';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN l_biee_userid := 'Failed';
    END;
    IF l_biee_userid = 'Failed' THEN
    IF l_c_value_tom IS NULL THEN
    l_biee_userid := NULL;
    ELSE
    l_biee_userid := UPPER(l_c_value_tom);
    END IF;
    END IF;
    -- If l_biee_userid is NULL we need to call the APEX login page (done by RETURN FALSE)
    IF l_biee_userid IS NULL THEN
    RETURN FALSE;
    END IF;
    IF l_biee_auth = 'N' THEN
    l_current_sid := apex_custom_auth.get_session_id_from_cookie;
    ELSE
    l_current_sid := l_session_id;
    END IF;
    -- This is the built-in part of the session verification
    IF apex_custom_auth.is_session_valid THEN
    wwv_flow.g_instance := l_current_sid;
    IF apex_custom_auth.get_username IS NULL THEN
    apex_custom_auth.define_user_session(
    p_user => UPPER(l_biee_userid),
    p_session_id => l_current_sid);
    RETURN TRUE;
    ELSE
    IF UPPER(l_biee_userid) = UPPER(apex_custom_auth.get_username) THEN
    apex_custom_auth.define_user_session(
    p_user =>UPPER(l_biee_userid),
    p_session_id =>l_current_sid);
    RETURN TRUE;
    ELSE -- username mismatch. Unset the session cookie and redirect back here to take other branch
    apex_custom_auth.logout(
    p_this_app=>v('APP_ID'),
    p_next_app_page_sess=>v('APP_ID')||':'||nvl(v('APP_PAGE_ID'),0)||':'||l_current_sid);
    wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
    RETURN FALSE;
    END IF;
    END IF;
    ELSE -- application session cookie not valid; we need a new apex session
    IF l_biee_auth <> 'Y' THEN
    l_session_id := apex_custom_auth.get_next_session_id;
    END IF;
    apex_custom_auth.define_user_session(
    p_user => l_biee_userid,
    p_session_id => l_session_id);
    wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
    IF owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' THEN
    wwv_flow_custom_auth.remember_deep_link(
    p_url=>'f?'||wwv_flow_utilities.url_decode2(owa_util.get_cgi_env('QUERY_STRING')));
    ELSE
    wwv_flow_custom_auth.remember_deep_link(
    p_url=>'f?p='||
    TO_CHAR(wwv_flow.g_flow_id)||':'||
    TO_CHAR(nvl(wwv_flow.g_flow_step_id,0))||':'||
    TO_CHAR(wwv_flow.g_instance));
    END IF;
    apex_custom_auth.post_login( -- register session in htmldb sessions table, set cookie, redirect back
    p_uname => l_biee_userid,
    p_app_page => wwv_flow.g_flow_id||':'||nvl(wwv_flow.g_flow_step_id,0));
    RETURN FALSE;
    END IF;
    END page_sentry;
    The problem seems to be that in line "l_session_id := apex_custom_auth.get_session_id;" the call of apex_custom_auth.get_session_id is returning NULL in APEX 4.2.1.
    In APEX 4.0 the call of apex_custom_auth.get_session_id returned the APEX session id.
    What can I do to get this working again ?
    Kind Regards,
    Markus
    Edited by: asmodius1 on Jan 10, 2013 2:06 PM

    Hi,
    this integration relies on session fixation, that's an insecure practice which is not allowed anymore since 4.1:
    http://en.wikipedia.org/wiki/Session_fixation
    Since the cookie value for the session id is missing, Apex rejects the session id and sets it to null, before calling the sentry function.
    If you absolutely want to use this kind of integration, you will have to parse the value of owa_util.get_cgi_env('QUERY_STRING') in the sentry function to get the session id. To make it a bit more secure, the row in APEX_BIEE_SESSION should only be valid for a very short time (e.g. 1 sec). A person from Oracle Support contacted me about possible improvements to this authentication a few weeks ago. I replied with the following suggestions:
    I would at least add a Y/N flag (e.g. SESSION_JOINED_BY_APEX) to the
    APEX_BIEE_SESSION table. The page sentry should only accept the session
    without an accompanying cookie if the flag is still N. It has to set it
    to Y afterwards. This way, you ensure that the session joining without
    cookie can only be done once. Maybe there should also be an alternative
    way to log in to APEX, e.g. via page 101. Currently, this authentication
    only accepts session IDs that were generated via OBIEE.
    Users could log out of APEX or the APEX session could expire. Therefore,
    the APEX app should have a post logout procedure that deletes the row in
    the OBIEE session table. On the OBIEE side, APEX_SESSION_ID should
    therefore be initialized on each request. The initialization code should
    also check APEX_WORKSPACE_SESSIONS to make sure the session still
    exists.
    Regards,
    Christian

  • Upgrade to Apex 4.2 - apex.widget.tabular' is null or not an object

    After upgrading to Apex 4.2 the following error occurrs when loading a page that contains a Group Select List [Plug-in]:
    *'apex.widget.tabular' is null or not an object*
    The error message appears to be related to a Group Select List [Plug-in] item with the following assigned List of Values attributes(options):
    Display Null Value: Yes
    Null Display Value: -
    Null Return Value: NULL
    Note: The application requires a NULL option to be displayed in the list of values (display = '-', value = null). This works fine in Apex 4.1...
    Removing the above values does eliminate the error message. However entering any value into the Null Display Value and Null Return Value item attributes causes the error message to reappear.
    Is this a known Group Select List [Plug-in] issue/bug? Any ideas on how to work around this issue would be greatly appreciated.
    Thx

    Hi,
    http://apex.oracle.com/plugins contains an updated version of the Group Selectlist plug-in (v1.1) which should fix your problem. Just import it into your application and you should be done.
    Regards
    Patrick

  • Upgrade to Apex 4.1 results in  "Error processing SSO authentication"

    We recently upgraded our Apex environment to 4.1 from 4.0.2. In our previous environment we used SSO authentication. Some how in the new Apex 4.1 we can get to all our applications with the url https://test.home.org/pls/apex put any application which requires SSO authentication gives this message:
    Error processing SSO authentication.ORA-06550: line 2, column 1: PLS-00201: identifier 'WWSEC_SSO_ENABLER_PRIVATE.GENERATE_REDIRECT' must be declared ORA-06550: line 1, column 45: PL/SQL: Statement ignored
    Has anyone run into a similar issue? Any insights?
    Thanks.

    After upgrading to APEX release 4.1.0.00.32 we received the following errors when attempt to authenticate to an application setup to use "Oracle Application Server Single Sign-On" as the Scheme Type.
    Error message:
    Error processing SSO authentication.
    ORA-06550: line 2, column 1: PLS-00201: identifier 'WWSEC_SSO_ENABLER_PRIVATE' must be declared ORA-06550: line 1, column 45: PL/SQL: Statement ignored
    ORA-06550: line 2, column 1: PLS-00201: identifier 'WWSEC_SSO_ENABLER_PRIVATE.GENERATE_REDIRECT' must be declared ORA-06550: line 1, column 45: PL/SQL: Statement ignored
    This has been identified as BUG 12973090 - SSO WITH SPECIFIED PARTNER APPLICATION NAME FAILS WITH PLS-00201
    Workaround:
    The work around is to leave the “Partner Application Name” field blank in your authentication scheme. To do this go to: Application Builder > Your Application > Shared Components > Authentication Schemes > Click the Edit Icon on your authentication scheme that uses Single Sign-On > set the “Partner Application Name blank as follows > Apply Changes.
    Oracle support says development is currently working the issue and the bug will not be fixed until APEX release 4.1.1.
    Sean
    Edited by: Sean Harris on Nov 2, 2011 7:59 AM

  • Upgrade to APEX 4.2.1  in 11g XE

    Hi all.
    I tried to upgrade APEX to 4.2.1 in my recently 11g XE installation.
    Is default tablespace sysaux? Installation was fine AFAIK trying to follow the official installation guide, but broke my oracle installation once finished (ora error, no data) and a reinstallation was needed.
    I have 11g installed at default oraclexe folder.
    Regards.

    phaeus wrote:
    Hello,
    sysaux Tablespace is ok
    regards
    PeterOk, This is the second try without success.
    I'm following [this guide|http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#BABFICIA]
    @apexinst finishied with this code:
    Commit complete.
    PL/SQL procedure successfully completed.
    timing for: Install Internal Applications
    Elapsed: 00:14:16.96
    Thank you for installing Oracle Application Express.
    Oracle Application Express is installed in the APEX_040200 schema.
    The structure of the link to the Application Express administration services is
    as follows:
    http://host:port/pls/apex/apex_admin (Oracle HTTP Server with mod_plsql)
    http://host:port/apex/apex_admin (Oracle XML DB HTTP listener with the embed
    ded PL/SQL gateway)
    The structure of the link to the Application Express development interface is as
    follows:
    http://host:port/pls/apex (Oracle HTTP Server with mod_plsql)
    http://host:port/apex (Oracle XML DB HTTP listener with the embedded PL/SQL
    gateway)
    JOB_QUEUE_PROCESSES: 4
    PL/SQL procedure successfully completed.
    Session altered.
    Performing Application Express component validation - please wait...
    old 6: if '^UPGRADE' = '1' then
    new 6: if '2' = '1' then
    old 7: dbms_registry.loaded('APEX','^version');
    new 7: dbms_registry.loaded('APEX','4.2.1.00.08');
    old 8: elsif '^UPGRADE' = '2' then
    new 8: elsif '2' = '2' then
    old 10: dbms_registry.upgraded('APEX','^version');
    new 10: dbms_registry.upgraded('APEX','4.2.1.00.08');
    old 12: dbms_registry.loaded('APEX','^version');
    new 12: dbms_registry.loaded('APEX','4.2.1.00.08');
    Completing registration process. 17:31:34
    Validating installation. 17:31:34
    ...Database user "SYS", database schema "APEX_040200", user# "49" 17:31:34
    ...Compiled 0 out of 2994 objects considered, 0 failed compilation 17:31:35
    ...263 packages
    ...255 package bodies
    ...452 tables
    ...11 functions
    ...16 procedures
    ...3 sequences
    ...457 triggers
    ...1320 indexes
    ...207 views
    ...0 libraries
    ...6 types
    ...0 type bodies
    ...0 operators
    ...0 index types
    ...Begin key object existence check 17:31:35
    ...Completed key object existence check 17:31:35
    ...Setting DBMS Registry 17:31:35
    ...Setting DBMS Registry Complete 17:31:35
    ...Exiting validate 17:31:35
    PL/SQL procedure successfully completed.
    timing for: Validate Installation
    Elapsed: 00:00:00.54
    old 1: alter session set current_schema = ^APPUN
    new 1: alter session set current_schema = APEX_040200
    Session altered.
    timing for: Complete Installation
    Elapsed: 00:18:26.73
    PL/SQL procedure successfully completed.
    1 row selected.
    Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - Produ
    ction
    and @apxdlimg
    SQL> connect sys as SYSDBA
    Enter password:
    Connected.
    SQL> @apxldimg.sql SYSTEM_DRIVE:\TEMP
    PL/SQL procedure successfully completed.
    old 1: create directory APEX_IMAGES as '&1/apex/images'
    new 1: create directory APEX_IMAGES as 'SYSTEM_DRIVE:\TEMP/apex/images'
    Directory created.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:13.14
    Directory dropped.
    SQL>
    Now, I have an error trying to access to: http://localhost:8080/apex/f?p=4950
         Error     Error processing request.
    ORA-01403: no data found
    And http://localhost:8080/apex/apex_admin gives me a blank screen.
    Really, it's so hard to upgrade it?

  • Masked HTML tags in substitution strings after upgrade to Apex 2.2

    Hello,<br>
    <br>
    in my application developed with htmldb 2.0 I had the following scenario which worked fine until upgrade to 2.2:<br>
    <br>
    Requirement: a multiline text should be displayed as entered on a html report page.<br>
    My solution:<br>
    - a onload page process of the form <br>
    select replace(description,chr(10),'&lt;br&gt;') into :P1_DESCRIPTION from mytable where id = :P1_ID;<br>
    - and a page template containing <br>
    ...<br>
    <td>&P1_DESCRIPTION.</td><br>
    ...<br>
    <br>
    This worked in HTML DB 2.0.<br>
    <br>
    My problem: After upgrade to Apex 2.2 the report doesn't display the carriage returns anymore. Instead of interpreted BR tags I get masked BR tags printed as text:<br><br>
    <br>this is the first line&lt;br&gt;this is the second line<br><br>
    It's quite obvious that the substitution mechanism changed in Apex 2.2. Any ideas how to change my app ?

    Take a look at this thread:
    Computed Region TItles being Escaped in Apex 2.2
    You may have to change the type of your P1_DESCRIPTION item.

  • Missing information after upgraded to APEX 3.0 from APEX2.2

    Hi,
    I recently upgraded to APEX 3.0 from APEX2.2.
    I had some problem with the images not displaying properly,which was fixed later.
    But now my problem is when i try to navigate at the page Level of any application e.g
    (HOME>APPLICATION BUILDER>APPLICATION 110>PAGE 2) i am not able to see the page Definition. Nothing shows up under the headings of Page Rendering,Page Processing,Shared Components.
    Though i am able to create and run the application without any problems.
    Thanks in advance for your help.

    My guess is it has something to do with these errors in the Apache log:
    [Fri Sep 28 13:20:56 2007] [error] [client 198.239.171.30] [ecid: 1191010856:198.239.171.21:1120:2876:360,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/htlmdb/f
    [Fri Sep 28 13:21:48 2007] [error] [client 198.239.171.30] [ecid: 1191010908:198.239.171.21:1120:1296:357,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/htlmdb/f
    [Fri Sep 28 13:21:55 2007] [error] [client 198.239.171.30] [ecid: 1191010915:198.239.171.21:1120:1296:358,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/htlmdb
    [Fri Sep 28 13:22:43 2007] [error] [client 198.239.171.30] [ecid: 1191010963:198.239.171.21:1120:1536:375,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
    [Fri Sep 28 13:22:59 2007] [error] [client 198.239.171.30] [ecid: 1191010979:198.239.171.21:1120:3480:431,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
    [Fri Sep 28 13:23:04 2007] [error] [client 198.239.171.30] [ecid: 1191010984:198.239.171.21:1120:3480:433,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
    [Fri Sep 28 13:23:13 2007] [error] [client 198.239.171.30] [ecid: 1191010993:198.239.171.21:1120:3480:435,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
    [Fri Sep 28 13:35:02 2007] [error] [client 198.239.171.30] [ecid: 1191011702:198.239.171.21:1120:3532:333,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/apex/f
    [Fri Sep 28 13:35:08 2007] [error] [client 198.239.171.30] [ecid: 1191011708:198.239.171.21:1120:3532:334,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/apex/
    There were no errors on the install.
    Thanks,
    Susan

  • Missing information after upgrade to APEX 3.0.1

    Hi,
    I recently upgraded to APEX 3.0 from APEX2.2.
    I had some problem with the images not displaying properly,which was fixed later.
    But now my problem is when i try to navigate at the page Level of any application e.g
    (HOME>APPLICATION BUILDER>APPLICATION 110>PAGE 2) i am not able to see the page Definition. Nothing shows up under the headings of Page Rendering,Page Processing,Shared Components.
    Though i am able to create and run the application without any problems.
    Thanks in advance for your help.

    Post this thread in the APEX forum - the help there is awesome!
    Is this on a full database version or XE? If the latter, there is an XE forum too which requires registration.
    Phil

Maybe you are looking for