Sitemap

Amicuk Programming Answers

APEX Listener 2.0 - RESTful Services Failure with  404 - Not Found

2015-10-11   Views:35

Advertisement

Versions used: * APEX Listener 2.0.0.354.17.05 * Application Express 4.2.1.00.08 * Oracle Database 11.2.0.1 When testing the sample RESTful Service Module oracle.example.hr I always get 404 - Not Found page. I followed the documentation to install an

Versions used:
* APEX Listener 2.0.0.354.17.05
* Application Express 4.2.1.00.08
* Oracle Database 11.2.0.1
When testing the sample RESTful Service Module oracle.example.hr I always get 404 - Not Found page.
I followed the documentation to install and configure APEX 4.2 and the Listener 2.0. Everything in my APEX installation works fine except RESTful Services.
For example, when calling this RESTful Service:
http://company.com:45678/apex/DEV/xxuapex/hr/empinfo/
I get a 404 page.
The corresponding entry in url-mapping.xml is:
<pool base-path="/DEV" name="od01" workspace-id="xxuapex"/>
where xxuapex is the name of the schema as well as the workspace where the RESTful Service is installed.
Moreover, the corresponding od01.xml, od01_rt.xml and od01_al.xml in the conf directory seem correct.
Any help is greatly appreciated.
Thanks.
Eddie Awad.

The replay answer
Advertisement
Hi Eddie,
+> try the other option base-url of the url-mapping+
I did. No change. Still getting 404.When active it should transform the 404 page into a detailed 404 with a description of what the error is. Just to be sure, this is activated in the defaults.xml file of the APEX Listener as: *<entry key="log.logging">true</entry>*.
You should then see a detailed 404 output in your browser of what's going wrong first of all.
+> Could you post your url-mapping.xml file?+
<?xml version="1.0" encoding="UTF-8"?>
<pool-config xmlns="http://xmlns.oracle.com/apex/pool-config">
<pool base-path="/DEV" name="od01" workspace-id="xxuapex"/>
<pool base-path="/TEST" name="ot01" workspace-id="xxuapex"/>
</pool-config>
Despite using the url mapping script, it didn't map mine correctly and had to edit it manually. It was the use of "apex" that got it to work for me:
*<pool base-path="/" name="apex" workspace-id="workspace-name-here" updated="2013-01-09T20:48:59.75Z"/>*
Nick.

Go to See the other 8 answers

APEX Listener 2.0 - RESTful Services Failure with  404 - Not Found

Category:DefaultRelease time:2015-10-11Views:130

Versions used: * APEX Listener 2.0.0.354.17.05 * Application Express 4.2.1.00.08 * Oracle Database 11.2.0.1 When testing the sample RESTful Service Module oracle.example.hr I always get 404 - Not Found page. I followed the documentation to install an[More]

Apex listener 503 - Service Unavailable

Category:DefaultRelease time:2015-10-11Views:130

Hi, I installed APEX LIstener 2.0.5. This ist my file defaults.XML: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <comment>S[More]

Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7 (Apex Listener)

Category:DefaultRelease time:2015-10-11Views:130

Background 1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode) 2. Oracle Apex 4.2.1 3. Apex Listener 1.1.3 4. Apex and Apex Listener running on the Weblo[More]

How can I disable restful service only ?On Apex Listener

Category:DefaultRelease time:-0001-11-30Views:130

Hi,all:     For security reason,I want to disable restful data service in some of the apex listener server and enable application service only. How can I do that?Support give the solution: The way to disable restful services is NOT to configure AL an[More]

APEX LISTENER Install troubleshooting

Category:DefaultRelease time:2015-10-11Views:130

Hi, I need help.. :-) Default Database connection not configured properly What I have done:      ALTER USER APEX_LISTENER ACCOUNT UNLOCK;      ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK;      ALTER USER APEX_REST_PUBLIC_USER ACCOUNT UNLOCK;      conn[More]

APEX Listener with Free environment

Category:DefaultRelease time:2015-10-11Views:130

Hi, I was going through APEX Listener Installation guide and found that the supported installations are *1) with WebLogic* *2) Glassfish &* *3) OC4J* All of the above are associated with licensing cost. Is there any free installation scenario? As 11g[More]

Apex Listener : Servlet error

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have installed Apex Listener.1.0.2.238.15.24 on Oracle Containers for J2EE 10g standalone (10.1.3.1.1) I have got this error whn trying to cofgure listener and create connection to database 12/12/31 14:39:27.625 apex: Servlet error ava.lang.[More]

APEX Listener EA2 Standalone CLOB error

Category:DefaultRelease time:2015-10-11Views:130

I'm testing the APEX Listener EA2 release in Standalone mode on CentOS against Oracle XE. My RESTful service calls use the Media Resource type to return a CLOB that I format myself inside a function: select 'application/json', my_function_that_return[More]

Apex Listener return blank pages with no configuration errors!

Category:DefaultRelease time:2015-10-11Views:130

- I set up an Apex Listener "Version:1.1.3.243.11.40" at "10.0.114.11" in standalone mode. - I configured Apex Listener via http://10.0.114.11:8585/apex/listenerConfigure and return with no errors. - I get http://10.0.114.11:8585/apex/[More]

Apex Listener authentication.

Category:DefaultRelease time:2015-10-11Views:130

I want to use Apex Listener for my pl/sql web application (now I use mod_plsql). How can I implement authentication in order to protect pages from unauthorized use (like OWA_CUSTOM does in nod_plsql)? Tks TullioHi Udo and Tullio, I am testing the lis[More]

Apex Listener config recommendations

Category:DefaultRelease time:2015-10-11Views:130

Our DBA is installing Apex Listener 1.1.2.131.15.23 for the first time, and had a question regarding some setup. Right now it's just a stand alone copy. In the JDBC Settings, what are your recommendations for the following settings? Initial Pool Size[More]

Hot
Just let me know if you know how to fix this!!! I am in desperate help right now. It's been a month and still can't use it plus we are going out of town and was wanting to take it with us to use.If your iDevice is using a version of iOS lower than 5, [More]
Dear All, I am trying to create a PDF of the InDesign Document after my process. For that I load the preset file generate the PDF and unload Preset file from the server. On this it gets removed properly from the temporary folder also. Problem is when [More]
I have an older iPod Nano 4th Gen and an iTouch5. I have music on the nano that I want to put on the iTouch.  How do I do this? Can Someone Help?Launch iTunes on your computer. From the menu bar click Store / Authorize This Computer Connect the iPod. [More]
HI, I have used 'Hello' on 4 computers this week to trial it. For each of them the video is very dark. When I open AnyMeeting on the same computers the video output is might lighter. Can anyone tell me why this is and/or how to change the Hello setti [More]
I have a problem pertaining to excise. 1,  I have done GR  and have filled up all the excise related details.During GR RG 23 A PART I is updated. 2.Capture Excise invoice(J1IEX)During this step i  am posting vendor excise invoice with a rejection cod [More]
Hi folks, got a question regarding the Output determination.. In the outptut type i.e order confirmation and change order confirmation, it is showing the the base price condition type i.e PR00. But the client wants it to pick up the condition type ma [More]
Hi all, For those of you not already aware, the newly formed APEX SIG (Special Interests Group) has now announced the leadership and officer positions. The positions are as follows - President: Steve Howard Vice President: Dimitri Gielis Web Content [More]
Hello to all OBIEE people Im trying to set the colour 'RED' to a section of the graph when there is a negative variance compared to the previous value There are 6 values in the graph/chart and they are in this order: Revenue, Committed, HL, ONW, Adju [More]
I have a circle split into segments and a heptagon (7 sides) (see image). I need the center of the heptagon and circle to snap to the same point. i thought i could snap them both to a place on the grid but i cant seem to snap the centres of both obje [More]
Hi all I have to create a POM file in JDeveloper 11.1.1.5 for my ADF project using Maven plug in. I have downloaded the plug in and kept all things default in setting. Now when i create a Maven POM project from New--> Gallary-->Maven POM for Project [More]