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.

Similar Messages

  • Problems upgrading from Apex 221 to apex 30

    Hello, I've followed the procedure and didn't work with the following message
    ERROR a la línia 1:
    ORA-04063: package body "FLOWS_030000.WWV_FLOW_API" té errors
    ORA-06508: PL/SQL: no s'ha pogut trobar la unitat de programa que s'havia
    trucat: "FLOWS_030000.WWV_FLOW_API"
    ORA-06512: a line 4
    ERROR at line 1:
    ORA-04063: package body "FLOWS_030000.WWV_FLOW_API" has errors
    ORA-06508: PL/SQL: couldn't find program unit called : "FLOWS_030000.WWV_FLOW_API"
    ORA-06512: at line 4
    Any one could give me some hint on how to address this problem?
    Thank you!

    Forgot to tell it's a windows XP system and SHARED_POOL_SIZE='100M'.
    If I try to compile manually the views with compilation errors get compiled correctly but not the packages.
    Here the first error message in the log:
    grant execute on WWV_FLOW_VAL to flows_030000
    ERROR a la línia 1:
    ORA-04042: el procediment, funció, package o cos de package no existeix
    ...remove views created from previous APEX installations
    2nd
    grant select on obj$ to FLOWS_030000
    ERROR a la línia 1:
    ORA-00942: la taula o la vista no existeixen
    and then after creating all tables I get tones of errors:
    check (model_complete in (
    ERROR a la línia 14:
    ORA-01658: no s'ha pogut crear l'extensió INITIAL per al segment del tablespace
    APEX
    create index wwv_flow_models_sec_group_idx on wwv_flow_models (security_group_id)
    ERROR a la línia 1:
    ORA-00942: la taula o la vista no existeixen
    references wwv_flow_models (id)
    ERROR a la línia 6:
    ORA-00942: la taula o la vista no existeixen
    create index wwv_flow_model_pages_model_idx on wwv_flow_model_pages (model_id)
    ERROR a la línia 1:
    ORA-00942: la taula o la vista no existeixen
    create index wwv_flow_mp_parent_page_idx on wwv_flow_model_pages (parent_page_id)
    ERROR a la línia 1:
    ORA-00942: la taula o la vista no existeixen
    references wwv_flow_model_pages (id)
    ERROR a la línia 6:
    ORA-00942: la taula o la vista no existeixen
    create index wwv_flow_mpc_model_page_idx on wwv_flow_model_page_cols (model_page_id)
    ERROR a la línia 1:
    ORA-00942: la taula o la vista no existeixen
    Message was edited by:
    surikata

  • 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.

  • Problem upgrading 10g Express to Apex 3.1.2

    I have Oracle Database 10g Express Edition Release 10.2.0.1.0 installed on windows XP. I want to develop an application using oracle express (apex), so I thought it would be a good idea to upgrade apex (from the default apex 2.0 that came with 10g xe) to the latest, release 3.1,2 before starting. I have tried up to upgrade twice & it has failed. Without going into a ton of details, based on log errors that I saw each time, it looks like installation script, apexins.sql, expects the 1st param to be the default tablespace instead of the password. Any ideas about this?
    My other questions are:
    1) Prior to upgrading to rel 3.1.2, do I need to create the apex user/passwd FIRST? The doc did not say to create the account first.(so I didn't). It says apexins parameters are the followiing, but the log errors I got seem to disagree:
    @apexins <password> <tablespace_htmldb> <tablespace_files> <tablespace_temp>
    <images> <connect>
    2) Am I following the correct installation instructions for apex rel 3? From what I read, I believe I can go directly from apex rel 2.0 to 3.1.2. I found 2 different install docs for release 3 & they were different. Both docs said to run the change passwd script(apxchpwd) after installation, but one installation doc had 2 additional scripts (which I didn't run). Can someone please point me to the right install instructions?
    3) After searching I found an old apex 2.2 installaction tutorial that says you need to install HTTP prior to APEX. Apparently I misinterpreted the 3.1 install doc that said HTTP was already included in oracle 9.2 or higher. I assumed that I didn't need to install HTTP since oracle xe is rel 10. Now I think I need to install HTTP first from the companion CD BEFORE upgrading to APEX 3.1.2. Is this correct?
    3) It says that 85M is required in SYSTEM tablespace for apex 3. The system tablespace size is 76800 (default).
    Should I increase it before attempting to upgrade again? (I expected the default to be big enough since apex comes with the db)
    4)Any suggestions/tips for starting over are more than welcome! Again I saw > 1 doc on how to cleanup a bad installation. Both said to drop the flows_0300 user, but one said to exec wwv_flow_upgrade.switch_schemas, which I did before I did attempted the 2nd install. Am I supposed to run the switch_schemas or not to cleanup a bad install? Also, in the troubleshooting doc I did not see an option for calling switch_schemas for my apex release (2.1) so I just followed the examples and substituted 'FLOWS_020100'. for 'FLOWS_020200' parameter. Was that a good or bad idea?
    5) Is there any other software (i.e application, server?) that needs be to installed before or after apex 3.1.2? Anything else I missed? The documentation is not clear & has omissions.
    Thanks.

    Hi,
    I'm assuming that you're doing this on a Windows based machine and Apex 3.1.2 has already been downloaded from the Application Express webpage and will use port http 8080.
    NOTE: Make sure your Oracle Database XE does not automatically startup when Windows boots up. If that is the case, then kindly disconnect Oracle Database XE before proceeding with any of these steps.
    Step 1: Unzip Apex to a suitable location (preferable "c:\oraclexe\apex").
    Step 2: Start a SQL Plus session from c:\oraclexe\apex and login as a "sysdba".
    sqlplus / as sysdba
    Step 3: Install Apex.
    +@apexins SYSAUX SYSAUX TEMP /i/+
    Step 4: Reconnect Oracle Database XE.
    Step 5: Assign/Set images PATH for APEX in APEX_HOME folder where we have unzipped APEX i.e. c:\oraclexe.
    [email protected] APEX_HOME+
    Step 6: Assign/Set administrator credentials for/to APEX.
    [email protected] your_password+
    Step 7: Restart Oracle Database XE.
    Step 8: Apex configuration completed. Availability will be as follows:
    Apex availability: http://localhost:8080/apex
    Apex Administrator: http://localhost:8080/apex/apex_admin
    Follow these steps and let me know if this works for you or not.
    Regards,
    Naveed.

  • Form element id changed after upgrading from APEX 3.2.1 to 4.0.2

    Hi,
    We are in the process of testing an upgrade of our APEX 3.2.1 app to 4.0.2. The production database was exported, imported as a new database, and then upgraded to 4.0.2. I've noticed that on pages where we have coded our own PL/SQL process in place of the built-in MRU, the form element id (referenced using g_fxx) has changed. For example, in our existing production system, the id for the first row of data is f06_0001, but when we look at the same page in APEX 4.0 environment, the element id has changed to f08_0001. Is this a known issue when performing an upgrade? Has anyone else experienced this?

    Hi,
    I have seen this problem.
    I assume that Apex 4 do not give fxx name to items anymore in order where columns are in query.
    This is one of reasons why we have not been yet able to upgrade.
    And it seems this same problem exists in Apex 4.1 on apex.oracle.com
    Regards,
    Jari

  • 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

  • Issue in Upgrading Oracle APEX 2.1 to 3.1

    Hi,
    I have recently installed Oracle Database 10g Express Edition (Oracle Database XE) which includes Oracle Application Express (Oracle APEX) release 2.1
    I have upgraded from Oracle APEX 2.1 to 3.1 by following instructions in http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    Following is the sequence of steps I followed
    1. @apexins SYSAUX SYSAUX TEMP /i/
    2. @APEX_HOME/apex/apxldimg.sql APEX_HOME
    3. @APEX_HOME/apex/apxxepwd.sql password
    Now Oracle Database express home page changes to
    http://127.0.0.1:8080/apex/f?p=4550:1:723721796272276
    All gif logos are missing and font appears differently. More importantly nothing happens after entering workspace/username/password and clicking login button. I am using internet exlorer 7 and it says "Error on Page" on the bottom status bar.
    Please let me know if any one encounterd similar issue and if you were able to fix the issue.
    Thanks for your help
    RSNAIK

    Hello,
    For all of you who have the same problem that we had.
    After two installs and desinstall, I have finally found what to do.
    You must stop the OracleXETNSListener service when upgrading Oracle Database 10g Express Edition.
    Here the steps to follow assuming that you have installed Oracle Database 10g Express Edition into C:\oraclexe
    and unzipped apex_3.1.2 into C:\apex on a Windows XP System :
    1. On Windows XP, Startup Menu, go to the Configuration panel, open Administration Tools, open Services, then you will click on the OracleXETNSListener service, stop it.
    2. On Windows XP, Startup Menu, select Execute, type cmd and press OK to open a DOS window.
    3. At the DOS prompt, type cd apex.
    4. At the DOS prompt, type sqlplus /nolog
    5. At the SQL prompt, type connect SYS as SYSDBA
    6. Type the password of the user SYSTEM that you choose when installing Oracle XE.
    7. At the SQL prompt, type *@apexins SYSAUX SYSAUX TEMP /i/* (may take 15 minutes or more)
    8. At the DOS prompt, be sure to be in the apex directory (C:\apex) then type sqlplus /nolog
    9. At the SQL prompt, type connect SYS as SYSDBA
    10. Type the password of the user SYSTEM that you choose when installing Oracle XE.
    11. At the SQL prompt, type *@apxchpwd*
    12. Choose a password for ADMIN, type it then press Enter
    13. At the SQL prompt, type *@apxldimg* C:\ (you will perhaps obtain a message like an error but the upgrade works fine)
    14. At the SQL prompt, type *@apxxepwd* password (where password is the ADMIN password choosen at step 12)
    15. At the SQL prompt, type quit
    16. At the DOS prompt, type exit
    17. Then go to the OracleXETNSListener service and start it.
    To connect as ADMIN, type the url http://127.0.0.1:8080/apex/apex_admin
    username : ADMIN
    password : your admin password
    You will be able to create workspaces (schemas) and users
    Now you will be able to connect to APEX at http://127.0.0.1:8080/apex
    workspace : your login name (workspace created in apex_admin)
    username : your login name (user created in apex_admin)
    password : your password (password defined for the user in apex_admin)
    I hope that this steps will be clear for all of you.
    Thank you to user10570446 who have provided a clear step through. So that I'd take the time to clarified my solution to my type of configuration.
    I hope that RSNAIK has been able to make the upgrade to APEX 3.1.2.
    Good day to everyone
    Edited by: Practos on 2008-12-10 09:37

  • 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

  • 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

  • Upgrade to APEX 4.0

    Hello to everybody,
    i have a problem and i dont understand why. This problem is very popular but all solutions will not work or better i say i dont understand the solutions.
    I wanted to upgrade my apex to 4.0. At the moment i use Oracle 10g Express Edition with the apex 2.0.
    If i connect sys as sysdba with sqlplus this will work very well.
    If i now do "@apexins SYSAUX SYSAUX TEMP /i/" i became the following error:
    ORA-01034: ORACLE not available
    All solutions say that this is a problem with the ORACLE_SID and the environment variables. These are my values for them:
    export ORACLE_BASE=/usr/lib/oracle/xe/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/server
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_PATH=.:/ORACLE_BASE/product/10.2.0
    export ORACLE_SID=xe
    Did somebody see my failure? My last option was to create the initXE.ora in the dba folder. But this doesnt work.
    Greetz,
    bladepit

    Hello,
    if i do this the command sqlplus form the command line will not be found.
    Edit:
    If i set PATH to: $ORACLE_HOME/server/bin:$PATH then sqlplus will work but then i became the following error:
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    Greetz,
    bladepit
    Edited by: bladepit on Jul 4, 2010 11:29 AM

  • Importing a page giving errors after upgrade to APEX 4.2.3

    Good afternoon
    We upgraded from APEX 4.2.1.  Now we cannot import a page get error:
    Execution of the statement was unsuccessful. ORA-20001: Error creating page name="Dashboard" id="56" ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_STEP_UI_FK) violated - parent key not found
    Is there anybody that found a workaround?

    There is a patch that is available that fixes exactly this problem.. see this thread for more info
    Apex 4.2.2 via Apex Listener 2 - returns blank screen
    There is no other way to "fix it"

  • 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>

Maybe you are looking for