Apex 5 on PDB Not working,. works fine on Root - ERR-7620 Could not determine workspace for application (4500)

Hello All,
I recently installed Oracle 12c and Apex 5 on a new server.
My apex 5 install went fine. I can access it without a problem on the root on it's default port 8080.
Afterwards, I created a new pdb (cloned from pdborcl) and created a new schema.
as sysdba, I  started a new Apex instance on port 8888, but when I  try to access it via http://ipaddress:8888/apex/ or http://ipaddress:8888/apex/apex_admin, I get an error (See images below)
Can someone please point me in the right direction.
Should I be doing a fresh apex 5 install on the PDB? I thought that if I installed as sysdba on the cdb, the pluggable DB's would inherit apex 5. Please help
ERR-7620 Could not determine workspace for application (4500)
ORA-01403: no data found
(NOT WORKING ON PDB)
(WORKING ON ROOT)

Hi John,
The issue you reported is the exact issue you will encounter if database patch 20618595 is not applied prior to upgrading APEX to 5.0. In addition to the opatch apply step, did you also run $ORACLE_HOME/OPatch/datapatch? When you ran that, did you ensure all pluggable databases were open after starting the database back up by issuing alter pluggable database all open?
Finally, you indicated that you installed this on a new server. Is your main interest simply to have a new 12c CDB with APEX 5.0 in it? If so, you can do the following to avoid the issue you are currently encountering.
1) Create a new 12c CDB
2) Connect as SYS as SYSDBA to CDB$ROOT and run a 4.2.5 or later version of apxremov_con.sql. If the database you created in step 1 is 12.1.0.2, you can simply use $ORACLE_HOME/apex/apxremov_con.sql
3) Connect as SYS as SYSDBA to CDB$ROOT and run apexins.sql from the 5.0 source specifying the positional parameters as you normally would
Regards,
Jason

Similar Messages

  • APEX SSO and Load balancing: Could not determine workspace for application

    We had a single HTTP Server serving APEX in a 10.2.0.2 database configured with SSO to be used by the developers. APEX has been registered as a partner application and the login url has been CA Siteminder protected so that the SM_USER details are forwarded in the header for the application to use for authorization. Everything is fine so far.
    Now we have added a HTTP Server on another host and have it all set up for APEX and its pointing to the same database. APEX_ADMIN access works as normal, but applications previously using SSO now get the following error after entering the URL.
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7620 Could not determine workspace for application ().
    Using HTTP Watch I find that the application is not even trying to redirect to the login page.
    What is wrong here?

    APEX has been registered as a partner application as described in
    http://www.oracle.com/technology/products/database/application_express/howtos/sso_partner_app.html
    In the meantime I found metalink document 368746.1 which describes the cause of this problem. Please read carefully what I wrote, it all works when the the new APEX web server is turned off in the server farm on the load balancer and directed through the original web server. When running regapp.sql the hostname in the listener token was using the virtual hostname. This works fine if the request comes from the original APEX server which proofs that there is nothing wrong with the installation and set up of SSO. When directing the request to the new APEX web server the APEX_ADMIN page still works only existing work spaces using SSO don't seems to work anymore resulting in a error as described in the subject.
    As for metalink document 368746.1 naming the causes of this error:
    - there are no duplicate entries in WWSEC_ENABLER_CONFIG_INFO$
    -LISTENER_TOKEN clearly works for requests coming from the first web server
    -theoretically the web server listener port could be changed from 7777, but port 80 needs to be maintained here as production is mimiced as far down as possible.
    Is there some cache table which can be cleared? How is it that the flows schema (apex engine) can not find the work space when the request comes from a new web server which can however access the APEX_ADMIN pages.
    anyone?

  • APEX log in: ERR-7621 Could not determine workspace for application (:) on application accept.

    Hi All,
    APEX 4.0
    Sometimes, I am getting the below error when I tried to logging into APEX workspace (after giving workspace name, User name and password),
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error
    ERR-7621 Could not determine workspace for application (:) on application accept.
    I found some threads related to this but in different way not exactly when I am getting this error.
    After 2 or 3 times, this error will not come and I can able to logging into workspace.
    Can anyone tell me, What is the cause for this issue??
    Thanks
    Lakshmi

    Hi Lakshmi,
    Works sometimes and fails sometimes.  Hmm. Do you have a Webserver for your APEX that is accessible sometimes and not at other times? 
    I also had this same message.  I was trying to import an APEX application when I got it. Perhaps the cause is related althought the symptoms are different. 
    Please see: https://forums.oracle.com/message/11096438
    Good luck,
    Howard

  • Making app availabe externally (Error ERR-7620 Could not determine ...)

    For the past couple years we've been running 10g and htmldb/apex, but have only been concerned with LAN access. We now have a need to page an app available to the world, but are having trouble doing so. We've opened up 80 (and tried the default 7778 as well) on the firewall. From outside we can reach apache, but /pls/apex/f?p=xxx fails with the following:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7620 Could not determine workspace for application (401).
    I figure I must have missed something in the configuration, but I don't know what.
    Is there something not set in the default configuration for apex3 that prevents the /pls/apex path from not working for requests from outside? Or is it trying to use the internal hostname for something and thus not allowing it to be reachable?
    I saw the error listed in a number of threads but none of the cases seemed to be applicable..
    Any info would be great, thanks.

    Hi Chris,
    I had the same problem the other day too. Are you using an application alias name of the application id?
    Because you get that error message when the application id or alias name for the application doesn't exist on that APEX instance.
    Check also out if you haven't configured a wrong database in your DAD.conf, that would also explain why the application id might not work.
    Have you tried to go to the developer login page to run the application from the Oracle APEX Builder?
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Could not determine workspace for application... OWA_UTIL or REQUEST_CHARSE

    Hello,
    I have a problem with our production/test server running Oracle 10g and APEX 3.0.
    Sometimes, when I try to log into APEX I get that Could not determine workspace for application... error... After few page refreshes, it works.
    I had the same problem with my localhost (running Oracle 9g) and I solved it by updating OWA_UTIL to 10.1.2.0.6 from APEX 3.1 installation. I checked, and on production/test UWA_UTIL version is 10.1.2.0.0.
    Another difference is in settings is:
    Production/test:
    REQUEST_CHARSET EE8ISO8859P2
    REQUEST_IANA_CHARSET ISO-8859-2
    Localhost:
    REQUEST_CHARSET AL32UTF8
    REQUEST_IANA_CHARSET UTF-8
    What is actually causing my problems? If I would have to ask system administrator to do some changes, I would definitely like to ask him to fix all necesary things at once.
    Can any change affect something else besides APEX?
    Thanks a lot!
    Adam

    OK, so I asked our DBA to update even the DAD settings, however, sometimes the error pops up again.
    What is strange is that nobody except me ever complained about this and it only appears in InternetExplorer (I never got this error in Firefox). My charset settings in explorer is "Autodetect".
    So, I have definitely the correct version of OWA_UTIL and correct configuration of charset in DAD.
    Any ideas what else should I check?
    Thanks!

  • ERR-7620 Could not determine workspace

    Hola Todos,
    Estoy tratando de hacer un import de una aplicacion en una Base de Datos oracle 10g r2 ( SOLARIS ) y me sale este mensaje.
    ERR-7620 Could not determine workspace for application ().
    El export fue realizado en XE-WINDOWS.
    No se que hacer...por favor alguna ayudita...
    HGarcia

    Hi Hernando,
    I do not speak Spanish, so apologies but my reply will have to be in English...
    You may be getting this error because of the application alias you are using. I would recommend that you review the following threads on the Oracle APEX forum, as they relate to the same error you have received:
    Aliases ERR-7620
    Application alias bug or not??
    Error ERR-7620 Could not determine workspace for application ()
    Please let me know if the suggested solutions do not work for you.
    ¡Buena suerte!
    I hope this helps.
    Regards,
    Hilary

  • Error ERR-7620 Could not determine workspace for application (38935).

    Hello,
    I have an APEX application that has been fairly thoroughly tested on my local machine... I have now deployed onto the apex hosting service as I need to link to it from my website. However, one of the links in a report on the application has stopped working. I receive the following error:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error      ERR-7620 Could not determine workspace for application (38935).
    I've tried this on firefox and internet explorer, and I get the same error. The schema at the apex site is differently named compared to my local development environment, but otherwise I think the installations are identical.
    The application is at
    http://apex.oracle.com/pls/otn/f?p=38935
    Username is john.smith, password is danny1. Once you are logged in, click on either of the links in the 'Recent Proposals' region.
    All help gratefully received!
    Many thanks,
    Danny Layne

    Danny,
    I don't know why you get that message, probably when the engine is trying to redirect to an error page. I see that your login page has a number of after-submit processes that depend on :P101_USERNAME. These are placed after the clear process which would clear P101_USERNAME, so that's one problem. The other problem is that when you authenticate to your application as a different username from the username you use to authenticate to the development environment (the Builder, etc.), you may get a different session ID for the application that you are testing (using the Run links) as distinguished from the session you have in the Builder. This is explained in more detail here: Re: ERR-1002 on login after switching authentication to LDAP (2.2) The best place to put after-authentication logic is in the authentication scheme's post-authentication process. Just edit the authentication scheme and put your process code in there (or call a stored procedure). This process is guaranteed to run in the same session as that allocated to the user just authenticated.
    The final problem to mention with putting processes on the login page (after the login process) is that they continue to run even after the "login" process redirects to the after-login page. Even if everything runs in the same session, there is no guarantee that the after-login page and its on-load events will be executed after the after-login processes on the login page.
    Scott

  • Error ERR-7620 Could not determine workspace for application ().

    Hi,
    I am getting this message on oracle application express 4.0.2.
    [Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7620 Could not determine workspace for application (). 
    OK 
    Can anyone please tell me how to solve this error.
    Hoping a positive response.
    Ranjeet.

    Getting this message while doing what?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Error ERR-7621 Could not determine workspace for application (:) on applica

    Hello!,
    We have a simple template based report in apex, it has 2 tabs, each displays a very small, static table
    (about 30 records, 3 columns each). There is 1 user accessing apex, who is logged into the db server
    that has the apex app. We've tried several browsers, all same have behaviour as outlined below;
    When selecting either tab, we frequently get this error;
    "Error ERR-7621 Could not determine workspace for application (:) on application accept
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    OK."
    The user clicks "OK" and it takes them back to the tab they were viewing but not the one they selected
    OR sometimes it displays the wonderful, "Page Cannot Be Displayed" etc.. Refreshing browser either
    then displays the error message (above) or stays with "Page Cannot Be Displayed".
    The environment:
    Application Express 3.0.1.00.08 using PL/SQL gateway
    Oracle db 11.1.0.6
    Windows 2003 SP2
    Browsers IE(6,7,8), Chrome, FF
    Additionally APEX is very, very slow whether it errors or not and in any browser.
    Any ideas where to start troubleshooting? Thanks in advance, Donald

    Hi,
    Did you resolve the issue?
    Regards

  • Error ERR-7621 Could not determine workspace for application  (:) on.....

    I have developed an online test at apex.oracle.com, after the candidate logged in and took one question and submitted, the following error was displayed in the screen:
    Error ERR-7621 Could not determine workspace for application (:) on
    application accept.
    Expecting p_company or wwv_flow_company cookie to contain security group
    id of application owner
    I am not sure, what is the cause of this error. Can someone help me to resolve this?

    Hi Suzi,
    Have you got the fix for this error ?
    I have an application in 3.2, and when migrated to Apex 4.0 I get this error. The page has Anychart xml's. When I debug using firebug console, I see the AJAX processes executing successfully. I can clearly see the Headers / Post & Response from the AJAX call. But when I view the XML I see the below error:
    XML Parsing Error: not well-formed Location: moz-nullprincipal:{53b4be08-1c99-4d82-8936-a906246d86ad} Line Number 1, Column 6:
    <?XML VERSION = "1.0" ENCODING="UTF-8" STANDALONE = "YES"?>
    -----^I also see the not well formed XML message, and on clicking the URL I get the below error
    <table summary=""><tr><td><img src="/i/error.gif" border="0" /></td><td>Error</td><td>ERR-7620 Could not determine workspace for application ().</td></tr><tr><td></td><td></td><td>Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.</td></tr><tr><td></td><td></td><td></td></tr><tr><td><a href="javascript:window.history.go(-1)">OK</a></td><td><br /></td></tr></table><script type="text/javascript">
    <!--
    //-->
    </script>Not sure if this error is due to the corrupt XML or something related to Authentication. The Production application (which is in 3.2) has an SSO authentication. Currently, we are in the process of migrating to 4.0 and our SSO has not been configured yet. I have turned off the Authentication for now part of my testing in our Dev (which is 4.0).
    I made sure the Anychart libraries are setup similar to how we have in production, and they are using the same set of Anychart JS.
    Can someone please help ?
    Thanks!
    Chandu

  • ERR-7621 Could not determine workspace for application (:) on application..

    Hi.
    We have strange error starting appear in our application.
    ===========================================================
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept.
    ===========================================================
    It happens when we are tabbing through the pages...
    Any help will be highly appreciated.

    mishkar - there is something going wrong with your HTTP facilities somewhere. See my responses at Re: ERR-7621 Could not determine workspace for application (:).. and ERR-7621 Could not determine workspace for application () on application
    Also your phrase "when we are tabbing through the pages" is extremely vague.
    Scott

  • Error ERR-7620 Could not determine workspace for application (1).

    I am getting the following error message when using javascript with popup:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7620 Could not determine workspace for application (1).
    OK
    Code : URL : javascript:popUp2('f?p=&APP_ID.:16:&SESSION.:::16:P16_DBI_TYPE,P16_STATUS,P16_DBI_MANDATOR:SYBASE,NotScheduled,#LABEL#')

    Hello,
    You should upgrade all the way up to 2.0
    Carl

  • ERR-7621 Could not determine workspace for application (:)..

    Hi,
    Scott,
    can you please tell me what is being checked in the htmldb-engine that causes this error-message :
    "ERR-7621 Could not determine workspace for application (:) on application accept.
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner"
    I'm having this message on a wireless device. When the device comes out of standby-mode the browser asks to to retry the connection, with this error as a result. This only happens when data is POSTed, not when GETted. I am pretty sure this is a browser/network issue, but can you please tell me what the conditions are to make this error appear ?
    Thanks in advance,
    Maarten

    Ok, I figured out what's happening..
    When network is not yet available and data is being submitted, the browser asks to "retry or cancel" the operation. However, when retried only the last URL is sent, not postdata.
    As a result wwv_flow.accept is executed without the necessary parameters.
    So this is definitely a browser issue...
    Thanks for your time !
    Maarten

  • ERR-7621 Could not determine workspace for application (:) on application a

    We are running apex 2.2.1 on a RAC. While testing an app, we get http-500 in the browser. In error.log, we see
    --- errorlog ---
    [Mon Feb 26 11:48:34 2007] [warn] [client 172.17.2.17] read request line timed out
    [Mon Feb 26 12:34:10 2007] [warn] [client 172.17.2.17] read request line timed out
    [Mon Feb 26 14:17:41 2007] [error] [client 172.17.2.17] [ecid: 1172517461:172.17.2.100:634962:0:7084,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
    [Mon Feb 26 14:28:53 2007] [error] [client 172.17.2.17] [ecid: 1172518133:172.17.2.100:561300:0:6576,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
    [Mon Feb 26 14:32:41 2007] [error] [client 172.17.2.17] [ecid: 1172518361:172.17.2.100:561300:0:6580,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
    --- errorlog ---
    so, to test it out I set the LogLevel to debug and bounced the http server. Now I see following messages, but can't debug any further. Can someone help? See the highlighted pieces that point to error,
    --- error.log ---
    [Mon Feb 26 14:38:52 2007] [info] [client 172.17.2.17] [ecid: 1172518732:172.17.2.100:1134818:0:5,0] mod_plsql: [perf] /pls/htmldb/f status=200 user=HTMLDB_PUBLIC_USER reqTime=55ms connSU=(null),0ms c
    onnRO=(null),0ms connNSSO=HIT,0ms procTime=52ms sessionTidyTime=2ms cache=(null) cookie=(null),0ms pageCalls=0,0ms bytes=14088 describe=No,0ms streamTime=0ms pid=1150e2 sessFile=(null) userFile=724/23
    73 sysFile=251/8990 cacheLevel=(null) cacheTime=1ms dbProcTime=50ms spid=(null) qs=(null) requestTrace=(null) cookieLen=0 cookieValue=(null) reqUserTime=53ms assertUser=(null) subid=(null) authLevel=(
    null) oraError=0
    [Mon Feb 26 14:38:53 2007] [info] [client 172.17.2.17] [ecid: 1172518733:172.17.2.100:1204300:0:4,0] mod_plsql: Read error in ap_bread : errno is 0, retval is 0
    [Mon Feb 26 14:38:53 2007] [error] [client 172.17.2.17] [ecid: 1172518733:172.17.2.100:1204300:0:4,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
    [Mon Feb 26 14:38:53 2007] [info] [client 172.17.2.17] [ecid: 1172518733:172.17.2.100:1204300:0:4,0] mod_plsql: [perf] /pls/htmldb/wwv_flow.accept status=500 user=HTMLDB_PUBLIC_USER reqTime=4ms connSU
    =(null),0ms connRO=(null),0ms connNSSO=HIT,0ms procTime=0ms sessionTidyTime=0ms cache=(null) cookie=(null),0ms pageCalls=0,0ms bytes=0 describe=No,0ms streamTime=0ms pid=12604c sessFile=(null) userFil
    e=(null) sysFile=(null) cacheLevel=(null) cacheTime=0ms dbProcTime=0ms spid=(null) qs=(null) requestTrace=(null) cookieLen=0 cookieValue=(null) reqUserTime=4ms assertUser=(null) subid=(null) authLevel
    =(null) oraError=0
    --- error.log ---
    TIA
    Raj

    Raj,
    Are you running APEX on RAC successfully?
    How does it handle the session state in each instance?
    Do you use Load Balancing?
    BillC

  • ERR-7620 Could not determine workspace for application ().

    Hi,
    Has someone found a resolution for this error. I created a new app based on old app. I have created a new login page several times thinking the error was in the login page. It seems to happen alot when you copy old apps into new workspaces, but I don't know where the error s are occuring
    The second part of the error message is the following:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner
    Any help would be greatly appreciated!

    Wally - Can you install the application into your workspace on htmldb.oracle.com and reproduce the problem there? Also please describe exactly what you do to run the application (everything you do after you start the browser up to the point of failure, showing URLs, etc.).
    Scott

Maybe you are looking for

  • Calling PL/SQL procedure that returns boolean in java

    Hi All, Was not sure weather to post this on Java forum threads or PL/SQL forum threads. So posting at both locations. I have to call a PL/SQL procedure from java. This PL/SQL has IN/OUT parameters as well as return a Boolean value. The procedure def

  • Import error 7.3.4 to 8i urgent

    IMP-00017: following statement failed with ORACLE error 1861: "CREATE TABLE "HRM_EMPLOYEE "CONFIRM_DATE" DATE DEFAULT '1900-01-01' NOT NULL, "C" ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 532480 NE" "XT 516096 MINEXTENTS 1 MAXEXT

  • 2nd time in a month, my MBP has crashed

    Over Thanksgiving my then 3 month old 15' MBP was faced with a blue screen soon after installing Leopard. I took it to an Apple Store the next week and after 6 hours in the store, they fixed it. They had never seen the problem before and actually fou

  • GP60: After installing new NVIDIA driver, no brightness controls work now.

    Hey guys! I have a small problem I'm hoping someone might know how to fix. I just installed a new NVIDIA driver update (I'm now on build ) and now my brightness controls won't work. My computer is stuck in a very bright setting, and I don't know how

  • How can I add Time In Calendar

    How Can I add Time With Calendar In apps