Last month I created a simple APEX application with enabled mobile support and latest version of jQuery, which integrates with HP Service Manager through web services. The purpose was to give option for company engineers to open and update incidents through mobile in few easy steps.
The first step was to create form and report by using the web service. At this point web service request process is created where authentication and input parameter are described. The problem appears if you try to change any parameter and update the web service process. This is the error:
Error error updating web service parameters ORA-01403: no data found
To fix this, one option is to apply patch 12934733 on top of APEX 4.1. The other option is to apply latest patch set for APEX version 4.1.1, patch number 13331096.
At the time I got the error patch set wasn't released yet and I went with the patch only to fix this issue. Later I've decided to update the APEX to latest version 4.1.1 and I'll review the update process at glance.
To upgrade to APEX 4.1.1 make sure first to review the release notes here. The process is really simple and takes few minutes.
Before applying the patch make sure to prevent access to the APEX. In my case I'm using Oracle Database 11g Express Edition and I'm using Embedded PL/SQL gateway. Then apply the patch using apxpatch.sql and update the images directory. Because I'm using Express Edition, my images are stored in the XML DB repository and script apxldimg.sql has to be used to upload the new images within the repository.
Disabling Oracle XML DB HTTP Server:
QL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL; GETHTTPPORT ----------- 0 SQL> EXEC DBMS_XDB.SETHTTPPORT(0); PL/SQL procedure successfully completed. SQL> COMMIT; Commit complete. SQL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL; GETHTTPPORT ----------- 0
Run apxpatch.sql to patch the system:
SQL> @apxpatch.sql ....... timing for: Complete Patch Elapsed: 00:06:25.48
Updating the Images Directory When Running the Embedded PL/SQL Gateway:
@apxldimg.sql /tmp/patch ....... Commit complete. timing for: Load Images Elapsed: 00:04:12.56 Directory dropped.
Enabling Oracle XML DB HTTP Server:
SQL> EXEC DBMS_XDB.SETHTTPPORT(8080); PL/SQL procedure successfully completed. SQL> COMMIT; Commit complete.
APEX is now updated to version 4.1.1