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
This is a follow up discussion. My case number is 018397991. I was told (message signed "Sherin") to "try to install the product from Design Premium CS5". But I do not understand that instruction. What is "Design Premium CS5" [More]
Hello, I am performing a SAP Installation in HA Environment on Windows Server 2008. I am at the ASCS installation step. As per the guide before installing ASCS there are some activities to be carried out on Failover Cluster Management. I have done al [More]
Hi Team, I would like to create a System Alias between SAP Portal 7.4 and E Sourcing System 10.0. I would like to know during the creation of System Object which template i need to take (is it http System or R/3 System using Load Balancing). If it is [More]
We are writing a game for the android platform. During the course of the game, as more and more memory is used up, more characters and sprites are added to the screen, suddenly many of the sprites on the screen start to flicker. It only does this on [More]
Dear All, I have created a BO with a field using the Date as datatype. A set of AS and WS is generated to perform CRUD operation. The problem is the date format is not compatible when I pass the date from GP to the WS. The GP is using the java.util.D [More]
Hi Experts, I have a problem with configurable products in CRM 7.0. I defined a product like configurable setting the flag "Configurable Product" in material master data. Also, using the "Product Models" functionalities, I created a ve [More]
Hi All, This is not a burning problem, but have folks tried out the NXT toolkit with Vista?  I've installed Vista Business Edition under our MSDNAA license on a development machine to start slogging through compatability issues with our current suite [More]
I recently purchased the Dream Theater Systematic Chaos music. Along with it came two items, an interactive booklet and studio footage. When I sync my iPod the two items do not seem to be present (in fact, I get an error message about the interactive [More]
I'm trying to format it using `mkfs.ntfs /dev/sdb1`, the progress freezes after some seconds and dmesg starts to print a bunch of errors. Aparently at a certain point the device gets removed from the system (not listed in /dev anymore). Here is dmesg [More]
Starting to use a new application can be intimidating, especially one as sophisticated as Lightroom. Here is a handy list of resources to help you with your Lightroom workflow: Getting Started Tutorials 10 Things Beginners Want to Know (Video, 36:28) [More]