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
I have transferred  100 pieces from manufacturing plant to depot via Stock transfer Order. Excise invoice of 100 pieces is made. Due to some reason ,depot returns back 20 pieces to plant. how should i cancel the excise invoice for 20 nos. Plz help me [More]
Hoping someone can help me with this. I'm by no means proficient in Acrobat.  I have thousands of PDFs that are 1.4 that I need to convert to 1.8 and have user's be able to use the form fields and sign with Acrobat Reader 9. We interface with these p [More]
Hi, I have just bought a Goodmans GCE 7207i card stereo which has the ability to connect you Ipod and play you music library through the car stereo. However, on the box of the stereo, it says it is compatable with the Ipod min and 3rd and 4th generat [More]
Post Author: gjmoyer CA Forum: Administration On our Crystal Enterprise 10 server.  We are getting thousands of Warning messages logged to the Application event log from Crysal_webcompserver with description "Log message: NT Authorization Required.&q [More]
I have a really simple log in page for admin pages of a PHP website. Which for some reason when I key in the correct details for the user name (colin) and password I get this error: Unknown column 'creative' in 'where clause' So I have tried an even [More]
While design SCOM 2012 , what are important things to be noticed ? like Environment to be monitored , Budget , Network Bandwith , Application to be monitor ..etc Like this any other important things to be noticed. For SCOM Design, you can check below [More]
I am using Save As PDF because have to create CMYK PDF. I know how to do that. The issue now is that FrameMaker is sticking blue boxes around only *some* of the graphics. They are all EPS graphics imported by reference into anchored frames. These box [More]
Hi all, I have a task of rendering a PDF in the screen. Could anyone please help me out in this aspect. Is there a way for rendering PDF into a component in flex. Thanks, AMARThe Flash Player isn't capable of displaying a PDF. There are tricks you ca [More]
hello,       i   want   to  know   the   serial number  of  the  photoshop cs6?  can  you  tell   me?thank  you    very  muchFind your serial number quickly MyleniumRead other 2 answers [More]
is there any drag and drop option in TREE at runtime.If you try to do it with the normal "mouse held down during drag" functionality it is going to be difficult if not impossible to discover which node was being pointed at when the mouse-up occu [More]