Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

URL mapping in Apex Listener 2.0.5

DoevelaarNov 5 2013 — edited Dec 4 2013

Hi all,
I'm trying to configure a standalone Apex listener in such a way so that I can use 2 URL's:

http://localhost:8888/apex/e1/f?p=103 => points to version 1 of my application

http://localhost:8888/apex/e2/f?p=106 => points to version 2 of my application

I'm configuring the Apex Listener via SQL Developer. I added 2 connections next to the existing 'apex' connection in the listener config: apex_e1 and apex_e2.

Then I added URL-mapping to the apex_e1 and apex_e2 connections. I used Request path mapping, with routing rule

/e1 and /e2. So the URLs for the applications look like:

http://localhost:8888/apex/e1/f?p=103

and

http://localhost:8888/apex/e2/f?p=106

In the pre-processing property of both connections, I want to run code to point the session to the correct edition (I'm using Edition Based Redefinition). I added pre-processing procedures to both database-connections in the listener, but they don't seem to run. I added logging in the procedures, and no logging is written. If I add the same call to the pre-processing of the GLOBAL config, it is executed.

Am I making some mistake in the URL mapping that results in no preprocessing being done?

Using Apex 4.2.2, SQL Developer 3.2.20.10 and Apex Listener 2.0.5 standalone.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2014
Added on Nov 5 2013
1 comment
1,713 views