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.