Sitemap

Amicuk Programming Answers

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

2015-10-11   Views:36

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]

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 need to change the default mail server to my yahoo account. When I had my PC this was easy but I cannot figgure it out on the MAC. I am in China and I need to inform my insurance company of some information or they are going to cancel a policy. Whe [More]
Dear, My iPhone 5 was not available these days after the 3G network,the ICON display 3G,but not working, Safari,App depend on network are all unavailable.i just try to switch on/off the 3G and Cellular buttons in Setting. after that it looks fine to [More]
I downloaded Reader X on my Windows XP and now when I open PDF files Reader is asking for a password. I've tried all known passwords I've used on Adobe and nothing works. Talked to an Adobe tech and he doesn't know why it's asking for a password to o [More]
please help i want to get my new phone working an the man in the shop toldd me to just folow the links...... but ther is no link???http://manuals.info.apple.com/en_US/iphone_user_guide.pdfRead other 2 answers [More]
FIRST QUESTION: alright. i'm not exactly sure what happened, so i will list all the possibilities. my ipod has been in my bag for... a while. it was in there with a few pens and pencils. i was downloading songs from the itunes store this morning and [More]
Hi, i hope i explain myself, please forgive me my lack of tech-language and if i'm redundant: In my office we got a G5 dual that we turn into a server (Mac OS Server 10.5.7) for a couple of websites (for external use). I need this guys to have FTP ac [More]
I have a huge problem, either with InDesign or Apple I am not sure. Basically when I bring my computer home from work every time I open InDesing it tries to connect to a server and I get this error message: the server XXX.local may not exist or is un [More]
I am trying to download Tunes64Setup.exe but my computer is not allowing at the moment and it is taking a very long time.  I want to know how I get my music off of my Ipod shuffle onto my new computer?The music sync is one way - computer tp ipod.  th [More]
Please advise why I get this pop-up message. After I get it and fill in the info, I get another pop-up message asking for the same info, which doesn't take. What's going on? My Safari version is 4.1 (4533.16) Enter your name and password to update th [More]
Is there a 'setserial' expert in the house? I've got a daughter board/card that has a bunch of I/O on it.  All devices work except the two serial ports.  I have 4 serial ports on the main board plus these two on the daughter board for a total of 6 se [More]