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

Similar Messages

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

  • Popup LOV returns not found on this server after upgrading to APEX 3.2

    The Popup Key LOV (Displays description, returns key value) does not work after upgrading to APEX 3.2 from APEX 3.0.
    Don't now if the character set is relevant.
    The database character set on APEX 3.0 was:
    NLS_CHARACTERSET: WE8MSWIN1252
    DAD CHARACTERSET: WINDOWS-1252
    APEX 3.2:
    NLS_CHARACTERSET:     AL32UTF8
    DAD CHARACTERSET:     UTF-8
    When clicking on the popup the message is "The requested URL /pls/apex31mb/wwv_flow_utilities.gen_popup_list was not found on this server.".
    This error applies for both Firefox and IE.

    Can't reproduce the error on apex.oracle.com, the popup works fine.
    The only difference I notice on the environments is the database version (our: 10g, oracle.apex.com: 11g), but I can't see this have any influence.

  • 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

  • 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

  • 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

  • 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.2.3 apexins_con.sql gets: catconInit: database is not open Unexpected error encountered in catconInit; exiting

    Upgrade to APEX 4.2.3 apexins_con.sql gets Unexpected error encountered in catconInit; exiting
    I am attempting to install/upgrade apex 4.2.3 under Oracle12c in a Multi-Tenant configuration.
    Here are the environmental details
    Windows 7 64 bit
    Apex 4.2.3
    ORCL: CDB$ROOT
    PDBORCL: PDB$SEED
    Here is the current states of the pluggable databases
    SQL> SELECT NAME,OPEN_MODE,TOTAL_SIZE/1024/1024/1024 FROM V$PDBS;
    NAME                           OPEN_MODE  TOTAL_SIZE/1024/1024/1024
    PDB$SEED                       READ ONLY                 .263671875
    PDBORCL                        READ WRITE                .366210938
    SQL>
    This is the command that I am using to re-install/upgrade APEX:
    # remove 4.2.2 installation
    cd M:\apex_4.2.3\apex_4.2.3_en\apex
    sqlplus /@ORCL as sysdba
    @apxremov.sql   <<  this was successful
    quit
    Install 4.2.3 installation
    sqlplus /@ORCL as sysdba
    @apexins_con.sql i10wrk SYSAUX SYSAUX TEMP /i/  << this failed
    The APEX  installation fails immediately with the following message:
    catconInit: database is not open
    Unexpected error encountered in catconInit; exiting
    I cannot determine which database is not open.  Both my CDB$ROOT and PDBORCL are reported as open (READ WRITE Mode).
    Here is my Container database
    SQL>  SELECT SYS_CONTEXT ('USERENV', 'CON_NAME') FROM DUAL;
    SYS_CONTEXT('USERENV','CON_NAME')
    CDB$ROOT
    SQL> select instance_name,status from v$instance;
    INSTANCE_NAME    STATUS
    orcl             OPEN
    SQL>
    Here is the associated Pluggable Database
    sqlplus /@PDBORCL as sysdba
    SQL> select instance_name,status from v$instance;
    INSTANCE_NAME    STATUS
    orcl             OPEN
    SQL> ALTER PLUGGABLE DATABASE PDBORCL OPEN;
    ALTER PLUGGABLE DATABASE PDBORCL OPEN
    ERROR at line 1:
    ORA-65019: pluggable database PDBORCL already open
    I am confused…. Which database is not open?
    The PDB$SEED is open in (READ ONLY) mode, but that is simply the template database.  I don't think that ever needs to be open in (Read Write) mode.

    sbing52,
    I cannot vouch for the specific error that is being returned by catcon.pl, but I would try the following in your situation.
    1. It seems you connect to CDB$ROOT and ran apxremov.sql. This only removed the common APEX option from CDB$ROOT. Your PDB is now in an inconsistent state, since APEX is no longer in the root. I would reconnect to CDB$ROOT and run apxremov_con.sql, make sure you use the one from the 4.2.3 distribution. The one in the ORACLE home will not work.
    2. I would then re-run apexins_con.sql connect to CDB$ROOT. Also, you need to pass the proper parameters. Why are you passing i10wrk? You should be invoking it like:
    @apexins_con.sql SYSAUX SYSAUX TEMP /i/
    Regards,
    Jason

  • Minor bug upgrading from apex 3.1 to 4.1

    I have an application written by someone else in apex 3.1. When upgrading to apex 4.1 some pages failed to work. This was because for some reason there was a condition on a process which had a begin and end when the condition was of type: "NOT EXISTS (SQL qurey returns no rows".
    This was combines by the process being:
    begin
    null;
    end;
    Anyway I thought I might share obviously this was crap code but maybe the upgrade process should run better then that.

    Hi Ben,
    are you upgrading your existing machine or are you setting up a new environment with Oracle 11g and APEX 4.2? If that's the case you can use have a look at http://www.talkapex.com/2012/04/command-line-backups-for-apex.html which creates export scripts for all your workspaces and applications. Those export scripts can than easily be imported with SQL*Plus. Note: Please have a look at bug# 14777994 in our Known Issues list at http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-42-known-issues-1863578.html
    If you are upgrading your existing database, you don't have to export/import. When you upgrade APEX to 4.2 all your existing workspaces and applications will be upgraded to 4.2 as well.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for

  • Can't send mail from my new ipod touch

    Got a brandnew ipod touch 32gig and everything works fine except the sending of emails. I always get the error message "the connection to the outgoing server smtp.xxxx.ch failed". I have no problems to send emails from my computer with the identical

  • Using a Twido in Lookout

    Just wondering if anyone has found out how to use a Twido in Lookout using some other driver that support ethernet. We are using TWDLCAE40DRF.. and we are just trying to find away to controll it trhough lookout not really wanting to have to stick ano

  • NoShow FIOS Tech

    Twice I have had the FIOS tech scheduled to come out to my house and install FIOS in another room. TWICE he has not shown. The first time ( which I took vacation time off work for) the claim  was the order was not in the computer, even though I had a

  • Address Book Distribution List - Multi Selection

    In sending email to all members of a Smart Group, I need to send to more than one address per vCard (e.g. home AND work email, or his AND her address) But Edit Distribution List won't allow multiple selections. Is there a work around?

  • How to process Customer format parameters with Payment Medium Workbench

    Hi I have one bank transfer scenario PC00_M99_FPAYM requiring supplying a payment using the French format FR_ETEBAC_CRT_DOM but the execution date of the bank transfer should be replaced by the banku2019s value date. I planned to enter this required