How to change apex-config.xml location
589721Oct 4 2010 — edited Mar 30 2011I'm trying to deploy multiple listeners for different db connections. I've followed the steps mentioned in other threads but haven't been able to get the configuration working where there are apex-config.xml files in different locations. I'm using APEX 4.0 with WLS 10.3.3.
My Steps:
1. Unpack apex.war
2. Remove the comments <!-- and --> that were around the init-param section
3. Modify the param-value for config.dir to a folder - something like /myfolder/db1/
4. Repack apex.war
5. Create the folder specified in #3 (i.e. /myfolder/db1)
6. Deploy apex.war in WLS
7. Use listenerAdmin to configure
8. Look for apex-config.xml. It has been created in /tmp/apex instead of /myfolder/db1.
I have also tried subsequently moving apex-config.xml from /tmp/apex to /myfolder/db1 and removing /tmp/apex completely. Then I am unable to access any of the apex pages including listenerAdmin.