Sql Script file (apex_epg_config.sql) is missing in Oracle Apex 20.2 - oracle

I have Oracle Apex 20.1 Installed on Oracle Linux 6.10 Server with Oracle Database 12.2. Recently I am trying to update into Apex 20.2 but this script file (apex_epg_config.sql) is missing in zip folder.
When I load the site then giving me this error:
There is a problem with your environment because the Application Express files are not up-to-date! The
files for version 20.1.0.00.13 have been loaded, but 20.2.0.00.20 is expected. Please verify that you
have copied the images directory to your application server as instructed in the Installation Guide.
How to solve this error?

The embedded PL/SQL Gateway (EPG) along with mod_plsql are no longer supported for Oracle APEX. This deprecation was announced in APEX 20.1.
Oracle REST Data Services (ORDS) is the only supported and documented Web listener for APEX. The configuration instructions are here. ORDS includes an embedded Web server, so in addition to being supported with Apache Tomcat and WebLogic Server, you can also run ORDS standalone.

I had the same problem after upgrading from APEX 18.2 to 20.2. I solved the problem by not executing this script. It seems that it isn't needed any longer. Update succeeded without running this script.
Attention: There is a pitfall: After upgrading you must clear your browser cache (only images). When I cleared the browser cache, the error message disappeared.

Related

Several error after transfer APEX Application between hosts with same apex version

I transferred a application from a host with apex 20.1 and Database 19.3 to another host with apex 20.1 and Database Xe 11g.
My application only use a schema that I transferred it completely with Data Pump.
1- After this transfer for each page that have intReport i see javaScript Error!
2- One of my page doesn't work, completely and show a error ( can see it here ). I Finded problem of this page that have a master detail structure!
I have a LIST ITEM in in detail intGrid. When i change it to TEXT ITEM page work correctly!!
Do you have similar problem after transfer application between hosts with same apex version?
Do you have any idea about this errors?
Oracle Database XE 11g is actually running database version 11.2.0.2.0. If you look at the section Oracle Database Requirements for APEX 20.1 you will see in the release notes:
Oracle Application Express release 20.1 requires an Oracle Database release 11.2.0.4 or later...
If you are looking to transfer your application to an XE environment, I would recommend using the latest version of the XE database which is version 18.4.0.0.0

Getting following error while running oracle oracle apex 20.2 application-Forbidden The requested operation is not allowed

Forbidden
The requested operation is not allowed
I have created new application and getting above error while running app on local server
Old Question, but this might help others:
Seems like the friendly URL feature introduced in APEX 20.1 is causing this issue. A workaround for me is just disabling that in the Application Definition Atrributes.
I had the same problem after upgrading from Oracle Apex 19.2 to Oracle Apex 20.2. I tried everything and nothing happened. I found this:
https://docs.oracle.com/en/database/oracle/application-express/20.1/htmrn/index.html#HTMRN-GUID-175AC460-3BCB-4871-A14C-5A232EDF8CAD
I'm not sure if this is the case, but I can't find any other explanation - in section 2.1.1 Oracle Database Requirement it is said that version 20.2 is compatible with database version 11.2.0.4 and above. Mine is 11.2.0.3. Probably doesn't work for that. Check your version of the database and share if you are below the required one to know if I guess correctly. If so, and you want APEX 20.2, you may need to update your database version first, if a possible.
I hope I helped.

Can the installation of Oracle APEX on LINUX be accomplished if Oracle DB resides on separate system?

Wonder if this can be achieved. Install Oracle APEX onto a Linux VM and have Oracle DB residing on a separate server to point to it. Is it possible to install Oracle APEX without Oracle currently installed on the same box? Can't find any documentation on the Oracle site for this setup.
No. Application Express (APEX) runs out of the database itself. APEX is a collection of PL/SQL packages and tables.
Now the web tier could most definitely be moved to another machine (linux even). That would be something like Oracle REST Data Services and Apache Tomcat.

How to run weblogic with two apex versions?

Running WebLogic 12.2.1.3.0 on RHEL 7.5.
In ./user_projects/applications/ApexDom there are two directories plsapex1 and plsapex2 with the associated war-files.
plsapex1 points to a database with APEX 18.2, plsapex 2 to a database with APEX 5.0.4
the apex resource files are in
./user_projects/domains/ApexDom/resources
/apex
/apex-5.0.4
Calling an application under /plsapex1 (18.2) works. Calling an application under /plsapex2 (5.0.4) shows the message: "The files for version 18.2.0.00.12 have been loaded, but 5.0.4.00.12 is expected"
Is it possible to run Weblogic with 2 APEX versions?

Replacing mod_plsql with Oracle Rest Data Services

We are in the process of upgrading an application running on Oracle 10g and oracle HTTP server to Oracle 12C.
Due to mod pl/sql being deprecated we have chosen following combination.
oracle 12c + ORDS 3.0 and tomcat. (we are not using APEX)
A major functionality of our application is uploading files via website to the documents table in the database schema.
While doing that we are getting error "500 Internal Server Error" which has been experienced by others on this link https://community.oracle.com/thread/3891751
If anyone has got a sucessfull file upload into Documents table via Oracle Rest Data Services config I would like to know.
As far as I could prove, it is not possible to upload files with ORDS without having APEX installed. You will have to install APEX even if you do not use it in your application.
You can try another gateway but most are deprecated, I have started to develop one in Java without APEX dependencies. When I have it ready I will publish it in github.
You might want to have a look at the latest ORDS release as explained my own question related to this topic:
File uploads in a non-Apex PL/SQL application migrated to ORDS

Resources